Package io.continual.iam.identity
Interface UserDataHolder
- All Known Implementing Classes:
CommonJsonGroup,CommonJsonIdentity,CommonJsonObject
public interface UserDataHolder
A container for user-oriented data. In addition to being extended by Identity,
the Group interface can also hold user-oriented data.
-
Method Summary
Modifier and TypeMethodDescriptionGet all of the user datagetUserData(String key) Get a named data value.voidputUserData(String key, String val) Put a named data value.voidreload()reload this object from the servervoidremoveUserData(String key) Remove a named data value.
-
Method Details
-
reload
reload this object from the server- Throws:
IamSvcException- if there's a problem in the IAM service
-
getUserData
Get a named data value.- Parameters:
key- a key for a user data entry- Returns:
- a value or null
- Throws:
IamSvcException- if there's a problem in the IAM service
-
putUserData
Put a named data value.- Parameters:
key- a key for the user data entryval- a value to store- Throws:
IamSvcException- if there's a problem in the IAM service
-
removeUserData
Remove a named data value.- Parameters:
key- a key for a user data entry- Throws:
IamSvcException- if there's a problem in the IAM service
-
getAllUserData
Get all of the user data- Returns:
- a map of user data
- Throws:
IamSvcException- if there's a problem in the IAM service
-