Class Authentication
java.lang.Object
com.gigaspaces.security.Authentication
- All Implemented Interfaces:
Serializable
Represents an authenticated request, returned on successful call to
SecurityManager.authenticate(UserDetails). An Authentication encapsulates the
UserDetails and the corresponding populated authorities.
- Since:
- 7.0.1
- Author:
- Moran Avigdor
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAuthentication(UserDetails userDetails) Create an authentication for an authenticatedUserDetails. -
Method Summary
Modifier and TypeMethodDescriptionThe underlying user details authorities, parsed into a queriable form.The underlying user details used to authenticatetoString()
-
Constructor Details
-
Authentication
Create an authentication for an authenticatedUserDetails.- Parameters:
userDetails- authenticated user details.
-
-
Method Details
-
getUserDetails
The underlying user details used to authenticate- Returns:
- the authenticated user details.
-
getGrantedAuthorities
The underlying user details authorities, parsed into a queriable form.- Returns:
- parsed authorities.
-
toString
-