Class AuthenticationInfo

java.lang.Object
org.yamcs.security.AuthenticationInfo
Direct Known Subclasses:
OpenIDAuthenticationInfo, SystemUserAuthenticationInfo

public class AuthenticationInfo extends Object
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 Details

    • AuthenticationInfo

      public AuthenticationInfo(AuthModule authenticator, String username)
  • Method Details

    • getAuthenticator

      public AuthModule getAuthenticator()
      The AuthModule that verified this authentication attempt.
    • isKerberos

      public boolean isKerberos()
    • getUsername

      public String getUsername()
      The username of the user that was verified.
    • getDisplayName

      public String getDisplayName()
    • setDisplayName

      public void setDisplayName(String displayName)
    • getEmail

      public String getEmail()
    • setEmail

      public void setEmail(String email)
    • getExternalIdentities

      public Map<String,String> getExternalIdentities()
    • addExternalIdentity

      public void addExternalIdentity(String provider, String externalIdentity)
    • toString

      public String toString()
      Overrides:
      toString in class Object