Skip to content

Instantly share code, notes, and snippets.

@bhalothia
Last active August 29, 2015 14:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bhalothia/496fa45323aca6e0bc56 to your computer and use it in GitHub Desktop.
Save bhalothia/496fa45323aca6e0bc56 to your computer and use it in GitHub Desktop.
RDpropertyfilelogin {
org.mortbay.jetty.plus.jaas.spi.PropertyFileLoginModule sufficient
debug="true"
file="/.../server/config/realm.properties";
com.dtolabs.rundeck.jetty.jaas.JettyCachingLdapLoginModule sufficient
debug="false"
contextFactory="com.sun.jndi.ldap.LdapCtxFactory"
providerUrl="ldap://xx.xx.xx.xx:389"
port="389"
authenticationMethod="simple"
forceBindingLogin="true"
userBaseDn="o=example,c=com"
userRdnAttribute="uid"
userIdAttribute="uid"
userPasswordAttribute="userPassword"
userObjectClass="inetOrgPerson"
roleBaseDn="o=example,c=com"
roleNameAttribute="cn"
roleMemberAttribute="uniqueMember"
roleObjectClass="groupofuniquenames"
cacheDurationMillis="100"
reportStatistics="true";
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment