Class BcdShiroHelper

java.lang.Object
org.apache.shiro.realm.BcdShiroHelper

public class BcdShiroHelper extends Object
Helper in Shiro's package to access protected parts of Shiro's API
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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