The ScriptedDataConnector
ScriptedDataConnector
data connector allows the creation of multiple attributes by a JSR-233 script.
When specified in the urn:mace:shibboleth:2.0:resolver:dc
namespace, the xsi:type
was Script
.
Schema Name and Location
This xsi:type
is defined by the urn:mace:shibboleth:2.0:resolver
schema 3.3, which is located at http://shibboleth.net/schema/idp/shibboleth-attribute-resolver.xsd.
Prior to V3.3 supplied plugins were defined by a schema type ( xsi:type ) in the the urn:mace:shibboleth:2.0:resolver:dc
namespace, the schema , for which is located at http://shibboleth.net/schema/idp/shibboleth-attribute-resolver-dc.xsd. This This is still supported, but every element or type in the urn:mace:shibboleth:2.0:resolver:dc schema
has namespace has an equivalently named (but not necessarily identical) version in the the urn:mace:shibboleth:2.0:resolver
schema namespace. The The use of the the urn:mace:shibboleth:2.0:resolver
schema resolver
namespace also allows a relaxation of the ordering requirements of sub elements and so a more natural order can be applied. Note that versions earlier than 3.3 are no longer supported and you should look to upgrade at the soonest opportunity.When specified in the urn:mace:shibboleth:2.0:resolve
r namespace the name was dc:Script
child elements to reduce strictness.
Attributes
Any of the common attributes can be specified.
...
Name | Type | Req? | Default | Description |
---|---|---|---|---|
language | string | N | JavaScript | Defines the JSR-233 language to use. The default is ECMA script using either the Rhino (Java 7) or Nashorn (Java 8) engines. |
| string | N | The name of a Spring Bean defined elsewhere. This bean will be made available to the script with the name "custom ". See the ScriptedAttributeDefinition for more details |
...