> Here is my pom.xml (does it look correct for AD LDAP authentication):

You have the necessary ldap dependency declared, which should be the
only change required in the pom.

> Also, how do I setup logging because catalina.out still complains about not 
> being able to log (I guess create a cas.log file)?

There's nothing to configure by default; you simply need to ensure
that the user under which tomcat runs has write privileges to the
current working directory.  You can change this by creating a
WEB-INF/classes/log4j.xml file that has a full path defined, e.g.:

    <appender name="cas" class="org.apache.log4j.RollingFileAppender">
        <param name="File" value="/var/log/cas/cas.log" />
        <param name="MaxFileSize" value="512KB" />
        <param name="MaxBackupIndex" value="3" />
        <layout class="org.apache.log4j.PatternLayout">
            <param name="ConversionPattern" value="%d %p [%c] - %m%n"/>
        </layout>
    </appender>

In any case it's vital that you ensure the tomcat process owner has
write privileges to the path where cas.log would be written.

M

-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to