org.apache.shiro.authz.permission
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 Summary
 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.


Copyright © 2004-2016 The Apache Software Foundation. All Rights Reserved.