<div dir="ltr">Thanks, but I dont think we uderstand each other. I use custom login handler so auhentication method you talk about is always<br><div><div>    &lt;ph:LoginHandler xsi:type=&quot;ph:ExternalAuthn&quot;</div><div>
                     externalAuthnPath=&quot;redirect.jsp&quot;</div><div>                     supportsForcedAuthentication=&quot;true&quot;&gt;</div><div>      &lt;ph:AuthenticationMethod&gt;urn:oasis:names:tc:SAML:2.0:ac:classes:unspecified&lt;/ph:AuthenticationMethod&gt;</div>
<div>    &lt;/ph:LoginHandler&gt;</div></div><div><br></div><div>Authentication methods I talk about are inside this login hander and shibboleth doesn&#39;t know nothing about them right now. I think I should do something inside that redirect.jsp (like call my external jar and check what method was used for example from cookies or so) and then somehow redirect user either as authenticated or sanding new request like you suggested. But i dont know if this can be done and if so, how :)</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-02-17 15:30 GMT+01:00 Peter Schober <span dir="ltr">&lt;<a href="mailto:peter.schober@univie.ac.at" target="_blank">peter.schober@univie.ac.at</a>&gt;</span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">* Raadush &lt;<a href="mailto:raadush@gmail.com">raadush@gmail.com</a>&gt; [2014-02-17 15:10]:<br>
<div class="">&gt; I want to change it to something like this:<br>
&gt;<br>
&gt; user accesses SP1 -&gt; he is redirected to my IDP -&gt; authenticates using<br>
&gt; password -&gt; SP1 accepts it<br>
&gt; user accesses SP2 -&gt; he is redirecred to my IDP -&gt; IDP checks if he used<br>
&gt; strong enough method when he authenticated himself at SP1 -&gt; if he USED<br>
&gt; strong enough method, IDP authenticates him based on previous session like<br>
&gt; before, if he DIDNT used strong enough method, he is forced to<br>
&gt; re-authenticate<br>
<br>
</div>The Shib IDP reports the authentcation method used to any SP, so SP2<br>
can check that and decide to do whatever it wants (e.g. using your own<br>
code invoked from a sessionHook), such as sending a new authentication<br>
request to the IDP requesting a specific authnContext (and/or<br>
forcedAuthn).<br>
For any advanced behaviour at the IDP not supported out of the box<br>
you&#39;d need a custom login handler. I&#39;d start looking at and<br>
contributing to the MCB one.<br>
-peter<br>
--<br>
To unsubscribe from this list send an email to <a href="mailto:users-unsubscribe@shibboleth.net">users-unsubscribe@shibboleth.net</a><br>
</blockquote></div><br></div>