public class ZookeeperBackingEngine extends Object implements org.apache.karaf.jaas.modules.BackingEngine
| Modifier and Type | Field and Description |
|---|---|
static String |
USERS_NODE |
| Constructor and Description |
|---|
ZookeeperBackingEngine(org.apache.felix.utils.properties.Properties users) |
ZookeeperBackingEngine(org.apache.felix.utils.properties.Properties users,
org.apache.karaf.jaas.modules.encryption.EncryptionSupport encryptionSupport) |
| Modifier and Type | Method and Description |
|---|---|
void |
addRole(String username,
String role)
Add a role to a User.
|
void |
addUser(String username,
String password)
Add a User.
|
void |
deleteRole(String username,
String role)
Delete a Role from the given User.
|
void |
deleteUser(String username)
Delete a User.
|
List<org.apache.karaf.jaas.boot.principal.RolePrincipal> |
listRoles(org.apache.karaf.jaas.boot.principal.UserPrincipal user)
List the Roles of the
|
List<org.apache.karaf.jaas.boot.principal.UserPrincipal> |
listUsers()
List Users
|
public static final String USERS_NODE
public ZookeeperBackingEngine(org.apache.felix.utils.properties.Properties users)
public ZookeeperBackingEngine(org.apache.felix.utils.properties.Properties users,
org.apache.karaf.jaas.modules.encryption.EncryptionSupport encryptionSupport)
public void addUser(String username, String password)
addUser in interface org.apache.karaf.jaas.modules.BackingEnginepublic void deleteUser(String username)
deleteUser in interface org.apache.karaf.jaas.modules.BackingEnginepublic List<org.apache.karaf.jaas.boot.principal.UserPrincipal> listUsers()
listUsers in interface org.apache.karaf.jaas.modules.BackingEnginepublic List<org.apache.karaf.jaas.boot.principal.RolePrincipal> listRoles(org.apache.karaf.jaas.boot.principal.UserPrincipal user)
listRoles in interface org.apache.karaf.jaas.modules.BackingEnginepublic void addRole(String username, String role)
addRole in interface org.apache.karaf.jaas.modules.BackingEngineCopyright © 2011–2014 Red Hat. All rights reserved.