|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PersistenceStrategy
Interface for an Identity
persistence strategy (file, db, etc.).
Method Summary | |
---|---|
org.jboss.security.identity.Identity |
getIdentity(String name)
Retrieves an Identity from the backend. |
org.jboss.security.identity.Identity |
persistIdentity(org.jboss.security.identity.Identity identity)
Persists the Identity in the backend. |
boolean |
removeIdentity(org.jboss.security.identity.Identity identity)
Removes an Identity from the backend. |
org.jboss.security.identity.Identity |
updateIdentity(org.jboss.security.identity.Identity identity)
Updates the Identity in the backend. |
Method Detail |
---|
org.jboss.security.identity.Identity persistIdentity(org.jboss.security.identity.Identity identity)
Identity
in the backend.
identity
- Identity
to be persisted.
Identity
or null
if persistence failed.org.jboss.security.identity.Identity getIdentity(String name)
Identity
from the backend.
name
- unique name of the Identity
.
Identity
or null
if not found.org.jboss.security.identity.Identity updateIdentity(org.jboss.security.identity.Identity identity)
Identity
in the backend.
identity
- Identity
to be updated.
Identity
or null
if the update was not successful.boolean removeIdentity(org.jboss.security.identity.Identity identity)
Identity
from the backend.
identity
- Identity
to be removed.
true
if successfully removed, false
otherwise.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |