public interface Storage
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsAttributeRelease(String userId,
String relyingPartyId,
String attributeId)
Checks if the storage contains a attribute release for a specific user, relying party and attribute.
|
boolean |
containsUser(String userId)
Checks if the storage contains a user.
|
void |
createAttributeRelease(String userId,
String relyingPartyId,
AttributeRelease attributeRelease)
Creates an attribute releases for a specific user and relying party.
|
void |
createUser(User user)
Creates a user.
|
void |
deleteAttributeReleases(String userId,
String relyingPartyId)
Deletes the attribute releases from the storage for a specific user and relying party.
|
Collection<AttributeRelease> |
readAttributeReleases(String userId,
String relyingPartyId)
Reads the attribute releases from the storage for a specific user and relying party.
|
User |
readUser(String userId)
Reads a user from the storage.
|
void |
updateAttributeRelease(String userId,
String relyingPartyId,
AttributeRelease attributeRelease)
Updates the attribute releases for a specific user and relying party.
|
void |
updateUser(User user)
Updates a user.
|
boolean containsUser(String userId)
userId - The user id.User readUser(String userId)
userId - The user id.void updateUser(User user)
user - The user.void createUser(User user)
user - The user.Collection<AttributeRelease> readAttributeReleases(String userId, String relyingPartyId)
userId - The user id.relyingPartyId - The relying party id.void deleteAttributeReleases(String userId, String relyingPartyId)
userId - The user id.relyingPartyId - The relying party id.boolean containsAttributeRelease(String userId, String relyingPartyId, String attributeId)
userId - The user id.relyingPartyId - The relying party id.attributeId - attribute id.void updateAttributeRelease(String userId, String relyingPartyId, AttributeRelease attributeRelease)
userId - The user id.relyingPartyId - The relying party id.attributeRelease - The attribute release.void createAttributeRelease(String userId, String relyingPartyId, AttributeRelease attributeRelease)
userId - The user id.relyingPartyId - The relying party id.attributeRelease - The attribute release.Copyright © 1999–2014. All rights reserved.