Package org.h2.engine
Class UserBuilder
java.lang.Object
org.h2.engine.UserBuilder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic UserbuildUser(AuthenticationInfo authenticationInfo, Database database, boolean persistent) Build the database user starting from authentication informations.
-
Constructor Details
-
UserBuilder
public UserBuilder()
-
-
Method Details
-
buildUser
public static User buildUser(AuthenticationInfo authenticationInfo, Database database, boolean persistent) Build the database user starting from authentication informations.- Parameters:
authenticationInfo- authentication infodatabase- target databasepersistent- true if the user will be persisted in the database- Returns:
- user bean
-