Skip to Main Content

Security Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Check for Expiration at Cert Verification Time

user59119Feb 25 2010 — edited Mar 5 2010
Friends,

Everything works great and Credential Mapping is working great but now
I need to add one more step to my Steps to check for Expired Certificate (SMARTCARD, CAC).

I basically need to add the functionality that as soon as the user selects the digital cert presented to them, it'll
check for the cert end date and alarms user and stops them.

The following works great at First Time Registration when they enter first to our system.
if (!cert.getNotAfter().after(new Date())) {
dt = cert.getNotAfter().toString();
dn = cert.getSubjectDN().getName();
out.println("<table>");
out.println("Your CAC Card has been expired.");

I just don't know I guess how to create a step to the do something like above.

Thanks in advance for your time.

KA
This post has been answered by user651154 on Mar 4 2010
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 2 2010
Added on Feb 25 2010
5 comments
1,112 views