public class SpringAuthenticationAdapter extends Object implements org.mule.runtime.api.security.Authentication
| Constructor and Description |
|---|
SpringAuthenticationAdapter(org.springframework.security.core.Authentication authentication) |
SpringAuthenticationAdapter(org.springframework.security.core.Authentication authentication,
Map<String,Object> properties) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object another) |
org.springframework.security.core.GrantedAuthority[] |
getAuthorities() |
Object |
getCredentials() |
org.springframework.security.core.Authentication |
getDelegate() |
Object |
getDetails() |
String |
getName() |
Object |
getPrincipal() |
Map<String,Object> |
getProperties() |
int |
hashCode() |
boolean |
isAuthenticated() |
void |
setAuthenticated(boolean authenticated) |
void |
setProperties(Map<String,Object> properties) |
public SpringAuthenticationAdapter(org.springframework.security.core.Authentication authentication)
public void setAuthenticated(boolean authenticated)
setAuthenticated in interface org.mule.runtime.api.security.Authenticationpublic boolean isAuthenticated()
isAuthenticated in interface org.mule.runtime.api.security.Authenticationpublic org.springframework.security.core.GrantedAuthority[] getAuthorities()
public Object getCredentials()
getCredentials in interface org.mule.runtime.api.security.Authenticationpublic Object getDetails()
public Object getPrincipal()
getPrincipal in interface org.mule.runtime.api.security.Authenticationpublic String getName()
public org.springframework.security.core.Authentication getDelegate()
public Map<String,Object> getProperties()
getProperties in interface org.mule.runtime.api.security.AuthenticationCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.