Interface RolePermissionResolver


  • public interface RolePermissionResolver
    A RolePermissionResolver resolves a String value and converts it into a Collection of Permission instances.

    In some cases a Realm my only be able to return a list of roles. This component allows an application to resolve the roles into permissions.
    • 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.