public class SystemAuthentication extends Object implements org.springframework.security.core.Authentication
| Constructor and Description |
|---|
SystemAuthentication() |
| Modifier and Type | Method and Description |
|---|---|
void |
disable()
Disable system user security context
|
void |
enable()
Enable system user security context
|
Collection<? extends org.springframework.security.core.GrantedAuthority> |
getAuthorities() |
Object |
getCredentials() |
Object |
getDetails() |
String |
getName() |
Object |
getPrincipal() |
boolean |
isAuthenticated() |
void |
setAuthenticated(boolean authenticated) |
public void enable()
public void disable()
public Collection<? extends org.springframework.security.core.GrantedAuthority> getAuthorities()
getAuthorities in interface org.springframework.security.core.Authenticationpublic Object getCredentials()
getCredentials in interface org.springframework.security.core.Authenticationpublic Object getDetails()
getDetails in interface org.springframework.security.core.Authenticationpublic Object getPrincipal()
getPrincipal in interface org.springframework.security.core.Authenticationpublic boolean isAuthenticated()
isAuthenticated in interface org.springframework.security.core.Authenticationpublic void setAuthenticated(boolean authenticated)
throws IllegalArgumentException
setAuthenticated in interface org.springframework.security.core.AuthenticationIllegalArgumentExceptionCopyright © 2017 Open Knowledge Management System S.L.. All rights reserved.