Class AuthenticationInfo

  • Direct Known Subclasses:
    OpenIDAuthModule.OpenIDAuthenticationInfo

    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 Detail

      • AuthenticationInfo

        public AuthenticationInfo​(AuthModule authenticator,
                                  String username)
    • Method Detail

      • getAuthenticator

        public AuthModule getAuthenticator()
        The AuthModule that verified this authentication attempt.
      • 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)