org.mule.impl.security
Class MuleSecurityManager
java.lang.Object
org.mule.impl.security.MuleSecurityManager
- All Implemented Interfaces:
- Initialisable, UMOSecurityManager
- public class MuleSecurityManager
- extends java.lang.Object
- implements UMOSecurityManager
MuleSecurityManager
is a default implementation security manager
for a Mule instance
- Version:
- $Revision: 1.4 $
- Author:
- Ross Mason
Field Summary |
protected static 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 static transient Log logger
- logger used by this class
MuleSecurityManager
public MuleSecurityManager()
initialise
public void initialise()
throws InitialisationException,
RecoverableException
- 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
RecoverableException
- if an error occurs that can be recovered from
authenticate
public UMOAuthentication authenticate(UMOAuthentication authentication)
throws SecurityException,
SecurityProviderNotFoundException
- Specified by:
authenticate
in interface UMOSecurityManager
- Throws:
SecurityException
SecurityProviderNotFoundException
addProvider
public void addProvider(UMOSecurityProvider provider)
- Specified by:
addProvider
in interface UMOSecurityManager
getProvider
public UMOSecurityProvider getProvider(java.lang.String name)
- Specified by:
getProvider
in interface UMOSecurityManager
removeProvider
public UMOSecurityProvider removeProvider(java.lang.String name)
- Specified by:
removeProvider
in interface UMOSecurityManager
getProviders
public java.util.List getProviders()
- Specified by:
getProviders
in interface UMOSecurityManager
setProviders
public void setProviders(java.util.List providers)
- Specified by:
setProviders
in interface UMOSecurityManager
createSecurityContext
public UMOSecurityContext createSecurityContext(UMOAuthentication authentication)
throws UnknownAuthenticationTypeException
- Specified by:
createSecurityContext
in interface UMOSecurityManager
- Throws:
UnknownAuthenticationTypeException
getEncryptionStrategy
public UMOEncryptionStrategy getEncryptionStrategy(java.lang.String name)
- Specified by:
getEncryptionStrategy
in interface UMOSecurityManager
addEncryptionStrategy
public void addEncryptionStrategy(java.lang.String name,
UMOEncryptionStrategy strategy)
- Specified by:
addEncryptionStrategy
in interface UMOSecurityManager
removeEncryptionStrategy
public UMOEncryptionStrategy removeEncryptionStrategy(java.lang.String name)
- Specified by:
removeEncryptionStrategy
in interface UMOSecurityManager
setEncryptionStrategies
public void setEncryptionStrategies(java.util.Map strategies)
Copyright © 2003-2005 SymphonySoft Limited. All Rights Reserved.