<div>Ah so you discovered me! :) Yes I skipped that part, not for disregard but because of the lack of time. Thank you anyway, now it's working! </div><div><br></div><div>By the way, the missing method to set the configuration file was: <b>System.setProperty("java.security.auth.login.config", jaasConfigurationURL); </b></div>
<div><b><br></b></div><div>Many thanks,</div><div>Marco</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<span style>You have forgotten about the Spring bits of the code (that big warning at the top of</span><br style><a href="https://wiki.shibboleth.net/confluence/display/SHIB2/IdPDevCustomExtension" target="_blank" style>https://wiki.shibboleth.net/confluence/display/SHIB2/IdPDevCustomExtension</a><span style>) is really important.</span><br style>
<br style><span style>try</span><br style><br style><span style>edu.internet2.middleware.</span><span style>shibboleth.idp.config.profile.</span><span style>authn.</span><span style>UsernamePasswordLoginHandlerBe</span><span style>anDefinitionParser</span><br style>
<br style><span style>(in shib-idp).</span>
</blockquote>