org.mule.extras.acegi.filters.http
Class HttpBasicAuthenticationFilter
java.lang.Object
org.mule.impl.security.AbstractEndpointSecurityFilter
org.mule.extras.acegi.filters.http.HttpBasicAuthenticationFilter
- All Implemented Interfaces:
- Initialisable, UMOEndpointSecurityFilter
- public class HttpBasicAuthenticationFilter
- extends AbstractEndpointSecurityFilter
HttpBasicAuthenticationFilter TODO
|
Field Summary |
protected static Log |
logger
logger used by this class |
| Methods inherited from class org.mule.impl.security.AbstractEndpointSecurityFilter |
authenticate, getCredentialsAccessor, getEndpoint, getSecurityManager, getSecurityProviders, initialise, isAuthenticate, setAuthenticate, setCredentialsAccessor, setEndpoint, setSecurityManager, setSecurityProviders |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected static Log logger
- logger used by this class
HttpBasicAuthenticationFilter
public HttpBasicAuthenticationFilter()
HttpBasicAuthenticationFilter
public HttpBasicAuthenticationFilter(String realm)
doInitialise
public void doInitialise()
throws InitialisationException
- Specified by:
doInitialise in class AbstractEndpointSecurityFilter
- Throws:
InitialisationException
getRealm
public String getRealm()
setRealm
public void setRealm(String realm)
isRealmRequired
public boolean isRealmRequired()
setRealmRequired
public void setRealmRequired(boolean realmRequired)
authenticateInbound
public void authenticateInbound(UMOEvent event)
throws SecurityException,
SecurityProviderNotFoundException,
UnknownAuthenticationTypeException
- Authenticates the current message if authenticate is set to true. This method
will always populate the secure context in the session
- Specified by:
authenticateInbound in class AbstractEndpointSecurityFilter
- Parameters:
event - the current message recieved
- Throws:
SecurityException - if authentication fails
SecurityProviderNotFoundException
UnknownAuthenticationTypeException
setUnauthenticated
protected void setUnauthenticated(UMOEvent event)
authenticateOutbound
public void authenticateOutbound(UMOEvent event)
throws SecurityException,
SecurityProviderNotFoundException
- Authenticates the current message if authenticate is set to true. This method
will always populate the secure context in the session
- Specified by:
authenticateOutbound in class AbstractEndpointSecurityFilter
- Parameters:
event - the current event being dispatched
- Throws:
SecurityException - if authentication fails
SecurityProviderNotFoundException
Copyright © 2003-2006 MuleSource Inc.. All Rights Reserved.