|
GigaSpaces XAP 10.0.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.gigaspaces.security.Authentication
public final class Authentication
Represents an authenticated request, returned on successful call to
SecurityManager.authenticate(UserDetails)
.
An Authentication encapsulates the UserDetails
and the corresponding populated
authorities.
Constructor Summary | |
---|---|
Authentication(UserDetails userDetails)
Create an authentication for an authenticated UserDetails . |
Method Summary | |
---|---|
GrantedAuthorities |
getGrantedAuthorities()
The underlying user details authorities, parsed into a queriable form. |
UserDetails |
getUserDetails()
The underlying user details used to authenticate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Authentication(UserDetails userDetails)
UserDetails
.
userDetails
- authenticated user details.Method Detail |
---|
public UserDetails getUserDetails()
public GrantedAuthorities getGrantedAuthorities()
|
GigaSpaces XAP 10.0.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |