You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Olve Hansen <ol...@gmail.com> on 2005/01/13 11:07:11 UTC

jass login and login error messages

How can I pass on what kind of error happened during a jass login? The
only kind of error report I get the j_security_check sends me to my
loginError.jsp in:
<form-login-config>
            <form-login-page>/login.jsp</form-login-page>
            <form-error-page>/loginError.jsp</form-error-page>
</form-login-config>

How can I pass some messages on from my jass login module, and onwards
to this page? We are relying on a 3. party web-services login server,
and I want to give an error message if it is down or having other
kinds of problems.

The only place I can get to know about this error is in my
implementation of javax.security.auth.spi.LoginModule.login()

How can I forward any exception messages from this LoginModule to the
loginError.jsp?

This is kind of urgent, as we go live the 24. January, awaiting 65.000
logins over the following three weeks.

Hope someone can shed some light on this problem. I understand that a
security implementation is somewhat closed for accessing parts outside
of the login module, but there has to be _some_ way of passing
messages from it to the outside application.

Of couse I might miss something obvious... 
-- 
 \ Olve S. Hansen
  \ mailto:olvesh@gmail.com
   \ msn:olve_s_hansen@hotmail.com
    \ +47 97767130

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org