postauthenticationflows using OR condition
Lipscomb, Gary
glipscomb at csu.edu.au
Thu Feb 16 22:00:30 EST 2017
Hi,
Just wondering whether its possible to OR a postauthenticationflow. I can AND them using the following
<bean id="csu.affiliate_access" parent="RelyingPartyByName"
c:relyingPartyIds="#{{'https://xxxdevel.xxx.edu.au/shibboleth',
'https://xxxqa.xxx.edu.au/shibboleth',
'https://xxx.xxx.edu.au/shibboleth'}}">
<property name="profileConfigurations">
<list>
<bean parent="SAML2.SSO" p:postAuthenticationFlows="#{'affiliate','member'}" />
<ref bean="SAML2.ECP" />
<ref bean="SAML2.Logout" />
<ref bean="SAML2.AttributeQuery" />
<ref bean="SAML2.ArtifactResolution" />
</list>
</property>
</bean>
What I want to do is give access if they are an "affiliate" or "member".
There are other sites where only "members" or "affiliates" can access.
Do I need to create a separate intercept checking for either member or affiliate as below
<bean class="net.shibboleth.idp.profile.logic.SimpleAttributePredicate"
p:useUnfilteredAttributes="true">
<property name="attributeValueMap">
<map>
<entry key="eduPersonAffiliation">
<list>
<value>affiliate</value>
<value>member</value>
</list>
</entry>
</map>
</property>
</bean>
Regards
Gary
| ALBURY-WODONGA | BATHURST | CANBERRA | DUBBO | GOULBURN | MELBOURNE | ONTARIO | 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 (CSU) does not accept liability for viruses or any consequence which arise as a result of this email transmission. Email communications with CSU may be subject to automated email filtering, which could result in the delay or deletion of a legitimate email before it is read at CSU. The views expressed in this email are not necessarily those of CSU.
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
Charles Sturt University in Ontario 860 Harrington Court, Burlington Ontario Canada L7N 3N4 Registration: peqab.ca.
Consider the environment before printing this email.
More information about the users
mailing list