public class DefaultSecurityContext extends Object implements in.clouthink.daas.security.token.SecurityContext
| Constructor and Description |
|---|
DefaultSecurityContext() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Authentication |
getAuthentication()
Obtains the currently authenticated principal, or an authentication
request token.
|
int |
hashCode() |
void |
setAuthentication(Authentication authentication)
Changes the currently authenticated principal, or removes the
authentication information.
|
String |
toString() |
public Authentication getAuthentication()
in.clouthink.daas.security.token.SecurityContextgetAuthentication in interface in.clouthink.daas.security.token.SecurityContextAuthentication or null if no
authentication information is availablepublic void setAuthentication(Authentication authentication)
in.clouthink.daas.security.token.SecurityContextsetAuthentication in interface in.clouthink.daas.security.token.SecurityContextauthentication - the new Authentication token, or
null if no further authentication information
should be storedCopyright © 2018. All rights reserved.