Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Related articles

...

Code Block
languagexml
<security-constraint>
    <web-resource-collection>
        <url-pattern>/Authn/RemoteUser</url-pattern>
        <url-pattern>/profile/SAML2/SOAP/ECP</url-pattern>
        <http-method>GET</http-method>
        <http-method>POST</http-method>
    </web-resource-collection>
    <auth-constraint>
        <role-name>**</role-name>
    </auth-constraint>
</security-constraint>
<login-config>
    <auth-method>BASIC</auth-method>
    <realm-name>ShibUserPassAuth</realm-name>
</login-config>

 


Then, modify your IdP's idp.properties file to include the following change:

Code Block
languagejava
# Regular expression matching login flows to enable, e.g. IPAddress|Password
idp.authn.flows=Password|RemoteUserInternal

 


Jetty

Modify your jetty.xml file to include the following change:

...

Code Block
languagexml
<Configure class="org.eclipse.jetty.webapp.WebAppContext">
  <!-- Adjust the following per your deployment -->
  <Set name="war">/opt/shibboleth-idp/war/idp.war</Set>
  <Set name="contextPath">/idp</Set>
  <Set name="extractWAR">false</Set>
  <Set name="copyWebDir">false</Set>
  <Set name="copyWebInf">true</Set>
  <Get name="securityHandler">
   <Set name="realmName">ShibUserPassAuth</Set>
  </Get>
</Configure>

 


Then, create a jaas.ini file in the "start.d" directory of your JETTY_BASE to match the following:

...

Code Block
languagejava
$JRE_HOME/bin/java -jar jetty/start.jar --add-to-startd=https,deploy,annotations,jstl,logging,requestlog,ext,jaas


Filter by label (Content by label)
showLabelsfalse
max5
spacesIDP30
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel = "ecp" and type = "page" and space = "IDP30"
labelsECP

Page Properties
hiddentrue
Related issues