|
||||||||||
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(java.lang.String userDN,
java.lang.String account)
Saves in the DB the new mapping between the userDN and the account. |
boolean |
removeMapping(java.lang.String userDN)
Removes the mapping for the given user. |
java.lang.String |
retrieveMapping(java.lang.String userDN)
Retrieves a user mapping from the database. |
java.util.List |
retrieveMappings()
Retrieves user mappings from the database. |
Method Detail |
---|
void createMapping(java.lang.String userDN, java.lang.String account)
userDN
- a certificate DNaccount
- a UNIX account nameboolean removeMapping(java.lang.String userDN)
userDN
- a certificate DN
java.lang.String retrieveMapping(java.lang.String userDN)
userDN
- a certificate DN
java.util.List retrieveMappings()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |