|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ManualAccountMapperDB
The persistant layer for the ManualAccontMapper. Store a set of mappings to be used by the ManualAccountMapper itself. This interface allows the mapping to be stored in different ways (i.e. LDAP, database, file, ...).
The persistance layer shouldn't be doing any kind of caching, which will be handled by the ManualAccontMapper itself.
Method Summary | |
---|---|
void |
createMapping(String userDN,
String account)
Saves in the DB the new mapping between the userDN and the account. |
boolean |
removeMapping(String userDN)
Removes the mapping for the given user. |
Map |
retrieveAccountMap()
Retrieves user to account map. |
String |
retrieveMapping(String userDN)
Retrieves a user mapping from the database. |
Map |
retrieveReverseAccountMap()
Retrieves account to user map. |
Method Detail |
---|
void createMapping(String userDN, String account)
userDN
- a certificate DNaccount
- a UNIX account nameboolean removeMapping(String userDN)
userDN
- a certificate DN
String retrieveMapping(String userDN)
userDN
- a certificate DN
Map retrieveAccountMap()
Map retrieveReverseAccountMap()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |