Add LDAP plugin configuration to JAAS login.config #96
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The following new parameters allows to configure a secondary (sufficient) or primary (required) LDAP authentication endpoint.
activemq_auth_properties_enabled
True
activemq_auth_ldap_enabled
False
activemq_auth_ldap_url
ldap://localhost:389
activemq_auth_ldap_conn_username
uid=admin,ou=system
activemq_auth_ldap_conn_password
password
activemq_auth_ldap_conn_codec
{{ activemq_password_codec }}
activemq_auth_ldap_conn_protocol
s
activemq_auth_ldap_auth
simple
activemq_auth_ldap_user_base
ou=Users,dc=example,dc=com
activemq_auth_ldap_user_search
(uid={0})
activemq_auth_ldap_user_search_subtree
True
activemq_auth_ldap_role_base
ou=Groups,dc=example,dc=com
activemq_auth_ldap_role_name
cn
activemq_auth_ldap_role_search
(member={0})
activemq_auth_ldap_role_search_subtree
False
Example:
It will authenticate and authorized LDAP users in the "Scientists" group; in addition to
amq
andother
defined in property files.Fix #80