public class RunAsAuthenticator
extends java.lang.Object
Constructor and Description |
---|
RunAsAuthenticator() |
Modifier and Type | Method and Description |
---|---|
org.springframework.security.authentication.AuthenticationProvider |
getRunAsAuthenticationProvider() |
void |
restoreAuthentication()
needed to work around the broken @RunAs("ROLE_ADMIN") which
seems to be broken in spring see: https://jira.springsource.org/browse/SEC-1671
|
void |
runAsAuthentication(org.springframework.security.core.GrantedAuthority ga)
needed to work around the broken @RunAs("ROLE_ADMIN") which seems to be
broken in spring see: https://jira.springsource.org/browse/SEC-1671
|
void |
setRunAsAuthenticationProvider(org.springframework.security.authentication.AuthenticationProvider runAsAuthenticationProvider) |
public static final Logger logger
public void runAsAuthentication(org.springframework.security.core.GrantedAuthority ga)
ga
- public void restoreAuthentication()
public org.springframework.security.authentication.AuthenticationProvider getRunAsAuthenticationProvider()
public void setRunAsAuthenticationProvider(org.springframework.security.authentication.AuthenticationProvider runAsAuthenticationProvider)
runAsAuthenticationProvider
- the runAsAuthenticationProvider to setCopyright © 2007-2020 EDIT. All Rights Reserved.