Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In the vast majority of cases, using this plugin requires additional native Spring configuration outside of the main filter policy where the plugin is used. You can define the bean(s) required in the global.xml file, or to scope them more "strictly", you can create your own resource and add it to the collection Spring resources loaded into the AttributeFilterService AttributeFilter service via services.xml

Reference

localtab-live
Localtabgroup
Expand
titleXML Attributes

Name

Type

Description

rulePredicateRef

Bean ID

Required, name of an externally-defined Spring Bean of type Predicate<ProfileRequestContext>

contextStrategyRef

Bean ID

Optional, advanced setting to supply an alternative lookup function to locate the ProfileRequestContext, this is the name of an externally-defined Spring Bean of type Function<AttributeFilterContext,ProfileRequestContext>

Example

The examples collectively read as "Apply this rule if the SP is named 'https://sp.example.org' or 'https://sp2.example.org'".

...