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
- Version:
- $Revision: 1.2 $
- Author:
- Ross Mason
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 transient Log logger
- logger used by this class
HttpBasicAuthenticationFilter
public HttpBasicAuthenticationFilter()
HttpBasicAuthenticationFilter
public HttpBasicAuthenticationFilter(java.lang.String realm)
doInitialise
public void doInitialise()
throws InitialisationException
- Specified by:
doInitialise
in class AbstractEndpointSecurityFilter
- Throws:
InitialisationException
getRealm
public java.lang.String getRealm()
setRealm
public void setRealm(java.lang.String realm)
isRealmRequired
public boolean isRealmRequired()
setRealmRequired
public void setRealmRequired(boolean realmRequired)
authenticateInbound
public void authenticateInbound(UMOEvent event)
throws UMOSecurityException
- 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:
UMOSecurityException
- if authentication fails
setUnauthenticated
protected void setUnauthenticated(UMOEvent event)
authenticateOutbound
public void authenticateOutbound(UMOEvent event)
throws UMOSecurityException
- 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:
UMOSecurityException
- if authentication fails
Copyright © 2003-2005 SymphonySoft Limited. All Rights Reserved.