public class UserBuilder
extends java.lang.Object
Constructor and Description |
---|
UserBuilder() |
Modifier and Type | Method and Description |
---|---|
static User |
buildUser(org.h2.security.auth.AuthenticationInfo authenticationInfo,
Database database,
boolean persistent)
Build the database user starting from authentication informations.
|
public static User buildUser(org.h2.security.auth.AuthenticationInfo authenticationInfo, Database database, boolean persistent)
authenticationInfo
- authentication infodatabase
- target databasepersistent
- true if the user will be persisted in the database