The Shibboleth IdP V3 software has reached its End of Life and is no longer supported. This documentation is available for historical purposes only. See the IDP4 wiki space for current documentation on the supported version.

BrowserProfilePredicate

The predicate named shibboleth.Conditions.BrowserProfile returns true if the currently active profile supports a browser,

Is an activation condition, which means that is can be automatically configured as an activation condition, this also means it can also configured anywhere that a ProfileRequestContext is supplied as input.

It requires no parameterization and hence can be used directly by name.

Example

Bean to return true if this is NOT a browser profile
<bean parent="shibboleth.conditions.NOT" c:_0-ref="shibboleth.Conditions.BrowserProfile"/>

If you have the ProfileRequestContext available, you can find this out directly by calling the isBrowserProfile method.

        <transition on="#{opensamlProfileRequestContext.isBrowserProfile() }" to="Somewhere" />