org.mule.module.spring.security
Class SpringProviderAdapter
java.lang.Object
org.mule.security.AbstractSecurityProvider
org.mule.module.spring.security.SpringProviderAdapter
- All Implemented Interfaces:
- Initialisable, NameableObject, NamedObject, SecurityProvider, org.springframework.security.authentication.AuthenticationProvider
public class SpringProviderAdapter
- extends AbstractSecurityProvider
- implements org.springframework.security.authentication.AuthenticationProvider
SpringProviderAdapter
is a wrapper for a Spring Security provider to
use with the SecurityManager
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.springframework.security.authentication.AuthenticationProvider |
supports |
SpringProviderAdapter
public SpringProviderAdapter()
- For Spring IoC only
SpringProviderAdapter
public SpringProviderAdapter(org.springframework.security.authentication.AuthenticationManager delegate)
SpringProviderAdapter
public SpringProviderAdapter(org.springframework.security.authentication.AuthenticationManager delegate,
String name)
doInitialise
protected void doInitialise()
throws InitialisationException
- Overrides:
doInitialise
in class AbstractSecurityProvider
- Throws:
InitialisationException
authenticate
public Authentication authenticate(Authentication authentication)
throws SecurityException
- Specified by:
authenticate
in interface SecurityProvider
- Throws:
SecurityException
authenticate
public org.springframework.security.core.Authentication authenticate(org.springframework.security.core.Authentication authentication)
throws org.springframework.security.core.AuthenticationException
- Specified by:
authenticate
in interface org.springframework.security.authentication.AuthenticationProvider
- Throws:
org.springframework.security.core.AuthenticationException
getDelegate
public org.springframework.security.authentication.AuthenticationManager getDelegate()
setDelegate
public void setDelegate(org.springframework.security.authentication.AuthenticationManager delegate)
getSecurityProperties
public Map getSecurityProperties()
setSecurityProperties
public void setSecurityProperties(Map securityProperties)
getAuthenticationProvider
public SpringAuthenticationProvider getAuthenticationProvider()
setAuthenticationProvider
public void setAuthenticationProvider(SpringAuthenticationProvider authenticationProvider)
Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.