I'm a little bit confused by the naming conventions in the class hierarchy I
see in Shiro.
For instance:
public interface WebEnvironment extends Environment
However:
public class DefaultWebEnvironment extends DefaultEnvironment
- DefaultEnvironment implements NamedObjectEnvironment
The
org.apache.shiro.realm.activedirectory.ActiveDirectoryRealm#getRoleNamesForUser
uses the following ldap query to search for groups:
String searchFilter = "(&(objectClass=*)(userPrincipalName={0}))";
I have seen instances where the userPrincipalName is not always populated
but the sAMAccountNa
I think once #3 and #4 are done then #5 almost comes automatically as the
user can add the various filters in the ini for the different uses cases.
However, there should be a useful set of defaults that work most of the
time.
In that case, #5 could be implemented as a series of default search filte
See here for a working example of changing where the searching for roles is
done
https://github.com/opticyclic/shiro-spring-examples/tree/master/ms-active-directory-custom
Specifically:
During login we bind using the user credentials and get the roles (we have
to copy the code from the parent
Please see this pull request to expose the property
https://github.com/apache/shiro/pull/40
--
View this message in context:
http://shiro-user.582556.n2.nabble.com/Can-We-Expose-The-ActiveDirectoryRealm-searchFilter-tp7581290p7581300.html
Sent from the Shiro User mailing list archive at Nabble
If you post your fork where you are doing the work, I can pitch in a bit.
--
View this message in context:
http://shiro-user.582556.n2.nabble.com/New-LDAP-Realm-Proposal-tp7581200p7581301.html
Sent from the Shiro User mailing list archive at Nabble.com.
I'm itching to create a new release of my application with the recent pull
requests.
I'm taking out Spring Security and replacing it with Shiro!
Is there a plan for a new point release soon?
Are they done ad-hoc or on a monthly basis or something?
Thanks
--
View this message in context:
http:
The last build of Jenkins
(https://builds.apache.org/view/Shiro/job/Shiro-1.4.x/lastBuild/) is blue
balls now.
Is there anything else outstanding for the 1.4 release that needs fixing?
--
View this message in context:
http://shiro-user.582556.n2.nabble.com/When-Will-The-Next-Release-Be-tp75813