authentication exception with spring message arguments

Thorsten Roemer troemer at axway.com
Tue Nov 18 10:23:35 EST 2008


Hi,

I've wrote a custom AuthenticationHandler which throws a 
BlockedCredentialsAuthenticationException on subsequent login failures for a 
short period of time.

So far I'm using a custom code in the exception for static but localized 
messages. Now I would  like to insert the actual time-to-wait value to the 
exception. Is there a recommended way how to do provide spring message 
arguments in an AuthenticationException?

Thanks,
Thorsten




More information about the cas mailing list