Namespace: urn:mace:shibboleth:2.0:resolver
Schema: http://shibboleth.net/schema/idp/shibboleth-attribute-resolver.xsd
Overview
The ScriptedDataConnector
data connector allows the creation of multiple IdPAttribute objects via a JSR-223 script. Scripts are somewhat easier to write and maintain than native Java code, though they are slower. They can also be changed dynamically since the resolver is a ReloadableService.
...
resolutionContext
connectorResults
profileContext
custom
subjects
...
Note that any changes made to these dependency objects within the script will not be reflected in the result of the resolution process. In contrast, changes made to other objects accessed by means of the other variables in most cases will cause side effects, and should usually be avoided.
Reference
Localtabgroupexpand |
---|
Localtab live |
---|
title | Specific XML Attributes |
---|
|
Name | Type | Default | Description |
---|
language | string | JavaScript | Defines the JSR-223 language to use. The default is ECMA script using either the Rhino (Java 7) or Nashorn (Java 8+) engines. This situation is in flux due to the removal of Nashorn from future Java versions, and | there are plans to provide a plugins are available for V4.1+ | plugin supplies supply one of these options | in the future at the deployer's discretion. | customObjectRef | string |
| The name of a Spring Bean defined elsewhere. This bean will be made available to the script with the name "custom ". |
localtab-live |
Expand |
---|
title | Specific XML Elements |
---|
|
The following XML Elements are specific to this connector, and one of them must be supplied: Name | Description |
---|
<Script> | The contents define the script to execute, usually wrapped in an XML CDATA block to avoid escaping | <ScriptFile> | The contents define a file which contains the script to execute |
localtab-live |
Expand |
---|
title | Common XML Attributes |
---|
|
Include Page |
---|
| DataConnectorCommonAttributes |
---|
| DataConnectorCommonAttributes |
---|
| localtab-live
|
Expand |
---|
|
Include Page |
---|
| DataConnectorCommonChildElements |
---|
| DataConnectorCommonChildElements |
---|
|
|
...