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
-
Field Summary
-
Constructor Summary
Constructors Constructor Description CreateUser(java.lang.String username, java.lang.String passwordEncoding, java.lang.String password)Operation that creates a user.CreateUser(java.lang.String username, java.lang.String passwordEncoding, java.lang.String password, org.apache.sling.repoinit.parser.impl.WithPathOptions wpopt)Operation that creates a user. -
Method Summary
Modifier and Type Method Description voidaccept(OperationVisitor v)@NotNull java.lang.StringasRepoInitString()protected java.lang.StringgetParametersDescription()java.lang.StringgetPassword()java.lang.StringgetPasswordEncoding()java.lang.StringgetPath()java.lang.StringgetUsername()booleanisForcedPath()Methods inherited from class org.apache.sling.repoinit.parser.operations.Operation
cleanupQuotedString, toString
-
Constructor Details
-
CreateUser
public CreateUser(java.lang.String username, java.lang.String passwordEncoding, java.lang.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(java.lang.String username, java.lang.String passwordEncoding, java.lang.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 Details
-
accept
-
getParametersDescription
protected java.lang.String getParametersDescription()- Specified by:
getParametersDescriptionin classOperation
-
asRepoInitString
@NotNull public @NotNull java.lang.String asRepoInitString()- Specified by:
asRepoInitStringin classOperation
-
getUsername
public java.lang.String getUsername() -
getPassword
public java.lang.String getPassword() -
getPasswordEncoding
public java.lang.String getPasswordEncoding() -
getPath
public java.lang.String getPath() -
isForcedPath
public boolean isForcedPath()
-