You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@shiro.apache.org by hesa <he...@gmail.com> on 2015/11/20 16:56:53 UTC

Using different LDAP host

Hi,

I writing a application that is secured by Shiro with LDAP and everything
works great. 

But I want to use different LDAP-host in test environments than in
production. Is it possible to use the same ini-file but set different hosts
for ldap depending on some condition like system properties? Is there any
why to set dynamic values in the ini-file? 

I've tried to set the url value by setting the url in the realm. That works,
but it feels like it's the wrong approach.

Any thoughts is appreciated!



--
View this message in context: http://shiro-user.582556.n2.nabble.com/Using-different-LDAP-host-tp7580858.html
Sent from the Shiro User mailing list archive at Nabble.com.