public class Manager extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
createUser(String username,
String password,
String role)
Create a user with the specified
username, password and
role. |
void |
grant(String username,
String permission)
Grant the
permission to the user with username in the
default environment. |
void |
grant(String username,
String permission,
String environment)
Grant the
permission to the user with username in the
specified environment. |
public void createUser(String username, String password, String role)
username, password and
role.username - password - role - public final void grant(String username, String permission)
permission to the user with username in the
default environment.username - permission -