Package org.apache.shiro.realm
Class BcdShiroHelper
java.lang.Object
org.apache.shiro.realm.BcdShiroHelper
Helper in Shiro's package to access protected parts of Shiro's API
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Object
getAuthorizationInfo
(org.apache.shiro.realm.AuthorizingRealm realm, org.apache.shiro.subject.PrincipalCollection pc) Allow to retrieve the permissions from a Shiro principal for a Realm We want to get all permissions for example for in - clauses in SQL but Shiro API thinks in terms of 'am I allowed to do this' and we want 'what are the things I am allowed' Shiro's AuthorizingRealm.getAuthorizationInfo() is therefore protected and we have this class in the same package to still cleanly call it
-
Constructor Details
-
BcdShiroHelper
public BcdShiroHelper()
-
-
Method Details
-
getAuthorizationInfo
public static Object getAuthorizationInfo(org.apache.shiro.realm.AuthorizingRealm realm, org.apache.shiro.subject.PrincipalCollection pc) Allow to retrieve the permissions from a Shiro principal for a Realm We want to get all permissions for example for in - clauses in SQL but Shiro API thinks in terms of 'am I allowed to do this' and we want 'what are the things I am allowed' Shiro's AuthorizingRealm.getAuthorizationInfo() is therefore protected and we have this class in the same package to still cleanly call it
-