Hi,
I am authenticating against ActiveDirectory. For testing, I hard coded the
systemUserName in configuration like this:
<bean id="adRealm"
class="org.apache.shiro.realm.activedirectory.ActiveDirectoryRealm">
<property name="url"
value="ldap://<myldaphost>:389" />
<property name="searchBase" value="<some DC
parameters"/>
<property name="systemUsername"
value="<e-mail id>"/>
</bean>
this code is working fine but its hardcoded with e-mail id of user..shiro is
authenticating this user but I am not able to find any way to pass
systemUserName property from my login form.
Do we have some kind of a placeholder like we have in jndiLdapRealm?
Please let me know. Thanks in advance
Rajat
--
View this message in context:
http://shiro-user.582556.n2.nabble.com/How-to-pass-username-from-login-form-to-ActiveDirectoryRealm-tp7579187.html
Sent from the Shiro User mailing list archive at Nabble.com.