Package org.apache.shiro.realm
Class BcdShiroHelper
- java.lang.Object
-
- org.apache.shiro.realm.BcdShiroHelper
-
public class BcdShiroHelper extends java.lang.Object
Helper in Shiro's package to access protected parts of Shiro's API
-
-
Constructor Summary
Constructors Constructor Description BcdShiroHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.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
-
-
-
Method Detail
-
getAuthorizationInfo
public static java.lang.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
-
-