@ProviderType public class CreateUser extends Operation
| Constructor and 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.
|
| Modifier and Type | Method and Description |
|---|---|
void |
accept(OperationVisitor v) |
@NotNull String |
asRepoInitString()
Converts this operation instance to a RepoInit string representation
including the current operation parameters.
|
protected String |
getParametersDescription() |
String |
getPassword() |
String |
getPasswordEncoding() |
String |
getPath() |
String |
getUsername() |
boolean |
isForcedPath() |
cleanupQuotedString, toStringpublic CreateUser(String username, String passwordEncoding, String password)
username - the name of the user to createpasswordEncoding - optional encoding for the supplied passwordpassword - optional passwordpublic CreateUser(String username, String passwordEncoding, String password, org.apache.sling.repoinit.parser.impl.WithPathOptions wpopt)
username - the name of the user to createpasswordEncoding - optional encoding for the supplied passwordpassword - optional passwordwpopt - optional pathpublic void accept(OperationVisitor v)
protected String getParametersDescription()
getParametersDescription in class Operation@NotNull public @NotNull String asRepoInitString()
OperationasRepoInitString in class Operationpublic String getUsername()
public String getPassword()
public String getPasswordEncoding()
public String getPath()
public boolean isForcedPath()
Copyright © 2007–2022 The Apache Software Foundation. All rights reserved.