File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -158,6 +158,32 @@ Connection details need to be set in the jaas.conf file
158158
159159Administrators will be added as they are authenticated and profiles of systems may be assigned by full-privileged users.
160160
161+ User LDAP roles can be mapped to profiles defined in KeyBox through the use of the org.eclipse.jetty.jaas.spi.LdapLoginModule.
162+
163+ ldap-ol-with-roles {
164+ //openldap auth with roles that can map to profiles
165+ org.eclipse.jetty.jaas.spi.LdapLoginModule required
166+ debug="false"
167+ useLdaps="false"
168+ contextFactory="com.sun.jndi.ldap.LdapCtxFactory"
169+ hostname="<SERVER>"
170+ port="389"
171+ bindDn="<BIND-DN>"
172+ bindPassword="<BIND-DN PASSWORD>"
173+ authenticationMethod="simple"
174+ forceBindingLogin="true"
175+ userBaseDn="ou=users,dc=keybox,dc=com"
176+ userRdnAttribute="uid"
177+ userIdAttribute="uid"
178+ userPasswordAttribute="userPassword"
179+ userObjectClass="inetOrgPerson"
180+ roleBaseDn="ou=groups,dc=keybox,dc=com"
181+ roleNameAttribute="cn"
182+ roleMemberAttribute="member"
183+ roleObjectClass="groupOfNames";
184+ };
185+
186+ Users will be added/removed from defined profiles as they login and when the role name matches the profile name.
161187
162188Auditing
163189------
You can’t perform that action at this time.
0 commit comments