KrakenTyio / eid-applet

Automatically exported from code.google.com/p/eid-applet
Other
0 stars 0 forks source link

Authentication message handling on expired challenge #79

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. start eid authentication
2. user waits more then 5 minutes ( DEFAULT_MAX_MATURITY ) to enter his pin code
3. => throw new SecurityException("maximum challenge maturity reached");

What is the expected output? What do you see instead?

This exception gets wrapped in a servletexception together will other 
exceptions like authn signature invalid etc.
Think this exception should be a custom one so we can handle it at another 
level to display a message like challenge expired instead of a generic error.

@ AuthenticationChallenge.getAuthnChallenge

Original issue reported on code.google.com by wim.vand...@gmail.com on 25 Sep 2012 at 7:03