Help

Built with Seam

You can find the full source code for this website in the Seam package in the directory /examples/wiki. It is licensed under the LGPL.

ActiveDirectory as LDAP identity store configuration example:

<security:identity-manager identity-store="#{ldapIdentityStore}"/>

    <security:ldap-identity-store name="ldapIdentityStore"
                                  server-address="domain-controller.foo.com"
                                  server-port="389"
                                  bind-DN="BindActiveDirectoryUser"
                                  bind-credentials="BindActiveDirectoryUserPassword"

                                  user-name-attribute="sAMAccountName"
                                  user-DN-prefix="FOO\"
                                  user-DN-suffix=""

                                  user-context-DN="OU=Foo Users and Groups,DC=foo,DC=com"
                                  role-context-DN="OU=Foo Users and Groups,DC=foo,DC=com"
                                  
                                  user-role-attribute="memberOf"
                                  role-name-attribute="name"
                                  user-object-classes="user"
                                  role-object-classes="group"/>