Package org.h2.security.auth
Class AuthenticationInfo
- java.lang.Object
-
- org.h2.security.auth.AuthenticationInfo
-
public class AuthenticationInfo extends java.lang.ObjectInput data for authenticators; it wraps ConnectionInfo
-
-
Field Summary
Fields Modifier and Type Field Description private ConnectionInfoconnectionInfo(package private) java.lang.ObjectnestedIdentityCan be used by authenticator to hold information.private java.lang.Stringpasswordprivate java.lang.Stringrealm
-
Constructor Summary
Constructors Constructor Description AuthenticationInfo(ConnectionInfo connectionInfo)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclean()Clean authentication data.ConnectionInfogetConnectionInfo()java.lang.StringgetFullyQualifiedName()java.lang.ObjectgetNestedIdentity()Gets nested identity object that can be used by authenticator to hold information.java.lang.StringgetPassword()java.lang.StringgetRealm()java.lang.StringgetUserName()voidsetNestedIdentity(java.lang.Object nestedIdentity)Method used by authenticators to hold information about authenticated user
-
-
-
Field Detail
-
connectionInfo
private ConnectionInfo connectionInfo
-
password
private java.lang.String password
-
realm
private java.lang.String realm
-
nestedIdentity
java.lang.Object nestedIdentity
Can be used by authenticator to hold information.
-
-
Constructor Detail
-
AuthenticationInfo
public AuthenticationInfo(ConnectionInfo connectionInfo)
-
-
Method Detail
-
getUserName
public java.lang.String getUserName()
-
getRealm
public java.lang.String getRealm()
-
getPassword
public java.lang.String getPassword()
-
getConnectionInfo
public ConnectionInfo getConnectionInfo()
-
getFullyQualifiedName
public java.lang.String getFullyQualifiedName()
-
getNestedIdentity
public java.lang.Object getNestedIdentity()
Gets nested identity object that can be used by authenticator to hold information.- Returns:
- nested identity object.
-
setNestedIdentity
public void setNestedIdentity(java.lang.Object nestedIdentity)
Method used by authenticators to hold information about authenticated user- Parameters:
nestedIdentity- = nested identity object
-
clean
public void clean()
Clean authentication data.
-
-