Location of configuration file parameter UsernamePassword Login Handler

Rod Widdowson rdw at steadingsoftware.com
Fri Mar 23 09:34:11 GMT 2012


You have forgotten about the Spring bits of the code (that big warning at the top of
https://wiki.shibboleth.net/confluence/display/SHIB2/IdPDevCustomExtension) is really important.

try 

edu.internet2.middleware.shibboleth.idp.config.profile.authn.UsernamePasswordLoginHandlerBeanDefinitionParser

(in shib-idp).

> -----Original Message-----
> From: dev-bounces at shibboleth.net [mailto:dev-bounces at shibboleth.net] On Behalf Of Marco Zanini
> Sent: 23 March 2012 09:18
> To: dev at shibboleth.net
> Subject: Location of configuration file parameter UsernamePassword Login Handler
> 
> 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



More information about the dev mailing list