org.mule.extras.acegi
Class AcegiProviderAdapter
java.lang.Object
org.mule.extras.acegi.AcegiProviderAdapter
- All Implemented Interfaces:
- Initialisable, UMOSecurityProvider
- public class AcegiProviderAdapter
- extends java.lang.Object
- implements UMOSecurityProvider
AcegiProviderAdapter
is a wrapper for an Acegi Security provider to
use with the UMOSecurityManager
- Version:
- $Revision: 1.6 $
- Author:
- Ross Mason
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AcegiProviderAdapter
public AcegiProviderAdapter()
AcegiProviderAdapter
public AcegiProviderAdapter(AuthenticationProvider delegate)
AcegiProviderAdapter
public AcegiProviderAdapter(AuthenticationProvider delegate,
java.lang.String name)
initialise
public 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
setName
public void setName(java.lang.String name)
- Specified by:
setName
in interface UMOSecurityProvider
getName
public java.lang.String getName()
- Specified by:
getName
in interface UMOSecurityProvider
authenticate
public UMOAuthentication authenticate(UMOAuthentication authentication)
throws SecurityException
- Specified by:
authenticate
in interface UMOSecurityProvider
- Throws:
SecurityException
supports
public boolean supports(java.lang.Class aClass)
- Specified by:
supports
in interface UMOSecurityProvider
getDelegate
public AuthenticationProvider getDelegate()
setDelegate
public void setDelegate(AuthenticationProvider delegate)
createSecurityContext
public UMOSecurityContext createSecurityContext(UMOAuthentication auth)
throws UnknownAuthenticationTypeException
- Specified by:
createSecurityContext
in interface UMOSecurityProvider
- Throws:
UnknownAuthenticationTypeException
Copyright © 2003-2005 SymphonySoft Limited. All Rights Reserved.