Interface RolePermissionResolver
-
public interface RolePermissionResolver
A RolePermissionResolver resolves a String value and converts it into a Collection ofPermission
instances. In some cases aRealm
my only be able to return a list of roles. This component allows an application to resolve the roles into permissions.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collection<Permission>
resolvePermissionsInRole(String roleString)
Resolves a Collection of Permissions based on the given String representation.
-
-
-
Method Detail
-
resolvePermissionsInRole
Collection<Permission> resolvePermissionsInRole(String roleString)
Resolves a Collection of Permissions based on the given String representation.- Parameters:
roleString
- the String representation of a role name to resolve.- Returns:
- a Collection of Permissions based on the given String representation.
-
-