URLCallback with JAAS on WAS?

Posted by Dean J on Stack Overflow See other posts from Stack Overflow or by Dean J
Published on 2010-04-12T13:20:53Z Indexed on 2010/04/12 13:23 UTC
Read the original article Hit count: 455

Filed under:
|
|

I extended the JAAS javax.security.auth.spi.LoginModule, and installed it into a WAS server. It works; all logins go through the code in this new class, and if it says to not let them login, they're prevented from logging in.

The root problem: I don't want it to filter logins for the admin console (/ibm/console), but I do want it to filter logins for other things on the server. I think that with the available setup, the login module applies to everything installed on the server, including the administration screens.

I'd like to solve that by getting the URL of the page that triggered the call to the LoginModule. If I were using WebLogic, I'd use a URLCallback to get the URL. Does anyone know if Websphere Application Server has any parallel functionality to that, or if there's another workaround?

© Stack Overflow or respective owner

Related posts about java

Related posts about jaas