- All Superinterfaces:
Serializable
Authentication represents an authentication request and contains authentication information if the request was
successful.
Implementations must be immutable.
- Since:
- 1.0
-
Method Summary
Modifier and TypeMethodDescriptionsetProperties(Map<String, Object> properties) Makes a copy of thisAuthenticationwith the passed properties set.
-
Method Details
-
getCredentials
Object getCredentials()- Returns:
- a representation of the credentials for
thisAuthentication
-
getPrincipal
Object getPrincipal()- Returns:
- the principal part of
thisAuthentication(ie, the User for BasicAuth, the Subject for SAML, etc)
-
getProperties
- Returns:
- the properties of
thisAuthentication
-
setProperties
Makes a copy of thisAuthenticationwith the passed properties set.- Parameters:
properties- a group of properties available for the returnedAuthentication. MAy benull
-