Package org.wso2.carbon.user.api
Interface ProfileConfigurationManager
public interface ProfileConfigurationManager
This is the interface to manage profiles in the system.
A profile contains a set of claims.
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddProfileConfig(ProfileConfiguration profileConfig) Adds a profile configurationvoiddeleteProfileConfig(ProfileConfiguration profileConfig) Deletes a profile configurationRetrieves all profilesgetProfileConfig(String profileName) Gets the profile configuration given the profile name.voidupdateProfileConfig(ProfileConfiguration profileConfig) Updates a profile configuration
-
Method Details
-
getProfileConfig
Gets the profile configuration given the profile name.- Parameters:
profileName-- Returns:
- Throws:
UserStoreException
-
addProfileConfig
Adds a profile configuration- Parameters:
profileConfig-- Throws:
UserStoreException
-
updateProfileConfig
Updates a profile configuration- Parameters:
profileConfig-- Throws:
UserStoreException
-
deleteProfileConfig
Deletes a profile configuration- Parameters:
profileConfig-- Throws:
UserStoreException
-
getAllProfiles
Retrieves all profiles- Returns:
- An array of profiles in the system
- Throws:
UserStoreException
-