public class DefaultSecurityContext extends Object implements in.clouthink.daas.security.token.SecurityContext
| 构造器和说明 |
|---|
DefaultSecurityContext() |
| 限定符和类型 | 方法和说明 |
|---|---|
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.clouthink.daas.security.token.SecurityContextAuthentication or null if no
authentication information is availablepublic void setAuthentication(Authentication authentication)
in.clouthink.daas.security.token.SecurityContextsetAuthentication 在接口中 in.clouthink.daas.security.token.SecurityContextauthentication - the new Authentication token, or
null if no further authentication information
should be storedCopyright © 2015. All rights reserved.