Package org.wso2.carbon.user.api
Interface ProfileConfigurationManager
-
public interface ProfileConfigurationManagerThis is the interface to manage profiles in the system. A profile contains a set of claims.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddProfileConfig(ProfileConfiguration profileConfig)Adds a profile configurationvoiddeleteProfileConfig(ProfileConfiguration profileConfig)Deletes a profile configurationProfileConfiguration[]getAllProfiles()Retrieves all profilesProfileConfigurationgetProfileConfig(String profileName)Gets the profile configuration given the profile name.voidupdateProfileConfig(ProfileConfiguration profileConfig)Updates a profile configuration
-
-
-
Method Detail
-
getProfileConfig
ProfileConfiguration getProfileConfig(String profileName) throws UserStoreException
Gets the profile configuration given the profile name.- Parameters:
profileName-- Returns:
- Throws:
UserStoreException
-
addProfileConfig
void addProfileConfig(ProfileConfiguration profileConfig) throws UserStoreException
Adds a profile configuration- Parameters:
profileConfig-- Throws:
UserStoreException
-
updateProfileConfig
void updateProfileConfig(ProfileConfiguration profileConfig) throws UserStoreException
Updates a profile configuration- Parameters:
profileConfig-- Throws:
UserStoreException
-
deleteProfileConfig
void deleteProfileConfig(ProfileConfiguration profileConfig) throws UserStoreException
Deletes a profile configuration- Parameters:
profileConfig-- Throws:
UserStoreException
-
getAllProfiles
ProfileConfiguration[] getAllProfiles() throws UserStoreException
Retrieves all profiles- Returns:
- An array of profiles in the system
- Throws:
UserStoreException
-
-