Interface UserRoleManagementStrategy
-
- All Known Implementing Classes:
DefaultUserRoleManagementStrategy
public interface UserRoleManagementStrategy
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description B2BSelectionDataaddRoleToUser(java.lang.String userId)Adds a role to the userB2BSelectionDataremoveRoleFromUser(java.lang.String userId)Removes a role from the user
-
-
-
Method Detail
-
addRoleToUser
B2BSelectionData addRoleToUser(java.lang.String userId)
Adds a role to the user- Parameters:
userId- is the identifier of the user- Returns:
- the resulting
B2BSelectionData
-
removeRoleFromUser
B2BSelectionData removeRoleFromUser(java.lang.String userId)
Removes a role from the user- Parameters:
userId- is the identifier of the user- Returns:
- the resulting
B2BSelectionData
-
-