public class SpringProviderAdapter extends AbstractSecurityProvider implements org.springframework.security.authentication.AuthenticationProvider
SpringProviderAdapter
is a wrapper for a Spring Security provider to
use with the SecurityManagerPHASE_NAME
Constructor and Description |
---|
SpringProviderAdapter()
For Spring IoC only
|
SpringProviderAdapter(org.springframework.security.authentication.AuthenticationManager delegate) |
SpringProviderAdapter(org.springframework.security.authentication.AuthenticationManager delegate,
String name) |
Modifier and Type | Method and Description |
---|---|
Authentication |
authenticate(Authentication authentication) |
org.springframework.security.core.Authentication |
authenticate(org.springframework.security.core.Authentication authentication) |
protected void |
doInitialise() |
SpringAuthenticationProvider |
getAuthenticationProvider() |
org.springframework.security.authentication.AuthenticationManager |
getDelegate() |
Map |
getSecurityProperties() |
void |
setAuthenticationProvider(SpringAuthenticationProvider authenticationProvider) |
void |
setDelegate(org.springframework.security.authentication.AuthenticationManager delegate) |
void |
setSecurityProperties(Map securityProperties) |
createSecurityContext, getName, getSecurityContextFactory, initialise, setName, setSecurityContextFactory, supports
public SpringProviderAdapter()
public SpringProviderAdapter(org.springframework.security.authentication.AuthenticationManager delegate)
public SpringProviderAdapter(org.springframework.security.authentication.AuthenticationManager delegate, String name)
protected void doInitialise() throws InitialisationException
doInitialise
in class AbstractSecurityProvider
InitialisationException
public Authentication authenticate(Authentication authentication) throws SecurityException
authenticate
in interface SecurityProvider
SecurityException
public org.springframework.security.core.Authentication authenticate(org.springframework.security.core.Authentication authentication) throws org.springframework.security.core.AuthenticationException
authenticate
in interface org.springframework.security.authentication.AuthenticationProvider
org.springframework.security.core.AuthenticationException
public org.springframework.security.authentication.AuthenticationManager getDelegate()
public void setDelegate(org.springframework.security.authentication.AuthenticationManager delegate)
public Map getSecurityProperties()
public void setSecurityProperties(Map securityProperties)
public SpringAuthenticationProvider getAuthenticationProvider()
public void setAuthenticationProvider(SpringAuthenticationProvider authenticationProvider)
Copyright © 2003–2015 MuleSoft, Inc.. All rights reserved.