public class SpringProviderAdapter
extends org.mule.runtime.core.api.security.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) |
void |
setSecurityProperties(Map securityProperties) |
createSecurityContext, getName, getSecurityContextFactory, initialise, setName, setSecurityContextFactory, supportsgetAnnotation, getAnnotations, getLocation, getRootContainerLocation, setAnnotationspublic 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 org.mule.runtime.core.api.security.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 org.mule.runtime.core.api.security.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)
public void setSecurityProperties(Map securityProperties)
Copyright © 2025 MuleSoft, Inc.. All rights reserved.