<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<base href="x-msg://484/">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
Marcus,
<div><br>
</div>
<div>
<div>
<blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">
<div lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1" style="page: WordSection1; ">
<div style="margin-top: 0in; margin-right: 0in; margin-left: 0.5in; margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; text-indent: -0.25in; ">
<span>1.<span style="font: normal normal normal 7pt/normal 'Times New Roman'; "> <span class="Apple-converted-space"> </span></span></span> Can a Shibboleth SP installed on Apache, protecting an application (say, a Java App), first query the application
before determining if it will direct the user to their identity provider or use an alternative login mechanism?</div>
</div>
</div>
</span></blockquote>
<div><br>
</div>
<div>I believe the SP doesn't have the ability to query the application before creating a session, but session creation can be made optional and triggered by the application itself.</div>
<div><br>
</div>
<div><a href="https://wiki.shibboleth.net/confluence/display/SHIB2/NativeSPSessionInitiator">https://wiki.shibboleth.net/confluence/display/SHIB2/NativeSPSessionInitiator</a></div>
<div><br>
</div>
<blockquote type="cite">
<div lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1" style="page: WordSection1; ">
<div style="margin-top: 0in; margin-right: 0in; margin-left: 0.5in; margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; text-indent: -0.25in; ">
<o:p></o:p></div>
<div style="margin-top: 0in; margin-right: 0in; margin-left: 0.5in; margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; text-indent: -0.25in; ">
<span>2.<span style="font: normal normal normal 7pt/normal 'Times New Roman'; "> <span class="Apple-converted-space"> </span></span></span> If the app will use a Shibboleth IDP, can the Shibboleth SP receive info from the protected application telling
it which IDP to use (as if the application was used to discover the IDP)?<o:p></o:p></div>
</div>
</div>
</blockquote>
<br>
</div>
<div>The application can indicate which IdP is to be used and various other things by appending values to the query string.</div>
<div><br>
</div>
<div><a href="https://wiki.shibboleth.net/confluence/display/SHIB2/NativeSPSessionCreationParameters">https://wiki.shibboleth.net/confluence/display/SHIB2/NativeSPSessionCreationParameters</a></div>
<div><br>
</div>
<div>Thanks,</div>
<div>Nate.</div>
<br>
</div>
</body>
</html>