Class User
java.lang.Object
org.wildfly.plugin.server.User
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns a collection of groups the user belongs to.Returns the password for the user.getRealm()Returns the realm the user belongs to.Returns the username for the user.inthashCode()booleanIndicates whether or not this is an application user.voidAllows a user to be set by a string value.toString()
-
Constructor Details
-
User
public User()
-
-
Method Details
-
getUsername
-
getPassword
-
getGroups
-
getRealm
-
isApplicationUser
public boolean isApplicationUser()Indicates whether or not this is an application user.- Returns:
trueif this is an application user, otherwisefalse
-
set
Allows a user to be set by a string value. The format isuser:password:groups:realm:true|false.Both username and password are required. Groups can be a comma delimited set of groups.
- Parameters:
value- the string user value
-
hashCode
-
equals
-
toString
-