Name | Type | Default | Description |
---|
language language
| String | javascript | The language of the script | customObjectRef | Bean ID |
| The name of a Spring Bean defined elsewhere. This bean will be made available to the script with the name "custom ". |
Name | Description |
---|
<ScriptFile> | The path of a resource (usually a file) which contains the script | <Script> | The script. It is usual to specify this within a CDATA |
The script has the following variables defined: Name | Type | Description |
---|
filterContext | AttributeFilterContext | The AttributeFilter context provides some information about the filter operation | profileContext | ProfileRequestContext | The root context for the request | attribute (Matcher Only) | IdPAttribute | The attribute being filtered | custom | Object | Contains whatever was provided by the customObjectRef attribute (see above) | subjects | Array of Subject | The Java Subject(s) associated with this filtering operation. Note that these will only be present if the attribute resolution preceding this was associated with an authentication event (and so this will not work for back channel requests). |
|