public class PropertiesBackingEngine extends Object implements BackingEngine
| Constructor and Description |
|---|
PropertiesBackingEngine(org.apache.felix.utils.properties.Properties users)
Constructor
|
PropertiesBackingEngine(org.apache.felix.utils.properties.Properties users,
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 form 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 PropertiesBackingEngine(org.apache.felix.utils.properties.Properties users)
users - public PropertiesBackingEngine(org.apache.felix.utils.properties.Properties users,
EncryptionSupport encryptionSupport)
public void addUser(String username, String password)
addUser in interface BackingEngineusername - password - public void deleteUser(String username)
deleteUser in interface BackingEngineusername - public List<org.apache.karaf.jaas.boot.principal.UserPrincipal> listUsers()
listUsers in interface BackingEnginepublic List<org.apache.karaf.jaas.boot.principal.RolePrincipal> listRoles(org.apache.karaf.jaas.boot.principal.UserPrincipal user)
listRoles in interface BackingEngineuser - public void addRole(String username, String role)
addRole in interface BackingEngineusername - role - public void deleteRole(String username, String role)
deleteRole in interface BackingEngineusername - role - Copyright © 2007-2014 FuseSource, Corp.. All Rights Reserved.