Top Constructors Methods
org.h2.engine

public Class UserBuilder

extends Object
Class Inheritance
Imports
org.h2.security.auth.AuthenticationInfo, org.h2.util.MathUtils

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static User

Returns:

user bean
buildUser
(AuthenticationInfo
authentication info
authenticationInfo
,
Database
target database
database
,
boolean
true if the user will be persisted in the database
persistent
)

Build the database user starting from authentication informations.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

UserBuilderback to summary
public UserBuilder()

Method Detail

buildUserback to summary
public static User buildUser(AuthenticationInfo authenticationInfo, Database database, boolean persistent)

Build the database user starting from authentication informations.

Parameters
authenticationInfo:AuthenticationInfo

authentication info

database:Database

target database

persistent:boolean

true if the user will be persisted in the database

Returns:User

user bean