AnsweredAssumed Answered

LDAP Authentication Error

Question asked by cmathieu on Jan 9, 2007
Latest reply on Jan 30, 2007 by andy
Hi all,

I got the following error with Alfresco 1.4 Community when I tried to authenticate with my LDAP server using multiple context:

javax.faces.FacesException: Error calling action method of component with id loginForm:submit
caused by:
javax.faces.el.EvaluationException: Exception while invoking expression #{LoginBean.login}
caused by:
java.util.MissingFormatArgumentException: Format specifier 's'

I have no idea what this error means so any help would be greatly appreciated!

This is my current LDAP configuration:

This maps between what the user types in and what is passed through to the underlying LDAP authentication.
           
            "%s" - the user id is passed through without modification.
            Used for LDAP authentication such as DIGEST-MD5, anything that is not "simple".
           
            "cn=%s,ou=London,dc=company,dc=com" - If the user types in "Joe Bloggs" the authentricate as "cn=Joe Bloggs,ou=London,dc=company,dc=com"
            Usually for simple authentication.
           
            –>
            <value>cn=%s,o=NEHTA;cn=%s,o=SYDNEY,ou=USERS</value>
        </property>
    </bean>

I need for Alfresco to search multiple context as my users are not all under the one context.

Thanks

Charles Mathieu

Outcomes