Top Description Fields Constructors Methods
org.h2.security.auth

public Class AuthenticationInfo

extends Object
Class Inheritance
Imports
org.h2.engine.ConnectionInfo, org.h2.util.StringUtils

Input data for authenticators; it wraps ConnectionInfo

Field Summary

Modifier and TypeField and Description
private ConnectionInfo
pack-priv Object
nestedIdentity

Can be used by authenticator to hold information.

private String
private String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
clean()

Clean authentication data.

public ConnectionInfo
public String
public Object

Returns:

nested identity object.
getNestedIdentity
()

Gets nested identity object that can be used by authenticator to hold information.

public String
public String
public String
public void
setNestedIdentity(Object
= nested identity object
nestedIdentity
)

Method used by authenticators to hold information about authenticated user

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

connectionInfoback to summary
private ConnectionInfo connectionInfo
nestedIdentityback to summary
pack-priv Object nestedIdentity

Can be used by authenticator to hold information.

passwordback to summary
private String password
realmback to summary
private String realm

Constructor Detail

AuthenticationInfoback to summary
public AuthenticationInfo(ConnectionInfo connectionInfo)

Method Detail

cleanback to summary
public void clean()

Clean authentication data.

getConnectionInfoback to summary
public ConnectionInfo getConnectionInfo()
getFullyQualifiedNameback to summary
public String getFullyQualifiedName()
getNestedIdentityback to summary
public Object getNestedIdentity()

Gets nested identity object that can be used by authenticator to hold information.

Returns:Object

nested identity object.

getPasswordback to summary
public String getPassword()
getRealmback to summary
public String getRealm()
getUserNameback to summary
public String getUserName()
setNestedIdentityback to summary
public void setNestedIdentity(Object nestedIdentity)

Method used by authenticators to hold information about authenticated user

Parameters
nestedIdentity:Object

= nested identity object