public interface BackingEngine
| Modifier and Type | Field and Description |
|---|---|
static String |
GROUP_PREFIX |
| Modifier and Type | Method and Description |
|---|---|
void |
addGroup(String username,
String group)
Add a user to a group
|
void |
addGroupRole(String groupname,
String role)
Add a role to a group
|
void |
addRole(String username,
String role)
Add a role to the user
|
void |
addUser(String username,
String password)
Create a new User.
|
void |
createGroup(String group)
Create a group
|
void |
deleteGroup(String username,
String group,
boolean forceGroupDeletionOnLastUser)
Remote a user from a group
|
void |
deleteGroupRole(String groupname,
String role)
Remote a role from a group
|
void |
deleteRole(String username,
String role)
Remove a role from a user.
|
void |
deleteUser(String username,
boolean withoutGroupDeletionOnLastUser)
Delete User
|
Map<org.apache.karaf.jaas.boot.principal.GroupPrincipal,String> |
listGroups()
List groups in a certain realm
|
List<org.apache.karaf.jaas.boot.principal.GroupPrincipal> |
listGroups(org.apache.karaf.jaas.boot.principal.UserPrincipal user)
List groups that a user is in
|
List<org.apache.karaf.jaas.boot.principal.RolePrincipal> |
listRoles(Principal principal)
List Roles for .
|
List<org.apache.karaf.jaas.boot.principal.UserPrincipal> |
listUsers()
List Users
|
static final String GROUP_PREFIX
void addUser(String username, String password)
username - password - void deleteUser(String username, boolean withoutGroupDeletionOnLastUser)
username - List<org.apache.karaf.jaas.boot.principal.UserPrincipal> listUsers()
List<org.apache.karaf.jaas.boot.principal.GroupPrincipal> listGroups(org.apache.karaf.jaas.boot.principal.UserPrincipal user)
user - Map<org.apache.karaf.jaas.boot.principal.GroupPrincipal,String> listGroups()
void addGroup(String username, String group)
username - group - void createGroup(String group)
group - void deleteGroup(String username, String group, boolean forceGroupDeletionOnLastUser)
username - group - List<org.apache.karaf.jaas.boot.principal.RolePrincipal> listRoles(Principal principal)
UserPrincipal or a GroupPrincipal.user - void addRole(String username, String role)
username - role - void deleteRole(String username, String role)
username - role - void addGroupRole(String groupname, String role)
groupname - role - Copyright © 2007–2023 The Apache Software Foundation. All rights reserved.