Clean up imports
Ldap Group Mapping
[#53029645]
https://www.pivotaltracker.com/story/show/53029645
Initial implementation of LDAP groups to scopes mapping.
Not yet complete. The groups must be persisted into the UAA db in order for them to be picked up when a token is issued.
Correctly query the the username when trying to add users through an event
Refactoring to allow external groups to be automatically be created.
For example, when LDAP groups are being parsed, they will be created in SCIM and added to the user.
Refactoring includes
- hamcrest library properly added as dependency
- junit removed as compile time dependency
- SimpleSearchQueryConverter uses the correct SDK to properly parse filters
- SCIMSearchQueryConverter simply extends the SimpleSearchQueryConverter
- Implement methods to be able to delete records using a filter Queryable<T> has a 'int delete(String)' method
- Add origin column to 'group_membership' table so that we can track who create the group memberships.
Temporary place holder until spring-security-ldap contains a better way to search groups in ldap.
These classes are able to return the DN in form of an LdapAuthority
Implement nested search for static groups
Implement mapping of LDAP groups to scopes using the external_group_mappings table.
Merge branch 'feature/ldap_groups_as_scopes' into develop
https://www.pivotaltracker.com/story/show/53029645
[#53029645]
Completes LDAP functionality