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| 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 |
|---|---|
org.mule.runtime.api.security.Authentication |
authenticate(org.mule.runtime.api.security.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(List<SecurityProperty> securityProperties) |
createSecurityContext, getName, getSecurityContextFactory, initialise, setName, setSecurityContextFactory, supportspublic SpringProviderAdapter()
public SpringProviderAdapter(org.springframework.security.authentication.AuthenticationManager delegate)
public SpringProviderAdapter(org.springframework.security.authentication.AuthenticationManager delegate,
String name)
protected void doInitialise()
throws org.mule.runtime.api.lifecycle.InitialisationException
doInitialise in class AbstractSecurityProviderorg.mule.runtime.api.lifecycle.InitialisationExceptionpublic org.mule.runtime.api.security.Authentication authenticate(org.mule.runtime.api.security.Authentication authentication)
throws org.mule.runtime.api.security.SecurityException
authenticate in interface SecurityProviderorg.mule.runtime.api.security.SecurityExceptionpublic 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.AuthenticationProviderorg.springframework.security.core.AuthenticationExceptionpublic org.springframework.security.authentication.AuthenticationManager getDelegate()
public void setDelegate(org.springframework.security.authentication.AuthenticationManager delegate)
public Map getSecurityProperties()
public void setSecurityProperties(List<SecurityProperty> securityProperties)
public SpringAuthenticationProvider getAuthenticationProvider()
public void setAuthenticationProvider(SpringAuthenticationProvider authenticationProvider)
Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.