Package org.yamcs.security
Class AuthenticationInfo
java.lang.Object
org.yamcs.security.AuthenticationInfo
- Direct Known Subclasses:
OpenIDAuthenticationInfo
,SystemUserAuthenticationInfo
Data holder for information related to a verified authentication attempt.
The default implementation retains only the verified username, extending classes may add other information such as externally issued tickets.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addExternalIdentity
(String provider, String externalIdentity) TheAuthModule
that verified this authentication attempt.getEmail()
The username of the user that was verified.boolean
void
setDisplayName
(String displayName) void
toString()
-
Constructor Details
-
AuthenticationInfo
-
-
Method Details
-
getAuthenticator
TheAuthModule
that verified this authentication attempt. -
isKerberos
public boolean isKerberos() -
getUsername
The username of the user that was verified. -
getDisplayName
-
setDisplayName
-
getEmail
-
setEmail
-
getExternalIdentities
-
addExternalIdentity
-
toString
-