Update:
I just thought I can define a second REALM
protected void configureShiroWeb() {
try {
bindRealm().toConstructor(IniRealm.class.getConstructor(Ini.class));
bindRealm().toConstructor(MyADRealm.class.getConstructor());
}
but at the starting of my webapp I get
...realm.ldap.AbstractLdapRealm - No LdapContextFactory specified - creating
a default instance
so where shiro try to authenticate against MyADRealm I get:
java.lang.IllegalStateException: An LDAP URL must be specified of the form
ldap://<hostname>:<port>
How can I initialize a LdapContextFactory? It's ignoring the one in my ini
file...
Some idea?
--
View this message in context:
http://shiro-user.582556.n2.nabble.com/Shiro-Guice-tp7580965p7580966.html
Sent from the Shiro User mailing list archive at Nabble.com.