cas5.x多属性返回

cas多属性返回通过连接ldap的方式

通过以上配置,客户端依然无法获取邮箱,在控制台信息可以看出邮箱已经返回了,不知道为什么

2020-11-24 14:14:08,489 WARN [org.apereo.cas.authentication.LdapAuthenticationHandler] - <DN resolution failed. [DN cannot be null]>

2020-11-24 14:14:08,492 ERROR [org.apereo.cas.authentication.PolicyBasedAuthenticationManager] - <Authentication has failed. Credentials may be incorrect or CAS cannot find authentication handler that supports [UsernamePasswordCredential(username=P0888888)] of type [UsernamePasswordCaptchaCredential]. Examine the configuration to ensure a method of authentication is defined and analyze CAS logs at DEBUG level to trace the authentication event.>

2020-11-24 14:14:08,561 WARN [org.apereo.cas.authentication.LdapAuthenticationHandler] - <DN resolution failed. [DN cannot be null]>

2020-11-24 14:14:08,561 ERROR [org.apereo.cas.authentication.PolicyBasedAuthenticationManager] - <Authentication has failed. Credentials may be incorrect or CAS cannot find authentication handler that supports [UsernamePasswordCredential(username=P0888888)] of type [UsernamePasswordCaptchaCredential]. Examine the configuration to ensure a method of authentication is defined and analyze CAS logs at DEBUG level to trace the authentication event.>

2020-11-24 14:14:11,924 INFO [org.apereo.cas.authentication.PolicyBasedAuthenticationManager] - <Authenticated principal [P0888888] with attributes [{employeeNumber=[P0888888], mail=[sstest3@pacteraedge.com]}] via credentials [[UsernamePasswordCredential(username=P0888888)]].>

2020-11-24 14:14:11,925 INFO [org.apereo.inspektr.audit.support.Slf4jLoggingAuditTrailManager] - <Audit trail record BEGIN

=============================================================

WHO: P0888888

WHAT: Supplied credentials: [UsernamePasswordCredential(username=P0888888)]

ACTION: AUTHENTICATION_SUCCESS

APPLICATION: CAS

WHEN: Tue Nov 24 14:14:11 CST 2020

CLIENT IP ADDRESS: 127.0.0.1

SERVER IP ADDRESS: 127.0.0.1

=============================================================

 

>

2020-11-24 14:14:11,926 INFO [org.apereo.inspektr.audit.support.Slf4jLoggingAuditTrailManager] - <Audit trail record BEGIN

=============================================================

WHO: P0888888

WHAT: [result=Service Access Granted,service=http://localhost:8088/index.jsp,principal=SimplePrincipal(id=P0888888, attributes={mail=[sstest3@pacteraedge.com], employeeNumber=[P0888888]}),requiredAttributes={}]

ACTION: SERVICE_ACCESS_ENFORCEMENT_TRIGGERED

APPLICATION: CAS

WHEN: Tue Nov 24 14:14:11 CST 2020

CLIENT IP ADDRESS: 127.0.0.1

SERVER IP ADDRESS: 127.0.0.1

=============================================================

 

>

2020-11-24 14:14:11,938 INFO [org.apereo.inspektr.audit.support.Slf4jLoggingAuditTrailManager] - <Audit trail record BEGIN

=============================================================

WHO: P0888888

WHAT: TGT-1-********************************************************l6XExfVJRscBAC1500995-PC

ACTION: TICKET_GRANTING_TICKET_DESTROYED

APPLICATION: CAS

WHEN: Tue Nov 24 14:14:11 CST 2020

CLIENT IP ADDRESS: 127.0.0.1

SERVER IP ADDRESS: 127.0.0.1

=============================================================

 

>

2020-11-24 14:14:11,939 INFO [org.apereo.inspektr.audit.support.Slf4jLoggingAuditTrailManager] - <Audit trail record BEGIN

=============================================================

WHO: P0888888

WHAT: [result=Service Access Granted,service=http://localhost:8088/index.jsp,principal=SimplePrincipal(id=P0888888, attributes={mail=[sstest3@pacteraedge.com], employeeNumber=[P0888888]}),requiredAttributes={}]

ACTION: SERVICE_ACCESS_ENFORCEMENT_TRIGGERED

APPLICATION: CAS

WHEN: Tue Nov 24 14:14:11 CST 2020

CLIENT IP ADDRESS: 127.0.0.1

SERVER IP ADDRESS: 127.0.0.1

=============================================================

 

>

2020-11-24 14:14:11,941 INFO [org.apereo.inspektr.audit.support.Slf4jLoggingAuditTrailManager] - <Audit trail record BEGIN

=============================================================

WHO: P0888888

WHAT: TGT-2-********************************************************4RX9ThrVzn8BAC1500995-PC

ACTION: TICKET_GRANTING_TICKET_CREATED

APPLICATION: CAS

WHEN: Tue Nov 24 14:14:11 CST 2020

CLIENT IP ADDRESS: 127.0.0.1

SERVER IP ADDRESS: 127.0.0.1

=============================================================

 

>

2020-11-24 14:14:11,945 INFO [org.apereo.inspektr.audit.support.Slf4jLoggingAuditTrailManager] - <Audit trail record BEGIN

=============================================================

WHO: P0888888

WHAT: [result=Service Access Granted,service=http://localhost:8088/index.jsp,requiredAttributes={}]

ACTION: SERVICE_ACCESS_ENFORCEMENT_TRIGGERED

APPLICATION: CAS

WHEN: Tue Nov 24 14:14:11 CST 2020

CLIENT IP ADDRESS: 127.0.0.1

SERVER IP ADDRESS: 127.0.0.1

=============================================================

 

>

2020-11-24 14:14:11,951 INFO [org.apereo.cas.DefaultCentralAuthenticationService] - <Granted ticket [ST-2-tBx3gEKew60rNc2Gtu0spo5LCj4BAC1500995-PC] for service [http://localhost:8088/index.jsp] and principal [P0888888]>

2020-11-24 14:14:11,952 INFO [org.apereo.inspektr.audit.support.Slf4jLoggingAuditTrailManager] - <Audit trail record BEGIN

=============================================================

WHO: P0888888

WHAT: ST-2-tBx3gEKew60rNc2Gtu0spo5LCj4BAC1500995-PC for http://localhost:8088/index.jsp

ACTION: SERVICE_TICKET_CREATED

APPLICATION: CAS

WHEN: Tue Nov 24 14:14:11 CST 2020

CLIENT IP ADDRESS: 127.0.0.1

SERVER IP ADDRESS: 127.0.0.1

=============================================================

 

>

2020-11-24 14:14:11,997 INFO [org.apereo.inspektr.audit.support.Slf4jLoggingAuditTrailManager] - <Audit trail record BEGIN

=============================================================

WHO: audit:unknown

WHAT: [result=Service Access Granted,service=http://localhost:8088/index.jsp,principal=SimplePrincipal(id=P0888888, attributes={}),requiredAttributes={}]

ACTION: SERVICE_ACCESS_ENFORCEMENT_TRIGGERED

APPLICATION: CAS

WHEN: Tue Nov 24 14:14:11 CST 2020

CLIENT IP ADDRESS: 127.0.0.1

SERVER IP ADDRESS: 127.0.0.1

=============================================================

 

>

2020-11-24 14:14:11,997 INFO [org.apereo.inspektr.audit.support.Slf4jLoggingAuditTrailManager] - <Audit trail record BEGIN

=============================================================

WHO: P0888888

WHAT: ST-2-tBx3gEKew60rNc2Gtu0spo5LCj4BAC1500995-PC for http://localhost:8088/index.jsp

ACTION: SERVICE_TICKET_VALIDATED

APPLICATION: CAS

WHEN: Tue Nov 24 14:14:11 CST 2020

CLIENT IP ADDRESS: 127.0.0.1

SERVER IP ADDRESS: 127.0.0.1

查看全部
xuexinda
xuexinda
2020/11/24 14:54
  • java
  • tomcat
  • maven
  • 点赞
  • 收藏
  • 回答
    私信

2个回复