IdPv3 - regex activation condition

Douglas E Engert deengert at gmail.com
Fri Jun 26 08:03:08 EDT 2015



On 6/26/2015 2:22 AM, Francesco Malvezzi wrote:
> hi all,
>
> in order to configure consent release only for external sites, I would
> like to define a activation condition with the same purpose of the
> (idpv2-)uApprove services directive (a regex list of blacklisted sp).
>
> This naive attempt doesn't work:
>
>     <bean id="shibboleth.noConsentRelyingPartyPredicate"
> parent="shibboleth.Conditions.RelyingPartyId">
>          <constructor-arg>
>              <util:list>
>                  <regex>^http(s)?://.*\.example?\.org/.*</regex>

Should the above be:
                    <regex>^http[s]?://.*\.example\.org/.*</regex>
use [] not ()
remove extra "?" is it needed?


>              </util:list>
>          </constructor-arg>
>      </bean>
>
> where can I find a reference for the shibboleth.Conditions.* beans?
>
> thank you,
>
> Francesco
>

-- 

  Douglas E. Engert  <DEEngert at gmail.com>



More information about the users mailing list