Location of configuration file parameter UsernamePassword Login Handler

Marco Zanini marco.zanini at lero.ie
Fri Mar 23 09:17:46 GMT 2012


Hi to all,
I'm developing an extension of shibboleth for the LoginHandler and I want
to use jaas authentication. For this reason, I'm looking at the code of
UsernamePassword LoginHandler but I cannot understand where the jaas
configuration file is read.In the Jaas documentation, linked by the
shibboleth wiki (
http://docs.oracle.com/javase/1.5.0/docs/guide/security/jaas/tutorials/LoginConfigFile.html)
I cannot find relevant information. It suggest to tell java the location of
the configuration file trought the command line or the java.security file
but I didn't nor of these two and UsernamePassword LoginHandler works great
anyway! The problem is that my Handler, which for authentication has the
same code, cannot find the configuration file. How can I do?

In handler.xml we can specify configuration file as a parameter but then I
cannot see where in the code this parameter is acquired,
UsernamePasswordLoginHandler takes as input "servletUrl".

Many thanks,
Marco
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://shibboleth.net/pipermail/dev/attachments/20120323/3c26cf92/attachment.html 


More information about the dev mailing list