daily pastebin goal
15%
SHARE
TWEET

LDAP sec. dom.

jachym_culka Oct 2nd, 2012 9 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <subsystem xmlns="urn:jboss:domain:security:1.1">
  2.  <security-domains>
  3.   ...
  4.   <security-domain name="ldap" cache-type="default">
  5.    <authentication>
  6.     <login-module code="org.jboss.security.auth.spi.LdapExtLoginModule" flag="required">
  7.      <module-option name="java.naming.factory.initial" value="com.sun.jndi.ldap.LdapCtxFactory"/>
  8.      <module-option name="java.naming.security.authentication" value="simple"/>
  9.      <module-option name="java.naming.provider.url" value="ldaps://example.doxologic.com"/>
  10.      <module-option name="bindDN" value="uid=jboss7,ou=systemUsers,ou=entities,dc=doxologic,dc=com"/>
  11.      <module-option name="bindCredential" value="jboss7ldapHeslo"/>
  12.      <module-option name="baseCtxDN" value="ou=people,ou=entities,dc=doxologic,dc=com"/>
  13.      <module-option name="baseFilter" value="(uid={0})"/>
  14.      <module-option name="rolesCtxDN" value="ou=roles,dc=doxologic,dc=com"/>
  15.      <module-option name="roleFilter" value="(member={1})"/>
  16.      <module-option name="roleAttributeIsDN" value="true"/>
  17.      <module-option name="roleNameAttributeID" value="cn"/>
  18.      <module-option name="roleRecursion" value="1"/>
  19.     </login-module>
  20.    </authentication>
  21.   </security-domain>
  22.  </security-domains>
  23. </subsystem>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top