expiring-password-intercept-config.xml -- time_t format?

Paul B. Henson henson at cpp.edu
Mon Mar 20 22:21:40 EDT 2017


On Sun, Mar 19, 2017 at 06:25:16PM +0000, Cantor, Scott wrote:

> that the supplied condition can parse. A scripted attribute could
> probably convert the epoch string into a formatted string and make
> that the value of the attribute.

Hmm, that's a thought. It seems you have to jump over backwards in
javascript to get a date formatted in yyyyMMddHHmmss, but the built in
toLocaleString method puts out 'Tue Jun 13 2017 23:59:00 GMT-0700 (PDT)'
which should be good enough to make work after trimming off the timezone
piece. I'll fiddle with that and see if I can get it working, that's
reasonably clean and simple enough.

> I think you'll find it's a good practice to create an "extension"
> project to put odds and ends you might need in Java so that when
> things come up, you just have to throw together a Java class and
> rebuild/redeploy. It seems like a hassle when you have to start a
> project from scratch, but adding a class to an existing project is
> pretty simple.

So much to do, so little time :).

Thanks for the suggestions...


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