2016-11-05 18:52:10,409 ERROR [com.msxf.sso.ticket.RedisTicketRegistry] -
org.springframework.data.redis.serializer.SerializationException: Cannot serialize; nested exception is org.springframework.core.serializer.support.SerializationFailedException: Failed to serialize object using DefaultSerializer; nested exception is java.io.NotSerializableException: java.util.HashMap$KeySet
at org.springframework.data.redis.serializer.JdkSerializationRedisSerializer.serialize(JdkSerializationRedisSerializer.java:52)
at org.springframework.data.redis.core.AbstractOperations.rawValue(AbstractOperations.java:112)
at org.springframework.data.redis.core.DefaultValueOperations.set(DefaultValueOperations.java:180)
at com.msxf.sso.ticket.RedisTicketRegistry.addTicket(RedisTicketRegistry.java:56)
at org.jasig.cas.CentralAuthenticationServiceImpl.createTicketGrantingTicket_aroundBody10(CentralAuthenticationServiceImpl.java:538)
at org.jasig.cas.CentralAuthenticationServiceImpl.createTicketGrantingTicket_aroundBody11$advice(CentralAuthenticationServiceImpl.java:54)
at org.jasig.cas.CentralAuthenticationServiceImpl.createTicketGrantingTicket(CentralAuthenticationServiceImpl.java:1)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:80)
at com.github.inspektr.audit.AuditTrailManagementAspect.handleAuditTrail(AuditTrailManagementAspect.java:126)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
{
"authentication": {
"attributes": {
"authenticationMethod": "UserAuthenticationHandler",
"successfulAuthenticationHandlers": [
"UserAuthenticationHandler"
]
},
"authenticatedDate": 1478326255824,
"credentials": [
{
"credentialClass": "org.jasig.cas.authentication.UsernamePasswordCredential",
"id": "292752388@qq.com"
}
],
"failures": { },
"principal": {
"attributes": {
"lastLoginDate": 1478275200000,
"email": "292752388@qq.com",
"status": 0,
"userId": 988,
"registerDate": 1476269405000,
"userName": "Paddy"
},
"id": "292752388@qq.com"
},
"successes": {
"UserAuthenticationHandler": {
"credentialMetaData": {
"credentialClass": "org.jasig.cas.authentication.UsernamePasswordCredential",
"id": "292752388@qq.com"
},
"handlerName": "UserAuthenticationHandler",
"principal": {
"attributes": { },
"id": "292752388@qq.com"
},
"warnings": [ ]
}
}
},
"chainedAuthentications": [
{
"attributes": {
"authenticationMethod": "UserAuthenticationHandler",
"successfulAuthenticationHandlers": [
"UserAuthenticationHandler"
]
},
"authenticatedDate": 1478326255824,
"credentials": [
{
"credentialClass": "org.jasig.cas.authentication.UsernamePasswordCredential",
"id": "292752388@qq.com"
}
],
"failures": { },
"principal": {
"attributes": {
"lastLoginDate": 1478275200000,
"email": "292752388@qq.com",
"status": 0,
"userId": 988,
"registerDate": 1476269405000,
"userName": "Paddy"
},
"id": "292752388@qq.com"
},
"successes": {
"UserAuthenticationHandler": {
"credentialMetaData": {
"credentialClass": "org.jasig.cas.authentication.UsernamePasswordCredential",
"id": "292752388@qq.com"
},
"handlerName": "UserAuthenticationHandler",
"principal": {
"attributes": { },
"id": "292752388@qq.com"
},
"warnings": [ ]
}
}
}
],
"countOfUses": 0,
"creationTime": 1478326255839,
"expired": false,
"expiredInternal": false,
"id": "TGT-2-lbD3xVJInO4Eb7blP110aTegX6hFjh5USFxlgp4Zv5dfSJepPG-S3",
"lastTimeUsed": 1478326255839,
"previousTimeUsed": 0,
"root": true,
"services": { },
"supplementalAuthentications": [ ]
}