Hi,

As I am experimenting with CAS 4.0 RC1 with my custom authentication handler 
with the provided PolicyBasedAuthenticationManager + AnyAuthenticationPolicy I 
got an exception related to inspektr audit. The exception is as follows,



2013-07-31 03:45:30,671 INFO 
[org.jasig.cas.services.DefaultServicesManagerImpl] - Reloading registered 
services.
2013-07-31 03:45:30,671 INFO 
[org.jasig.cas.services.DefaultServicesManagerImpl] - Loaded 1 services.
2013-07-31 03:45:50,288 INFO 
[org.jasig.cas.authentication.PolicyBasedAuthenticationManager] - 
AcceptUsersAuthenticationHandler failed authenticating admin+password
2013-07-31 03:45:50,304 INFO 
[org.jasig.cas.authentication.PolicyBasedAuthenticationManager] - 
com.emc.shared.security.cas.spring.CAS40UsernamePasswordAuthenticationHandler 
successfully authenticated admin+password
2013-07-31 03:45:50,309 INFO 
[com.github.inspektr.audit.support.Slf4jLoggingAuditTrailManager] - Audit trail 
record BEGIN
=============================================================
WHO: audit:unknown
WHAT: 'principal' cannot be null.
Check the correctness of @Audit annotation at the following audit point: 
execution(public abstract transient org.jasig.cas.authentication.Authentication 
org.jasig.cas.authentication.AuthenticationManager.authenticate(org.jasig.cas.authentication.Credential[]))
ACTION: TICKET_GRANTING_TICKET_NOT_CREATED
APPLICATION: CAS
WHEN: Wed Jul 31 03:45:50 EDT 2013
CLIENT IP ADDRESS: 10.30.100.45
SERVER IP ADDRESS: 10.247.77.210
=============================================================

In this log it is evident that there is a successful authentication happening, 
but it its failing in the inspektr audit. Can you please help me resolving this 
issue?

Regards,
--
Avinash

-- 
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-dev

Reply via email to