Hi,

I'm using Inspektr audits against a database with the configuration below in 
CAS 4.0.

The column AUD_USER is never populated except with SERVICE_TICKET_CREATED 
actions.

Is my config wrong? Thanks!

Beans configured at deployerConfigContext.xml:

        <bean id="auditTrailManager" 
class="com.github.inspektr.audit.support.JdbcAuditTrailManager">
                <constructor-arg index="0" ref="inspektrTransactionTemplate" />
                <property name="dataSource" ref="dataSource" />
                <property name="cleanupCriteria" ref="auditCleanupCriteria" />
        </bean>
        <bean id="auditCleanupCriteria"
                
class="com.github.inspektr.audit.support.MaxAgeWhereClauseMatchCriteria">
                <constructor-arg index="0" value="180" />
        </bean>

Beans added to the stock auditTrailContext.xml (not documented at 
http://jasig.github.io/cas/4.0.0/installation/Logging.html#jdbcaudittrailmanager):

  <bean id="inspektrTransactionManager"
    class="org.springframework.jdbc.datasource.DataSourceTransactionManager"
    p:dataSource-ref="dataSource"
  />
 
  <bean id="inspektrTransactionTemplate"
    class="org.springframework.transaction.support.TransactionTemplate"
    p:transactionManager-ref="inspektrTransactionManager"
    p:isolationLevelName="ISOLATION_READ_COMMITTED"
    p:propagationBehaviorName="PROPAGATION_REQUIRED"
  />
   
  <bean id="auditManager" 
class="com.github.inspektr.audit.support.JdbcAuditTrailManager">
    <constructor-arg index="0" ref="inspektrTransactionTemplate" />
    <property name="dataSource" ref="dataSource" />
  </bean>
-- 
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