Hi. Why dont you use multiple realms configuration ?

Cédric.
________________________________
De : Joffry Ferrater<mailto:[email protected]>
Envoyé : ‎06-‎11-‎15 15:57
À : [email protected]<mailto:[email protected]>
Objet : Multiple shiro.ini files

Hello,

Is it possible to use multiple shiro.ini?

We have a project that uses two shiro.ini files. User will login with
domain in this format <domain name>\<username>. We determine the shiro ini
file to use by its domain name.


Example:

   First user, domainOne\user1.  The shiro configuration file to use is
domainOne.ini and this user1 should be authenticated to LDAP realm
configured in domainOne.ini.

   Second user, domainTwo\user2. The shiro configuration file to use is
domainTwo.ini and this user2 should be authenticated to the LDAP realm
configured in domainTwo.ini.

The problem we have is that the first user can authenticate but the second
user will fail because shiro is still using the previous configuration. I
think the issue is with the caching.

Is there a way to use multiple shiro configuration?

thanks,
=Joffry=

Reply via email to