Class Script
java.lang.Object
swiss.trustbroker.federation.xmlconfig.Script
- All Implemented Interfaces:
Serializable
Groovy script hook configuration. The following script hooks are supported:
- OnRequest: Inbound validation hook on RP request
- BeforeHrd: Allows to pre-select programmatically a CP based on RP information and network topology parameters (access to HTTP request layer according to J2EE servlet API).
- OnCpRequest: Outbound hook on CP request.
- BeforeIdm: On both sides of the federation (CP and RP) this hook is called before the IDM services are invoked.
- AfterIdm: On RP side of the federation these hooks are called after IDM related data collection and before calling access request and assembling and filtering the RP assertion attributes.
- OnResponse: This script is called just before assembling and signing SAML assertion.
- OnUserInfo: On OIDC user info request
- OnToken: This script is called just before assembling and signing OIDC tokens.
- LOG: SLF4J Logger
- HTTPRequest: Jakarta HttpServletRequest
- RPRequest: XTB RpRequest
- CPResponse: XTB CpResponse
- SAMLResponse: OpenSAML Response
- SAMLRequest: OpenSAML RequestAbstractType
- IDMQueryList: List of XTB IdmQuery executed
- RPConfig: XTB RelyingPartySetupService
- ClaimValues: List of Object values for OIDC value conversion
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Script.ScriptBuilderbuilder()protected booleanbooleangetName()The value identifies the script stored in the trustbroker-inventories definition/scripts directory.getType()Script types as listed above.inthashCode()voidThe value identifies the script stored in the trustbroker-inventories definition/scripts directory.voidScript types as listed above.toString()
-
Constructor Details
-
Script
public Script() -
Script
Creates a newScriptinstance.- Parameters:
type- Script types as listed above.name- The value identifies the script stored in the trustbroker-inventories definition/scripts directory.
-
-
Method Details
-
builder
-
getType
Script types as listed above. -
getName
The value identifies the script stored in the trustbroker-inventories definition/scripts directory. -
setType
Script types as listed above. -
setName
The value identifies the script stored in the trustbroker-inventories definition/scripts directory. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-