shiro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Demers (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SHIRO-464) Support role mapping similar to PermissionResolver and RolePermissionResolver
Date Wed, 06 Jul 2016 19:27:10 GMT

    [ https://issues.apache.org/jira/browse/SHIRO-464?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15364934#comment-15364934
] 

Brian Demers commented on SHIRO-464:
------------------------------------

We need to revisit this for 2.0, where related API changes are planed.
https://cwiki.apache.org/confluence/display/SHIRO/Version+2+Brainstorming#Version2Brainstorming-Realmrefactoring

> Support role mapping similar to PermissionResolver and RolePermissionResolver
> -----------------------------------------------------------------------------
>
>                 Key: SHIRO-464
>                 URL: https://issues.apache.org/jira/browse/SHIRO-464
>             Project: Shiro
>          Issue Type: New Feature
>          Components: Authorization (access control) 
>    Affects Versions: 1.2.2
>            Reporter: Kevin Minder
>              Labels: patch, patch-with-test
>             Fix For: 2.0.0
>
>         Attachments: SHIRO-464__Support_role_mapping_similar_to_PermissionResolver_and_RolePermissionResolver.patch
>
>
> The basic idea is to provide a plug-in point that can be used to resolve principals to
roles or map input roles to output roles that can be externalized from an AuthorizingRealm.
 The primary use case that is driving this for me is to be able to resolve group principals
provided by an AuthenticatingRealm to a set of roles.  This will allow for multiple AuthorizingRealm
to share RoleMapper implementations.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message