Class CreateUser
- java.lang.Object
-
- org.apache.sling.repoinit.parser.operations.Operation
-
- org.apache.sling.repoinit.parser.operations.CreateUser
-
@ProviderType public class CreateUser extends Operation
-
-
Constructor Summary
Constructors Constructor Description CreateUser(String username, String passwordEncoding, String password)
Operation that creates a user.CreateUser(String username, String passwordEncoding, String password, org.apache.sling.repoinit.parser.impl.WithPathOptions wpopt)
Operation that creates a user.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(OperationVisitor v)
@NotNull String
asRepoInitString()
String
getPassword()
String
getPasswordEncoding()
String
getPath()
String
getUsername()
boolean
isForcedPath()
-
Methods inherited from class org.apache.sling.repoinit.parser.operations.Operation
cleanupQuotedString, toString
-
-
-
-
Constructor Detail
-
CreateUser
public CreateUser(String username, String passwordEncoding, String password)
Operation that creates a user.- Parameters:
username
- the name of the user to createpasswordEncoding
- optional encoding for the supplied passwordpassword
- optional password
-
CreateUser
public CreateUser(String username, String passwordEncoding, String password, org.apache.sling.repoinit.parser.impl.WithPathOptions wpopt)
Operation that creates a user.- Parameters:
username
- the name of the user to createpasswordEncoding
- optional encoding for the supplied passwordpassword
- optional passwordwpopt
- optional path
-
-
Method Detail
-
accept
public void accept(OperationVisitor v)
-
asRepoInitString
@NotNull public @NotNull String asRepoInitString()
- Specified by:
asRepoInitString
in classOperation
-
getUsername
public String getUsername()
-
getPassword
public String getPassword()
-
getPasswordEncoding
public String getPasswordEncoding()
-
getPath
public String getPath()
-
isForcedPath
public boolean isForcedPath()
-
-