org.jboss.seam.security.management
Interface IdentityStore
- All Known Implementing Classes:
- JpaIdentityStore
public interface IdentityStore
The identity store does the actual work of persisting user accounts in a
database, LDAP directory, etc.
- Author:
- Shane Bryzak
createAccount
boolean createAccount(String username,
String password)
deleteAccount
boolean deleteAccount(String name)
grantRole
boolean grantRole(String name,
String role)
revokeRole
boolean revokeRole(String name,
String role)
enableAccount
boolean enableAccount(String name)
disableAccount
boolean disableAccount(String name)
isEnabled
boolean isEnabled(String name)
changePassword
boolean changePassword(String name,
String password)
accountExists
boolean accountExists(String name)
listUsers
List<String> listUsers()
listUsers
List<String> listUsers(String filter)
listRoles
List<String> listRoles()
getGrantedRoles
List<String> getGrantedRoles(String name)
getImpliedRoles
List<String> getImpliedRoles(String name)
authenticate
boolean authenticate(String username,
String password)