ok, i did that, but  can i open a feature request to externelize the query in
the ActiveDirectoryRealm? 

the simplest example would be instead of 
String searchFilter = "(&(objectClass=*)(userPrincipalName={0}))";

use
String searchFilter = "(&(objectClass=*)("+getFieldName()+"={0}))";


or you could externalize the entire query in a method..



--
View this message in context: 
http://shiro-user.582556.n2.nabble.com/overiding-the-search-for-principal-Name-tp6375068p6376444.html
Sent from the Shiro User mailing list archive at Nabble.com.

Reply via email to