ldapIdentityStore - Error invoking login method
charliebarjel Nov 9, 2009 10:51 PMHi,
I have setup the ldap-identity-store in my components.xml, but I seem to be getting an exception, and I cant find the actual cause:
12:19:38,410 WARN [SeamLoginModule] Error invoking login method
It does not print out any other exception or details...is there anyway to see the full exception so I know where the error is actually coming from?
Here is my components.xml
<?xml version="1.0" encoding="UTF-8"?> <components xmlns="http://jboss.com/products/seam/components" xmlns:core="http://jboss.com/products/seam/core" xmlns:persistence="http://jboss.com/products/seam/persistence" xmlns:drools="http://jboss.com/products/seam/drools" xmlns:bpm="http://jboss.com/products/seam/bpm" xmlns:security="http://jboss.com/products/seam/security" xmlns:mail="http://jboss.com/products/seam/mail" xmlns:web="http://jboss.com/products/seam/web" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation= "http://jboss.com/products/seam/core http://jboss.com/products/seam/core-2.2.xsd http://jboss.com/products/seam/persistence http://jboss.com/products/seam/persistence-2.2.xsd http://jboss.com/products/seam/drools http://jboss.com/products/seam/drools-2.2.xsd http://jboss.com/products/seam/bpm http://jboss.com/products/seam/bpm-2.2.xsd http://jboss.com/products/seam/security http://jboss.com/products/seam/security-2.2.xsd http://jboss.com/products/seam/mail http://jboss.com/products/seam/mail-2.2.xsd http://jboss.com/products/seam/web http://jboss.com/products/seam/web-2.2.xsd http://jboss.com/products/seam/components http://jboss.com/products/seam/components-2.2.xsd"> <core:init debug="@debug@" jndi-pattern="@jndiPattern@"/> <core:manager concurrent-request-timeout="500" conversation-timeout="120000" conversation-id-parameter="cid" parent-conversation-id-parameter="pid"/> <!-- Make sure this URL pattern is the same as that used by the Faces Servlet --> <web:hot-deploy-filter url-pattern="*.seam"/> <!-- If you are still using JBoss 4, uncomment this to have you PU started --> <!-- <persistence:entity-manager-factory name="entityManagerFactory" persistence-unit-name="koncentrator" installed="@seamBootstrapsPu@"/>--> <persistence:managed-persistence-context name="entityManager" auto-create="true" entity-manager-factory="@seamEmfRef@" persistence-unit-jndi-name="@puJndiName@"/> <drools:rule-base name="securityRules"> <drools:rule-files><value>/security.drl</value></drools:rule-files> </drools:rule-base> <security:rule-based-permission-resolver security-rules="#{securityRules}"/> <security:identity remember-me="true"/> <security:ldap-identity-store name="ldapIdentityStore" server-address="ldap://ac3adc01" server-port="389" bind-DN="cn=LDAPReadAccount,cn=Users,dc=StateWater,dc=local" bind-credentials="LDAP09SW!" user-DN-prefix="sAMAccountName=" user-DN-suffix=",ou=Parramatta,ou=Offices,ou=Sites,dc=StateWater,dc=local" role-DN-prefix="cn=" role-DN-suffix=",ou=Groups,ou=Sites,dc=StateWater,dc=local" user-context-DN="ou=Parramatta,ou=Offices,ou=Sites,dc=StateWater,dc=local" role-context-DN="ou=Groups,ou=Sites,dc=StateWater,dc=local" user-role-attribute="memberOf" role-name-attribute="name" user-object-classes="person,user" role-object-classes="group" enabled-attribute="enabled" /> <security:identity-manager identity-store="#{ldapIdentityStore}"/> <event type="org.jboss.seam.security.notLoggedIn"> <action execute="#{redirect.captureCurrentView}"/> </event> <event type="org.jboss.seam.security.loginSuccessful"> <action execute="#{redirect.returnToCapturedView}"/> </event> <mail:mail-session host="localhost" port="25"/> <!-- For use with jBPM pageflow or process management --> <!-- <bpm:jbpm> <bpm:process-definitions></bpm:process-definitions> <bpm:pageflow-definitions></bpm:pageflow-definitions> </bpm:jbpm> --> </components>
Any suggestions would be appreciated.