Class SloResponse
java.lang.Object
swiss.trustbroker.federation.xmlconfig.SloResponse
- All Implemented Interfaces:
Serializable
Single logout (SLO) configurations for an RP.
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionSloResponse(SloMode mode, SloProtocol protocol, swiss.trustbroker.common.saml.dto.SamlBinding binding, String issuer, Boolean sessionRequired, Boolean crossProtocol, String url, Boolean matchAcUrl, SignerKeystore signerKeystore, org.opensaml.security.credential.Credential sloSigner) Creates a newSloResponseinstance. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanswiss.trustbroker.common.saml.dto.SamlBindingThe protocol binding for which this entry applies.Use notification cross-protocol (i.e.Issuer for SAML LogoutResponse.Perform ACUrl matching for absolute url, prefix with ACUrl scheme/host/port for relative URL.getMode()The mode of this entry.The protocol for which this entry applies.Enables OIDCOverride RPs signer for SAML2 LogoutRequest notifications(the LogoutResponse is always signed with RPs signer).org.opensaml.security.credential.CredentialgetUrl()Valid settings are: An absolute URL (used as is) A relative URL (path) that is appended to the HTTP referrer or ACUrl URLinthashCode()booleanhasIssuerForResponse(SloProtocol protocol) booleanhasSloUrlForResponse(SloProtocol protocol) booleanisNotification(SloProtocol protocol) booleanbooleanisResponse(SloProtocol protocol) booleanisSameExceptMode(SloResponse response) booleanvoidsetBinding(swiss.trustbroker.common.saml.dto.SamlBinding binding) The protocol binding for which this entry applies.voidsetCrossProtocol(Boolean crossProtocol) Use notification cross-protocol (i.e.voidIssuer for SAML LogoutResponse.voidsetMatchAcUrl(Boolean matchAcUrl) Perform ACUrl matching for absolute url, prefix with ACUrl scheme/host/port for relative URL.voidThe mode of this entry.voidsetProtocol(SloProtocol protocol) The protocol for which this entry applies.voidsetSessionRequired(Boolean sessionRequired) Enables OIDCvoidsetSignerKeystore(SignerKeystore signerKeystore) Override RPs signer for SAML2 LogoutRequest notifications(the LogoutResponse is always signed with RPs signer).voidsetSloSigner(org.opensaml.security.credential.Credential sloSigner) voidValid settings are: An absolute URL (used as is) A relative URL (path) that is appended to the HTTP referrer or ACUrl URLtoString()
-
Constructor Details
-
SloResponse
public SloResponse() -
SloResponse
public SloResponse(SloMode mode, SloProtocol protocol, swiss.trustbroker.common.saml.dto.SamlBinding binding, String issuer, Boolean sessionRequired, Boolean crossProtocol, String url, Boolean matchAcUrl, SignerKeystore signerKeystore, org.opensaml.security.credential.Credential sloSigner) Creates a newSloResponseinstance.- Parameters:
mode- The mode of this entry.
Default: RESPONSEprotocol- The protocol for which this entry applies.
Default: SAML2binding- The protocol binding for which this entry applies.
Default: POST (ignored for OIDC)issuer- Issuer for SAML LogoutResponse.
Overrides the globally configured issuer.sessionRequired- Enables OIDCfrontchannel_logout_session_required
.
Default: falsecrossProtocol- Use notification cross-protocol (i.e. use protocol=OIDC even if RP is a SAML SSO session participant and vice versa).
Note: protocol HTTP is always used crossProtocol.
Default: falseurl- Valid settings are:- An absolute URL (used as is)
- A relative URL (path) that is appended to the HTTP referrer or ACUrl URL
matchAcUrl- Perform ACUrl matching for absolute url, prefix with ACUrl scheme/host/port for relative URL.
Defaults to false: use this URL regardless of what ACUrls were used for the RP in the current SSO session.signerKeystore- Override RPs signer for SAML2 LogoutRequest notifications(the LogoutResponse is always signed with RPs signer).sloSigner-- Since:
- 1.10.0
- See Also:
-
-
Method Details
-
getSloSigner
public org.opensaml.security.credential.Credential getSloSigner() -
hasSloUrlForResponse
-
hasIssuerForResponse
-
isResponse
-
isNotification
-
matchAcUrl
public boolean matchAcUrl() -
isOidcSessionRequired
public boolean isOidcSessionRequired() -
isSameExceptMode
-
builder
-
getMode
The mode of this entry.
Default: RESPONSE -
getProtocol
The protocol for which this entry applies.
Default: SAML2 -
getBinding
public swiss.trustbroker.common.saml.dto.SamlBinding getBinding()The protocol binding for which this entry applies.
Default: POST (ignored for OIDC)- Since:
- 1.10.0
-
getIssuer
Issuer for SAML LogoutResponse.
Overrides the globally configured issuer. -
getSessionRequired
Enables OIDCfrontchannel_logout_session_required
.
Default: false- See Also:
-
getCrossProtocol
Use notification cross-protocol (i.e. use protocol=OIDC even if RP is a SAML SSO session participant and vice versa).
Note: protocol HTTP is always used crossProtocol.
Default: false -
getUrl
Valid settings are:- An absolute URL (used as is)
- A relative URL (path) that is appended to the HTTP referrer or ACUrl URL
-
getMatchAcUrl
Perform ACUrl matching for absolute url, prefix with ACUrl scheme/host/port for relative URL.
Defaults to false: use this URL regardless of what ACUrls were used for the RP in the current SSO session. -
getSignerKeystore
Override RPs signer for SAML2 LogoutRequest notifications(the LogoutResponse is always signed with RPs signer). -
setMode
The mode of this entry.
Default: RESPONSE -
setProtocol
The protocol for which this entry applies.
Default: SAML2 -
setBinding
public void setBinding(swiss.trustbroker.common.saml.dto.SamlBinding binding) The protocol binding for which this entry applies.
Default: POST (ignored for OIDC)- Since:
- 1.10.0
-
setIssuer
Issuer for SAML LogoutResponse.
Overrides the globally configured issuer. -
setSessionRequired
Enables OIDCfrontchannel_logout_session_required
.
Default: false- See Also:
-
setCrossProtocol
Use notification cross-protocol (i.e. use protocol=OIDC even if RP is a SAML SSO session participant and vice versa).
Note: protocol HTTP is always used crossProtocol.
Default: false -
setUrl
Valid settings are:- An absolute URL (used as is)
- A relative URL (path) that is appended to the HTTP referrer or ACUrl URL
-
setMatchAcUrl
Perform ACUrl matching for absolute url, prefix with ACUrl scheme/host/port for relative URL.
Defaults to false: use this URL regardless of what ACUrls were used for the RP in the current SSO session. -
setSignerKeystore
Override RPs signer for SAML2 LogoutRequest notifications(the LogoutResponse is always signed with RPs signer). -
setSloSigner
public void setSloSigner(org.opensaml.security.credential.Credential sloSigner) -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-