Class AuthenticationInfo

java.lang.Object
org.h2.security.auth.AuthenticationInfo

public class AuthenticationInfo extends Object
Input data for authenticators; it wraps ConnectionInfo
  • Field Details

    • connectionInfo

      private ConnectionInfo connectionInfo
    • password

      private String password
    • realm

      private String realm
    • nestedIdentity

      Object nestedIdentity
      Can be used by authenticator to hold information.
  • Constructor Details

    • AuthenticationInfo

      public AuthenticationInfo(ConnectionInfo connectionInfo)
  • Method Details

    • getUserName

      public String getUserName()
    • getRealm

      public String getRealm()
    • getPassword

      public String getPassword()
    • getConnectionInfo

      public ConnectionInfo getConnectionInfo()
    • getFullyQualifiedName

      public String getFullyQualifiedName()
    • getNestedIdentity

      public Object getNestedIdentity()
      Gets nested identity object that can be used by authenticator to hold information.
      Returns:
      nested identity object.
    • setNestedIdentity

      public void setNestedIdentity(Object nestedIdentity)
      Method used by authenticators to hold information about authenticated user
      Parameters:
      nestedIdentity - = nested identity object
    • clean

      public void clean()
      Clean authentication data.