Hi All

I am new to CAS.
I have done the CAS4 configuration with Spring Security and Active 
directory.
I am able to authenticate successfully.

But after that not able to retrieve the roles from LDAP for authorisation.

I think I am missing some configuration in spring security - 
*userDetailsService 
*for the *casAuthenticationProvider *bean.

I have attached the config files and trying to resolve this.
Any help would be great.

=============================================================
WHO: audit:unknown
WHAT: supplied credentials: [taylorj+password]
ACTION: AUTHENTICATION_SUCCESS
APPLICATION: CAS
WHEN: Tue Sep 23 16:39:07 BST 2014
CLIENT IP ADDRESS: 127.0.0.1
SERVER IP ADDRESS: 127.0.0.1
=============================================================
WHO: audit:unknown
WHAT: TGT-4-JGAKCUqeXpgx5DYct41nYU5R5OlXwCvQf1loRcu3NevG3pczFj-cas01
ACTION: TICKET_GRANTING_TICKET_CREATED
APPLICATION: CAS
WHEN: Tue Sep 23 16:39:07 BST 2014
CLIENT IP ADDRESS: 127.0.0.1
SERVER IP ADDRESS: 127.0.0.1
=============================================================
WHO: taylorj
WHAT: ST-4-UK0J2vYFNE7corYNSM1U-cas01.eba.europa.eu for 
http://localhost:8080/casldap/j_spring_cas_security_check
ACTION: SERVICE_TICKET_CREATED
APPLICATION: CAS
WHEN: Tue Sep 23 16:39:07 BST 2014
CLIENT IP ADDRESS: 127.0.0.1
SERVER IP ADDRESS: 127.0.0.1
=============================================================
WHO: audit:unknown
WHAT: ST-4-UK0J2vYFNE7corYNSM1U-cas01.eba.europa.eu
ACTION: SERVICE_TICKET_VALIDATED
APPLICATION: CAS
WHEN: Tue Sep 23 16:39:07 BST 2014
CLIENT IP ADDRESS: 127.0.0.1
SERVER IP ADDRESS: 127.0.0.1
=============================================================

=============================================================
WHO: audit:unknown
WHAT: ST-4-UK0J2vYFNE7corYNSM1U-cas01.eba.europa.eu
ACTION: SERVICE_TICKET_VALIDATE_FAILED
APPLICATION: CAS
WHEN: Tue Sep 23 16:39:08 BST 2014
CLIENT IP ADDRESS: 127.0.0.1
SERVER IP ADDRESS: 127.0.0.1
=============================================================

And ends in this error.....


HTTP Status 500 - [LDAP: error code 49 - 80090308: LdapErr: DSID-0C0903A9, 
comment: AcceptSecurityContext error, data 52e, v1db1]; nested exception is 
javax.naming.AuthenticationException: [LDAP: error code 49 - 80090308: 
LdapErr: DSID-0C0903A9, comment: AcceptSecurityContext error, data 52e, 
v1db1]


Thanks
Jay

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

Attachment: spring-security.xml
Description: XML document

Attachment: deployerConfigContext.xml
Description: XML document

2014-09-23 16:39:07,801 DEBUG 
[org.jasig.cas.authentication.LdapAuthenticationHandler] - <Found principal 
attribute: [displayName[James TAYLOR]]>
2014-09-23 16:39:07,805 DEBUG 
[org.jasig.cas.authentication.LdapAuthenticationHandler] - <Found principal 
attribute: [memberOf[CN=USERTOKEN,OU=GROUPS,
OU=EGATE,DC=EGATE-T,DC=LOCAL, 
CN=ROLE_CIR_AUTHORISER,OU=GROUPS,OU=EGATE,DC=EGATE-T,DC=LOCAL]]>
2014-09-23 16:39:07,805 INFO 
[org.jasig.cas.authentication.PolicyBasedAuthenticationManager] - 
<LdapAuthenticationHandler successfully authenticated t
aylorj+password>
2014-09-23 16:39:07,805 DEBUG 
[org.jasig.cas.authentication.principal.PersonDirectoryPrincipalResolver] - 
<Attempting to resolve a principal...>
2014-09-23 16:39:07,811 DEBUG 
[org.jasig.cas.authentication.principal.PersonDirectoryPrincipalResolver] - 
<Creating SimplePrincipal for [taylorj]>
2014-09-23 16:39:07,811 DEBUG 
[org.jasig.cas.authentication.PolicyBasedAuthenticationManager] - 
<org.jasig.cas.authentication.principal.PersonDirector
yPrincipalResolver@2872e640 resolved taylorj from taylorj+password>
2014-09-23 16:39:07,812 INFO 
[org.jasig.cas.authentication.PolicyBasedAuthenticationManager] - 
<Authenticated taylorj with credentials [taylorj+passwo
rd].>
2014-09-23 16:39:07,812 DEBUG 
[org.jasig.cas.authentication.PolicyBasedAuthenticationManager] - <Attribute 
map for taylorj: {uid=uid}>
2014-09-23 16:39:07,813 INFO [org.perf4j.TimingLogger] - <start[1411486747740] 
time[72] tag[AUTHENTICATE]>
2014-09-23 16:39:07,813 INFO 
[com.github.inspektr.audit.support.Slf4jLoggingAuditTrailManager] - <Audit 
trail record BEGIN
=============================================================
WHO: audit:unknown
WHAT: supplied credentials: [taylorj+password]
ACTION: AUTHENTICATION_SUCCESS
APPLICATION: CAS
WHEN: Tue Sep 23 16:39:07 BST 2014
CLIENT IP ADDRESS: 127.0.0.1
SERVER IP ADDRESS: 127.0.0.1
=============================================================

>
2014-09-23 16:39:07,820 DEBUG 
[org.jasig.cas.ticket.registry.DefaultTicketRegistry] - <Added ticket 
[TGT-4-JGAKCUqeXpgx5DYct41nYU5R5OlXwCvQf1loRcu3Nev
G3pczFj-cas01.eba.europa.eu] to registry.>
2014-09-23 16:39:07,822 INFO [org.perf4j.TimingLogger] - <start[1411486747740] 
time[82] tag[CREATE_TICKET_GRANTING_TICKET]>
2014-09-23 16:39:07,822 INFO 
[com.github.inspektr.audit.support.Slf4jLoggingAuditTrailManager] - <Audit 
trail record BEGIN
=============================================================
WHO: audit:unknown
WHAT: 
TGT-4-JGAKCUqeXpgx5DYct41nYU5R5OlXwCvQf1loRcu3NevG3pczFj-cas01.eba.europa.eu
ACTION: TICKET_GRANTING_TICKET_CREATED
APPLICATION: CAS
WHEN: Tue Sep 23 16:39:07 BST 2014
CLIENT IP ADDRESS: 127.0.0.1
SERVER IP ADDRESS: 127.0.0.1
=============================================================

>
2014-09-23 16:39:07,830 DEBUG 
[org.jasig.cas.web.support.CookieRetrievingCookieGenerator] - <Removed cookie 
with name [CASPRIVACY]>
2014-09-23 16:39:07,835 DEBUG 
[org.jasig.cas.ticket.registry.DefaultTicketRegistry] - <Attempting to retrieve 
ticket [TGT-4-JGAKCUqeXpgx5DYct41nYU5R5O
lXwCvQf1loRcu3NevG3pczFj-cas01.eba.europa.eu]>
2014-09-23 16:39:07,836 DEBUG 
[org.jasig.cas.ticket.registry.DefaultTicketRegistry] - <Ticket 
[TGT-4-JGAKCUqeXpgx5DYct41nYU5R5OlXwCvQf1loRcu3NevG3pczF
j-cas01.eba.europa.eu] found in registry.>
2014-09-23 16:39:07,837 DEBUG 
[org.jasig.cas.web.support.CookieRetrievingCookieGenerator] - <Added cookie 
with name [CASTGC] and value [TGT-4-JGAKCUqe
Xpgx5DYct41nYU5R5OlXwCvQf1loRcu3NevG3pczFj-cas01.eba.europa.eu]>
2014-09-23 16:39:07,839 DEBUG 
[org.jasig.cas.ticket.registry.DefaultTicketRegistry] - <Attempting to retrieve 
ticket [TGT-4-JGAKCUqeXpgx5DYct41nYU5R5O
lXwCvQf1loRcu3NevG3pczFj-cas01.eba.europa.eu]>
2014-09-23 16:39:07,839 DEBUG 
[org.jasig.cas.ticket.registry.DefaultTicketRegistry] - <Ticket 
[TGT-4-JGAKCUqeXpgx5DYct41nYU5R5OlXwCvQf1loRcu3NevG3pczF
j-cas01.eba.europa.eu] found in registry.>
2014-09-23 16:39:07,841 DEBUG [org.jasig.cas.CentralAuthenticationServiceImpl] 
- <Generated service ticket id [ST-4-UK0J2vYFNE7corYNSM1U-cas01.eba.eur
opa.eu] for ticket granting ticket 
[TGT-4-JGAKCUqeXpgx5DYct41nYU5R5OlXwCvQf1loRcu3NevG3pczFj-cas01.eba.europa.eu]>
2014-09-23 16:39:07,841 DEBUG 
[org.jasig.cas.ticket.registry.DefaultTicketRegistry] - <Added ticket 
[ST-4-UK0J2vYFNE7corYNSM1U-cas01.eba.europa.eu] to
 registry.>
2014-09-23 16:39:07,842 INFO [org.jasig.cas.CentralAuthenticationServiceImpl] - 
<Granted service ticket [ST-4-UK0J2vYFNE7corYNSM1U-cas01.eba.europa.eu
] for service [http://localhost:8080/casldap/j_spring_cas_security_check] for 
user [taylorj]>
2014-09-23 16:39:07,844 INFO [org.perf4j.TimingLogger] - <start[1411486747839] 
time[5] tag[GRANT_SERVICE_TICKET]>
2014-09-23 16:39:07,844 DEBUG 
[org.jasig.cas.ticket.registry.DefaultTicketRegistry] - <Attempting to retrieve 
ticket [TGT-4-JGAKCUqeXpgx5DYct41nYU5R5O
lXwCvQf1loRcu3NevG3pczFj-cas01.eba.europa.eu]>
2014-09-23 16:39:07,844 DEBUG 
[org.jasig.cas.ticket.registry.DefaultTicketRegistry] - <Ticket 
[TGT-4-JGAKCUqeXpgx5DYct41nYU5R5OlXwCvQf1loRcu3NevG3pczF
j-cas01.eba.europa.eu] found in registry.>
2014-09-23 16:39:07,847 INFO 
[com.github.inspektr.audit.support.Slf4jLoggingAuditTrailManager] - <Audit 
trail record BEGIN
=============================================================
WHO: taylorj
WHAT: ST-4-UK0J2vYFNE7corYNSM1U-cas01.eba.europa.eu for 
http://localhost:8080/casldap/j_spring_cas_security_check
ACTION: SERVICE_TICKET_CREATED
APPLICATION: CAS
WHEN: Tue Sep 23 16:39:07 BST 2014
CLIENT IP ADDRESS: 127.0.0.1
SERVER IP ADDRESS: 127.0.0.1
=============================================================

>
16:39:07,863  INFO http-apr-8080-exec-48 Spring Security Debugger:39 -

************************************************************

Request received for GET 
'/j_spring_cas_security_check?ticket=ST-4-UK0J2vYFNE7corYNSM1U-cas01.eba.europa.eu':

org.apache.catalina.connector.RequestFacade@2bc9a915

servletPath:/j_spring_cas_security_check
pathInfo:null
headers:
host: localhost:8080
connection: keep-alive
cache-control: max-age=0
accept: 
text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
user-agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like 
Gecko) Chrome/37.0.2062.120 Safari/537.36
dnt: 1
referer: 
http://localhost:8080/cas/login?service=http%3A%2F%2Flocalhost%3A8080%2Fcasldap%2Fj_spring_cas_security_check
accept-encoding: gzip,deflate,sdch
accept-language: en-US,en;q=0.8
cookie: JSESSIONID=1E41043B8E6DEC616ED85460D4C85FEC


Security filter chain: [
  SecurityContextPersistenceFilter
  WebAsyncManagerIntegrationFilter
  LogoutFilter
  CasAuthenticationFilter
  UsernamePasswordAuthenticationFilter
  DefaultLoginPageGeneratingFilter
  BasicAuthenticationFilter
  RequestCacheAwareFilter
  SecurityContextHolderAwareRequestFilter
  AnonymousAuthenticationFilter
  SessionManagementFilter
  ExceptionTranslationFilter
  FilterSecurityInterceptor
]


************************************************************


16:39:07,881 DEBUG http-apr-8080-exec-48 web.FilterChainProxy:337 - 
/j_spring_cas_security_check?ticket=ST-4-UK0J2vYFNE7corYNSM1U-cas01.eba.europa.eu
at position 1 of 13 in additional filter chain; firing Filter: 
'SecurityContextPersistenceFilter'
16:39:07,884 DEBUG http-apr-8080-exec-48 
context.HttpSessionSecurityContextRepository:152 - HttpSession returned null 
object for SPRING_SECURITY_CONTE
XT
16:39:07,884 DEBUG http-apr-8080-exec-48 
context.HttpSessionSecurityContextRepository:91 - No SecurityContext was 
available from the HttpSession: org.
apache.catalina.session.StandardSessionFacade@6e22917b. A new one will be 
created.
16:39:07,885 DEBUG http-apr-8080-exec-48 web.FilterChainProxy:337 - 
/j_spring_cas_security_check?ticket=ST-4-UK0J2vYFNE7corYNSM1U-cas01.eba.europa.eu
at position 2 of 13 in additional filter chain; firing Filter: 
'WebAsyncManagerIntegrationFilter'
16:39:07,891 DEBUG http-apr-8080-exec-48 web.FilterChainProxy:337 - 
/j_spring_cas_security_check?ticket=ST-4-UK0J2vYFNE7corYNSM1U-cas01.eba.europa.eu
at position 3 of 13 in additional filter chain; firing Filter: 'LogoutFilter'
16:39:07,891 DEBUG http-apr-8080-exec-48 web.FilterChainProxy:337 - 
/j_spring_cas_security_check?ticket=ST-4-UK0J2vYFNE7corYNSM1U-cas01.eba.europa.eu
at position 4 of 13 in additional filter chain; firing Filter: 
'CasAuthenticationFilter'
16:39:07,894 DEBUG http-apr-8080-exec-48 web.CasAuthenticationFilter:311 - 
serviceTicketRequest = true
16:39:07,894 DEBUG http-apr-8080-exec-48 web.CasAuthenticationFilter:262 - 
requiresAuthentication = true
16:39:07,894 DEBUG http-apr-8080-exec-48 web.CasAuthenticationFilter:205 - 
Request is to process authentication
16:39:07,895 DEBUG http-apr-8080-exec-48 web.CasAuthenticationFilter:362 - 
proxyReceptorConfigured = false
16:39:07,895 DEBUG http-apr-8080-exec-48 web.CasAuthenticationFilter:349 - 
proxyReceptorRequest = false
16:39:07,896 DEBUG http-apr-8080-exec-48 web.CasAuthenticationFilter:311 - 
serviceTicketRequest = true
16:39:07,898 DEBUG http-apr-8080-exec-48 authentication.ProviderManager:152 - 
Authentication attempt using org.springframework.security.cas.authentica
tion.CasAuthenticationProvider
16:39:07,901 DEBUG http-apr-8080-exec-48 
authentication.CasAuthenticationProvider:171 - serviceUrl = 
http://localhost:8080/casldap/j_spring_cas_securi
ty_check
2014-09-23 16:39:07,905 DEBUG [org.jasig.cas.web.support.CasArgumentExtractor] 
- <Extractor generated service for: http://localhost:8080/casldap/j_spr
ing_cas_security_check>
2014-09-23 16:39:07,906 DEBUG 
[org.jasig.cas.ticket.registry.DefaultTicketRegistry] - <Attempting to retrieve 
ticket [ST-4-UK0J2vYFNE7corYNSM1U-cas01.
eba.europa.eu]>
2014-09-23 16:39:07,907 DEBUG 
[org.jasig.cas.ticket.registry.DefaultTicketRegistry] - <Ticket 
[ST-4-UK0J2vYFNE7corYNSM1U-cas01.eba.europa.eu] found in
 registry.>
2014-09-23 16:39:07,907 DEBUG [org.jasig.cas.CentralAuthenticationServiceImpl] 
- <Principal id to return for service [casldap] is [taylorj]. The defau
lt principal id is [taylorj].>
2014-09-23 16:39:07,908 DEBUG 
[org.jasig.cas.ticket.registry.DefaultTicketRegistry] - <Removing ticket 
[ST-4-UK0J2vYFNE7corYNSM1U-cas01.eba.europa.eu]
 from registry>
2014-09-23 16:39:07,908 INFO [org.perf4j.TimingLogger] - <start[1411486747906] 
time[2] tag[VALIDATE_SERVICE_TICKET]>
2014-09-23 16:39:07,908 DEBUG 
[org.jasig.cas.ticket.registry.DefaultTicketRegistry] - <Attempting to retrieve 
ticket [ST-4-UK0J2vYFNE7corYNSM1U-cas01.
eba.europa.eu]>
2014-09-23 16:39:07,909 INFO 
[com.github.inspektr.audit.support.Slf4jLoggingAuditTrailManager] - <Audit 
trail record BEGIN
=============================================================
WHO: audit:unknown
WHAT: ST-4-UK0J2vYFNE7corYNSM1U-cas01.eba.europa.eu
ACTION: SERVICE_TICKET_VALIDATED
APPLICATION: CAS
WHEN: Tue Sep 23 16:39:07 BST 2014
CLIENT IP ADDRESS: 127.0.0.1
SERVER IP ADDRESS: 127.0.0.1
=============================================================

>
2014-09-23 16:39:07,918 DEBUG [org.jasig.cas.web.ServiceValidateController] - 
<Successfully validated service ticket ST-4-UK0J2vYFNE7corYNSM1U-cas01.e
ba.europa.eu for service 
[http://localhost:8080/casldap/j_spring_cas_security_check]>
16:39:07,945 DEBUG http-apr-8080-exec-48 search.FilterBasedLdapUserSearch:107 - 
Searching for user 'taylorj', with user search [ searchFilter: '(uid={
0})', searchBase: 'ou=users,ou=egate,dc=egate-t,dc=local', scope: subtree, 
searchTimeLimit: 0, derefLinkFlag: false ]
16:39:07,965 DEBUG http-apr-8080-exec-48 
context.HttpSessionSecurityContextRepository:304 - SecurityContext is empty or 
contents are anonymous - conte
xt will not be stored in HttpSession.
16:39:07,965 DEBUG http-apr-8080-exec-48 
context.SecurityContextPersistenceFilter:97 - SecurityContextHolder now 
cleared, as request processing comple
ted
16:39:08,298  INFO http-apr-8080-exec-51 Spring Security Debugger:39 -

************************************************************

Request received for GET 
'/j_spring_cas_security_check?ticket=ST-4-UK0J2vYFNE7corYNSM1U-cas01.eba.europa.eu':

org.apache.catalina.connector.RequestFacade@7e99d5de

servletPath:/j_spring_cas_security_check
pathInfo:null
headers:
host: localhost:8080
connection: keep-alive
pragma: no-cache
cache-control: no-cache
user-agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like 
Gecko) Chrome/37.0.2062.120 Safari/537.36
accept: */*
dnt: 1
referer: 
http://localhost:8080/casldap/j_spring_cas_security_check?ticket=ST-4-UK0J2vYFNE7corYNSM1U-cas01.eba.europa.eu
accept-encoding: gzip,deflate,sdch
accept-language: en-US,en;q=0.8
cookie: JSESSIONID=1E41043B8E6DEC616ED85460D4C85FEC


Security filter chain: [
  SecurityContextPersistenceFilter
  WebAsyncManagerIntegrationFilter
  LogoutFilter
  CasAuthenticationFilter
  UsernamePasswordAuthenticationFilter
  DefaultLoginPageGeneratingFilter
  BasicAuthenticationFilter
  RequestCacheAwareFilter
  SecurityContextHolderAwareRequestFilter
  AnonymousAuthenticationFilter
  SessionManagementFilter
  ExceptionTranslationFilter
  FilterSecurityInterceptor
]


************************************************************


16:39:08,309 DEBUG http-apr-8080-exec-51 web.FilterChainProxy:337 - 
/j_spring_cas_security_check?ticket=ST-4-UK0J2vYFNE7corYNSM1U-cas01.eba.europa.eu
at position 1 of 13 in additional filter chain; firing Filter: 
'SecurityContextPersistenceFilter'
16:39:08,310 DEBUG http-apr-8080-exec-51 
context.HttpSessionSecurityContextRepository:152 - HttpSession returned null 
object for SPRING_SECURITY_CONTE
XT
16:39:08,312 DEBUG http-apr-8080-exec-51 
context.HttpSessionSecurityContextRepository:91 - No SecurityContext was 
available from the HttpSession: org.
apache.catalina.session.StandardSessionFacade@6e22917b. A new one will be 
created.
16:39:08,312 DEBUG http-apr-8080-exec-51 web.FilterChainProxy:337 - 
/j_spring_cas_security_check?ticket=ST-4-UK0J2vYFNE7corYNSM1U-cas01.eba.europa.eu
at position 2 of 13 in additional filter chain; firing Filter: 
'WebAsyncManagerIntegrationFilter'
16:39:08,315 DEBUG http-apr-8080-exec-51 web.FilterChainProxy:337 - 
/j_spring_cas_security_check?ticket=ST-4-UK0J2vYFNE7corYNSM1U-cas01.eba.europa.eu
at position 3 of 13 in additional filter chain; firing Filter: 'LogoutFilter'
16:39:08,315 DEBUG http-apr-8080-exec-51 web.FilterChainProxy:337 - 
/j_spring_cas_security_check?ticket=ST-4-UK0J2vYFNE7corYNSM1U-cas01.eba.europa.eu
at position 4 of 13 in additional filter chain; firing Filter: 
'CasAuthenticationFilter'
16:39:08,315 DEBUG http-apr-8080-exec-51 web.CasAuthenticationFilter:311 - 
serviceTicketRequest = true
16:39:08,323 DEBUG http-apr-8080-exec-51 web.CasAuthenticationFilter:262 - 
requiresAuthentication = true
16:39:08,323 DEBUG http-apr-8080-exec-51 web.CasAuthenticationFilter:205 - 
Request is to process authentication
16:39:08,323 DEBUG http-apr-8080-exec-51 web.CasAuthenticationFilter:362 - 
proxyReceptorConfigured = false
16:39:08,323 DEBUG http-apr-8080-exec-51 web.CasAuthenticationFilter:349 - 
proxyReceptorRequest = false
16:39:08,323 DEBUG http-apr-8080-exec-51 web.CasAuthenticationFilter:311 - 
serviceTicketRequest = true
16:39:08,325 DEBUG http-apr-8080-exec-51 authentication.ProviderManager:152 - 
Authentication attempt using org.springframework.security.cas.authentica
tion.CasAuthenticationProvider
16:39:08,326 DEBUG http-apr-8080-exec-51 
authentication.CasAuthenticationProvider:171 - serviceUrl = 
http://localhost:8080/casldap/j_spring_cas_securi
ty_check
2014-09-23 16:39:08,327 DEBUG [org.jasig.cas.web.support.CasArgumentExtractor] 
- <Extractor generated service for: http://localhost:8080/casldap/j_spr
ing_cas_security_check>
2014-09-23 16:39:08,328 DEBUG 
[org.jasig.cas.ticket.registry.DefaultTicketRegistry] - <Attempting to retrieve 
ticket [ST-4-UK0J2vYFNE7corYNSM1U-cas01.
eba.europa.eu]>
2014-09-23 16:39:08,328 INFO [org.jasig.cas.CentralAuthenticationServiceImpl] - 
<ServiceTicket [ST-4-UK0J2vYFNE7corYNSM1U-cas01.eba.europa.eu] does no
t exist.>
2014-09-23 16:39:08,331 INFO [org.perf4j.TimingLogger] - <start[1411486748328] 
time[2] tag[VALIDATE_SERVICE_TICKET]>
2014-09-23 16:39:08,331 DEBUG 
[org.jasig.cas.ticket.registry.DefaultTicketRegistry] - <Attempting to retrieve 
ticket [ST-4-UK0J2vYFNE7corYNSM1U-cas01.
eba.europa.eu]>
2014-09-23 16:39:08,331 INFO 
[com.github.inspektr.audit.support.Slf4jLoggingAuditTrailManager] - <Audit 
trail record BEGIN
=============================================================
WHO: audit:unknown
WHAT: ST-4-UK0J2vYFNE7corYNSM1U-cas01.eba.europa.eu
ACTION: SERVICE_TICKET_VALIDATE_FAILED
APPLICATION: CAS
WHEN: Tue Sep 23 16:39:08 BST 2014
CLIENT IP ADDRESS: 127.0.0.1
SERVER IP ADDRESS: 127.0.0.1
=============================================================

>
16:39:08,347 TRACE http-apr-8080-exec-51 support.XmlWebApplicationContext:329 - 
Publishing event in Root WebApplicationContext: org.springframework.se
curity.authentication.event.AuthenticationFailureBadCredentialsEvent[source=org.springframework.security.authentication.UsernamePasswordAuthentication
Token@198e6be9: Principal: _cas_stateful_; Credentials: [PROTECTED]; 
Authenticated: false; Details: 
org.springframework.security.web.authentication.We
bAuthenticationDetails@fffc7f0c: RemoteIpAddress: 127.0.0.1; SessionId: 
1E41043B8E6DEC616ED85460D4C85FEC; Not granted any authorities]
16:39:08,348 DEBUG http-apr-8080-exec-51 web.CasAuthenticationFilter:348 - 
Authentication request failed: org.springframework.security.authentication.
BadCredentialsException:
                Ticket 'ST-4-UK0J2vYFNE7corYNSM1U-cas01.eba.europa.eu' not 
recognized

16:39:08,349 DEBUG http-apr-8080-exec-51 web.CasAuthenticationFilter:349 - 
Updated SecurityContextHolder to contain null Authentication
16:39:08,349 DEBUG http-apr-8080-exec-51 web.CasAuthenticationFilter:350 - 
Delegating to authentication failure handler org.springframework.security.c
as.web.CasAuthenticationFilter$CasAuthenticationFailureHandler@55c21cd8
16:39:08,353 DEBUG http-apr-8080-exec-51 web.CasAuthenticationFilter:311 - 
serviceTicketRequest = true
16:39:08,354 DEBUG http-apr-8080-exec-51 
authentication.SimpleUrlAuthenticationFailureHandler:56 - No failure URL set, 
sending 401 Unauthorized error
16:39:08,354 DEBUG http-apr-8080-exec-51 
context.HttpSessionSecurityContextRepository:304 - SecurityContext is empty or 
contents are anonymous - conte
xt will not be stored in HttpSession.
16:39:08,357 DEBUG http-apr-8080-exec-51 
context.SecurityContextPersistenceFilter:97 - SecurityContextHolder now 
cleared, as request processing comple
ted

Reply via email to