Re: Anonymous binding issue while searching LDAP roles

2016-08-22 Thread Brian Demers
Ahh, I understand now. Take a look at this thread: http://shiro-user.582556.n2.nabble.com/How-to-set-a-custom-principal-object-td1090270.html You could possibly build and attach an AuthorizationInfo object to your principal when the user logs in. There are a couple scenarios that this would

Re: custom in shiro.ini

2016-08-22 Thread Brian Demers
In this case both 'customAuthorizer' and 'config' define which class is used. After 'config' is instantiated config.setAuthorizers(Map) would be called. In this case the map contains two entries with keys 'admin' and 'custom'. (with values being the instances represented by '$requireRoleAdmin'

custom in shiro.ini

2016-08-22 Thread Gabriel Titerlea
Hi, What is the "custom" variable in the shiro.ini? I am trying to use buji-pac4j and I see that in a demo application [1] it uses a "custom" variable. Where is this variable defined? What is it used for? I see that it is used like this: custom:$customAuthorizer. And the variable