org.mule.impl.security
Class AbstractEndpointSecurityFilter
java.lang.Object
org.mule.impl.security.AbstractEndpointSecurityFilter
- All Implemented Interfaces:
- Initialisable, UMOEndpointSecurityFilter
- Direct Known Subclasses:
- HttpBasicAuthenticationFilter, MuleEncryptionEndpointSecurityFilter, PGPSecurityFilter
- public abstract class AbstractEndpointSecurityFilter
- extends Object
- implements UMOEndpointSecurityFilter
AbstractEndpointSecurityFilter provides basic initialisation for
all security filters, namely configuring the SecurityManager for this instance
- Version:
- $Revision: 3798 $
- Author:
- Ross Mason
|
Field Summary |
protected Log |
logger
logger used by this class |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected transient Log logger
- logger used by this class
AbstractEndpointSecurityFilter
public AbstractEndpointSecurityFilter()
initialise
public final void initialise()
throws InitialisationException
- Description copied from interface:
Initialisable
- Method used to perform any initialisation work. If a fatal error occurs during
initialisation an
InitialisationException should be thrown,
causing the Mule instance to shutdown. If the error is recoverable, say by
retrying to connect, a RecoverableException should be thrown.
There is no guarantee that by throwing a Recoverable exception that the Mule
instance will not shut down.
- Specified by:
initialise in interface Initialisable
- Throws:
InitialisationException - if a fatal error occurs causing the Mule
instance to shutdown
isAuthenticate
public boolean isAuthenticate()
setAuthenticate
public void setAuthenticate(boolean authenticate)
setSecurityManager
public void setSecurityManager(UMOSecurityManager manager)
- Specified by:
setSecurityManager in interface UMOEndpointSecurityFilter
- Parameters:
manager -
getSecurityManager
public UMOSecurityManager getSecurityManager()
- Specified by:
getSecurityManager in interface UMOEndpointSecurityFilter
getSecurityProviders
public String getSecurityProviders()
- Specified by:
getSecurityProviders in interface UMOEndpointSecurityFilter
setSecurityProviders
public void setSecurityProviders(String providers)
- Specified by:
setSecurityProviders in interface UMOEndpointSecurityFilter
getEndpoint
public UMOImmutableEndpoint getEndpoint()
- Specified by:
getEndpoint in interface UMOEndpointSecurityFilter
setEndpoint
public void setEndpoint(UMOImmutableEndpoint endpoint)
- Specified by:
setEndpoint in interface UMOEndpointSecurityFilter
authenticate
public void authenticate(UMOEvent event)
throws SecurityException,
UnknownAuthenticationTypeException,
CryptoFailureException,
SecurityProviderNotFoundException,
EncryptionStrategyNotFoundException
- Specified by:
authenticate in interface UMOEndpointSecurityFilter
- Throws:
SecurityException
UnknownAuthenticationTypeException
CryptoFailureException
SecurityProviderNotFoundException
EncryptionStrategyNotFoundException
getCredentialsAccessor
public UMOCredentialsAccessor getCredentialsAccessor()
- Specified by:
getCredentialsAccessor in interface UMOEndpointSecurityFilter
setCredentialsAccessor
public void setCredentialsAccessor(UMOCredentialsAccessor credentialsAccessor)
- Specified by:
setCredentialsAccessor in interface UMOEndpointSecurityFilter
authenticateInbound
protected abstract void authenticateInbound(UMOEvent event)
throws SecurityException,
CryptoFailureException,
SecurityProviderNotFoundException,
EncryptionStrategyNotFoundException,
UnknownAuthenticationTypeException
- Throws:
SecurityException
CryptoFailureException
SecurityProviderNotFoundException
EncryptionStrategyNotFoundException
UnknownAuthenticationTypeException
authenticateOutbound
protected abstract void authenticateOutbound(UMOEvent event)
throws SecurityException,
SecurityProviderNotFoundException,
CryptoFailureException
- Throws:
SecurityException
SecurityProviderNotFoundException
CryptoFailureException
doInitialise
protected abstract void doInitialise()
throws InitialisationException
- Throws:
InitialisationException
Copyright © 2003-2006 MuleSource Inc.. All Rights Reserved.