org.joda.time.format.DateTimeFormat help

Paul B. Henson henson at cpp.edu
Thu Jun 8 17:33:36 EDT 2017


So I thought I had the password intercept all working <sigh>, then I
realized that it was forwarding *everything* to the expiring password
page 8-/, regardless of the actual date. I find this in the logs:

2017-06-08 14:27:54,521 - INFO [net.shibboleth.idp.profile.logic.DateAttributePredicate:134] - Jun 06 2018 14:20:00 is not a valid date for the configured date parser

I've fiddled back and forth for a while with the date format string and
the scripted attribute I'm generating from the unix time_t I've got
stored in ldap and haven't been able to get a combination that works.
Right now I've got an attribute with the format as above:

Jun 06 2018 14:20:00

and a config of:

c:_0="M dd yyyy HH:mm:ss"

which per the docs:

http://joda-time.sourceforge.net/apidocs/org/joda/time/format/DateTimeFormat.html

seems like they should line up? What am I missing?

Thanks...


-- 
Paul B. Henson  |  (909) 979-6361  |  http://www.cpp.edu/~henson/
Operating Systems and Network Analyst  |  henson at cpp.edu
California State Polytechnic University  |  Pomona CA 91768


More information about the users mailing list