Methods Summary |
---|
public void | close()Finalize access to this user database.
|
public Group | createGroup(java.lang.String groupname, java.lang.String description)Create and return a new {@link Group} defined in this user database.
|
public Role | createRole(java.lang.String rolename, java.lang.String description)Create and return a new {@link Role} defined in this user database.
|
public User | createUser(java.lang.String username, java.lang.String password, java.lang.String fullName)Create and return a new {@link User} defined in this user database.
|
public Group | findGroup(java.lang.String groupname)Return the {@link Group} with the specified group name, if any;
otherwise return null .
|
public Role | findRole(java.lang.String rolename)Return the {@link Role} with the specified role name, if any;
otherwise return null .
|
public User | findUser(java.lang.String username)Return the {@link User} with the specified user name, if any;
otherwise return null .
|
public java.util.Iterator | getGroups()Return the set of {@link Group}s defined in this user database.
|
public java.lang.String | getId()Return the unique global identifier of this user database.
|
public java.util.Iterator | getRoles()Return the set of {@link Role}s defined in this user database.
|
public java.util.Iterator | getUsers()Return the set of {@link User}s defined in this user database.
|
public void | open()Initialize access to this user database.
|
public void | removeGroup(Group group)Remove the specified {@link Group} from this user database.
|
public void | removeRole(Role role)Remove the specified {@link Role} from this user database.
|
public void | removeUser(User user)Remove the specified {@link User} from this user database.
|
public void | save()Save any updated information to the persistent storage location for
this user database.
|