IdP v4.1 native intercept configuration

Lipscomb, Gary glipscomb at csu.edu.au
Thu Apr 15 00:48:49 UTC 2021


Hi all,
In the process of upgrading from IdP v4.0 to v4.1 and trying to get my head around the new configuration for intercepts
I’ve done the inplace upgrade from v4.0 to v4.1 and all works as expected but trying to configure a fresh install of v4.1 and not use profile-intercept.xml

I’ve enabled idp.intercept.ContextCheck but not sure if this is correct and how to configure.

What would be the best way to configure the member check in v4.1
I’ve tried adding the member directory and files to /opt/shibboleth/conf/intercept but still get this warning

2021-04-15 09:47:32,565 - 10.0.2.2 - ERROR [net.shibboleth.idp.profile.interceptor.impl.PopulateProfileInterceptorContext:119] - Profile Action PopulateProfileInterceptorContext: Configured interceptor flow intercept/member not available for use

For IdP v4.0
• /opt/shibboleth-idp/conf/intercept/relying-party.xml

<bean parent="Shibboleth.SSO" p:postAuthenticationFlows="#{{'member', 'attribute-release'}}" />
• In /opt/shibboleth-idp/conf/intercept/profile-intercept.xml
    <bean id="shibboleth.AvailableInterceptFlows" parent="shibboleth.DefaultInterceptFlows" lazy-init="true">
        <property name="sourceList">
            <list merge="true">
                <bean id="intercept/context-check" parent="shibboleth.InterceptFlow" />

                <bean id="intercept/expiring-password" parent="shibboleth.InterceptFlow" />

                <bean id="intercept/terms-of-use" parent="shibboleth.consent.TermsOfUseFlow" />

                <bean id="intercept/attribute-release" parent="shibboleth.consent.AttributeReleaseFlow" />

                <bean id="intercept/member" parent="shibboleth.InterceptFlow" />

            </list>
        </property>
    </bean>

• /opt/shibboleth-idp/flows/intercept/member
o member-flow.xml
<flow xmlns="http://www.springframework.org/schema/webflow"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://www.springframework.org/schema/webflow http://www.springframework.org/schema/webflow/spring-webflow.xsd"
      parent="intercept.abstract">

    <decision-state id="CheckContext">
        <if test="ContextCheckPredicate.test(opensamlProfileRequestContext)"
            then="proceed" else="ContextCheckDenied" />
    </decision-state>

    <bean-import resource="../../../flows/intercept/member/member-beans.xml" />

</flow>
o member-flow.xml  contains

   <bean id="ContextCheckPredicate" parent="shibboleth.Conditions.AND">
      <constructor-arg>
        <list>
          <bean class="net.shibboleth.idp.profile.logic.SimpleAttributePredicate"
                    p:useUnfilteredAttributes="true">
            <property name="attributeValueMap">
              <map>
                <entry key="eduPersonAffiliation">
                  <list>
                    <value type="java.lang.String">member</value>
                  </list>
                </entry>
              </map>
            </property>
          </bean>
          <bean class="net.shibboleth.idp.profile.logic.SimpleAttributePredicate"
                    p:useUnfilteredAttributes="true">
            <property name="attributeValueMap">
              <map>
                <entry key="Access_Env">
                  <list>
                    <value type="java.lang.String">access_devel</value>
                  </list>
                </entry>
              </map>
            </property>
          </bean>

        </list>
      </constructor-arg>
  </bean>
</beans>

Regards

Gary

Gary Lipscomb
Technical Officer, Systems(Infrastructure) | Infrastructure & Client Services | Division of Information Technology
Charles Sturt University


|   ALBURY-WODONGA   |   BATHURST   |   BRISBANE   |   CANBERRA   |   DUBBO   |   GOULBURN   |   MELBOURNE   |   ORANGE   |   PORT MACQUARIE   |   SYDNEY   |   WAGGA WAGGA   |

LEGAL NOTICE
This email (and any attachment) is confidential and is intended for the use of the addressee(s) only. If you are not the intended recipient of this email, you must not copy, distribute, take any action in reliance on it or disclose it to anyone. Any confidentiality is not waived or lost by reason of mistaken delivery. Email should be checked for viruses and defects before opening. Charles Sturt University does not accept liability for viruses or any consequence which arise as a result of this email transmission. Email communications with Charles Sturt University may be subject to automated email filtering, which could result in the delay or deletion of a legitimate email before it is read at Charles Sturt University. The views expressed in this email are not necessarily those of Charles Sturt University.
Charles Sturt University in Australia The Grange Chancellery, Panorama Avenue, Bathurst NSW Australia 2795 (ABN: 83 878 708 551; CRICOS Provider Number: 00005F (National)). TEQSA Provider Number: PV12018
Consider the environment before printing this email.


More information about the users mailing list