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

Method Summary
 boolean accountExists(String name)
           
 boolean authenticate(String username, String password)
           
 boolean changePassword(String name, String password)
           
 boolean createAccount(String username, String password)
           
 boolean deleteAccount(String name)
           
 boolean disableAccount(String name)
           
 boolean enableAccount(String name)
           
 List<String> getGrantedRoles(String name)
           
 List<String> getImpliedRoles(String name)
           
 boolean grantRole(String name, String role)
           
 boolean isEnabled(String name)
           
 List<String> listRoles()
           
 List<String> listUsers()
           
 List<String> listUsers(String filter)
           
 boolean revokeRole(String name, String role)
           
 

Method Detail

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)