Open helphi opened 6 years ago
Based on the CAS 3.0 spec that form of cas:authenticationDate
isn't valid for the XML Schema xs:dateTime
type.
Based on the CAS 3.0 spec, cas server use ZonedDateTime
to process xs:dateTime
and go-cas use time.Time
to process xs:dateTime
, but ZonedDateTime
of java is not compatible with time.Time
of golang.
It doesn't look like ZonedDateTime is compatible with xs:dateTime, so while it may be able to parse it in Java it doesn't look like the generation of the authenticationDate in the apero CAS server is valid according to the specification.
But CAS server and the cas-java-client implements xs:dateTime
with ZonedDateTime
now, and we can't parse it with go-cas.
my result is same, it need to compatible, or cas 3.0 will not work
CAS3.0 server return
AuthenticationDate
withZonedDateTime
src, but go-cas parse it withtime.Time
, so i get the error bellow:the response is: