Confused By Class Hierarchy

2016-09-25 Thread opticyclic
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

Can We Expose The ActiveDirectoryRealm searchFilter?

2016-09-25 Thread opticyclic
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

Re: New LDAP Realm Proposal

2016-09-25 Thread opticyclic
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

Re: Anonymous binding issue while searching LDAP roles

2016-09-25 Thread opticyclic
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

Re: Can We Expose The ActiveDirectoryRealm searchFilter?

2016-09-28 Thread opticyclic
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

Re: New LDAP Realm Proposal

2016-09-28 Thread opticyclic
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.

When Will The Next Release Be?

2016-10-13 Thread opticyclic
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:

Re: When Will The Next Release Be?

2016-11-03 Thread opticyclic
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