Class Flow
java.lang.Object
swiss.trustbroker.federation.xmlconfig.Flow
- All Implemented Interfaces:
Serializable
Configuration for an individual error code.
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Flow.FlowBuilderbuilder()protected booleanbooleanbooleanbooleanShow error page including continue to application button (send SAML error on to application).Redirect to (application-specific) URL instead of showing an error page.Show a link to further information on the error page (general error information on the application or specific to this error code).getId()SAML error code with or without namespace, addinggetLink()Show error page including a link toappUrl.Prefix if there are multipleShow error page including re-login button (triggers another login).Show (application specific) support e-mail address on the error page.Show error page including a support info section.Show (application specific) support phone number on the error page.inthashCode()voidsetAppContinue(Boolean appContinue) Show error page including continue to application button (send SAML error on to application).voidsetAppRedirectUrl(String appRedirectUrl) Redirect to (application-specific) URL instead of showing an error page.voidShow a link to further information on the error page (general error information on the application or specific to this error code).voidSAML error code with or without namespace, addingvoidShow error page including a link toappUrl.voidsetNamespacePrefix(String namespacePrefix) Prefix if there are multiplevoidsetReLogin(Boolean reLogin) Show error page including re-login button (triggers another login).voidsetSupportEmail(String supportEmail) Show (application specific) support e-mail address on the error page.voidsetSupportInfo(Boolean supportInfo) Show error page including a support info section.voidsetSupportPhone(String supportPhone) Show (application specific) support phone number on the error page.booleantoString()uiFlags()
-
Field Details
-
CONTINUE_FLAG
- See Also:
-
RELOGIN_FLAG
- See Also:
-
LINK_FLAG
- See Also:
-
SUPPORT_FLAG
- See Also:
-
-
Constructor Details
-
Flow
public Flow() -
Flow
public Flow(String id, String namespacePrefix, Boolean supportInfo, Boolean reLogin, Boolean appContinue, Boolean link, String appRedirectUrl, String appUrl, String supportEmail, String supportPhone) Creates a newFlowinstance.- Parameters:
id- SAML error code with or without namespace, addingtrustbroker.config.saml.flowNamespaces
if needed.
E.g. UserCancel, PwResetSuccessful, PwResetFailed, PwResetTmpBlocked, urn:oasis:names:tc:SAML:2.0:status:UnknownPrincipalnamespacePrefix- Prefix if there are multipletrustbroker.config.saml.flowNamespaces
.supportInfo- Show error page including a support info section.reLogin- Show error page including re-login button (triggers another login).appContinue- Show error page including continue to application button (send SAML error on to application).link- Show error page including a link toappUrl.appRedirectUrl- Redirect to (application-specific) URL instead of showing an error page.appUrl- Show a link to further information on the error page (general error information on the application or specific to this error code).supportEmail- Show (application specific) support e-mail address on the error page.supportPhone- Show (application specific) support phone number on the error page.- Since:
- 1.10.0, 1.8.0
-
-
Method Details
-
showErrorPage
public boolean showErrorPage() -
doAppRedirect
public boolean doAppRedirect() -
uiFlags
-
doAppContinue
public boolean doAppContinue() -
builder
-
getId
SAML error code with or without namespace, addingtrustbroker.config.saml.flowNamespaces
if needed.
E.g. UserCancel, PwResetSuccessful, PwResetFailed, PwResetTmpBlocked, urn:oasis:names:tc:SAML:2.0:status:UnknownPrincipal -
getNamespacePrefix
Prefix if there are multipletrustbroker.config.saml.flowNamespaces
. -
getSupportInfo
Show error page including a support info section. -
getReLogin
Show error page including re-login button (triggers another login). -
getAppContinue
Show error page including continue to application button (send SAML error on to application). -
getLink
Show error page including a link toappUrl.- Since:
- 1.10.0
-
getAppRedirectUrl
Redirect to (application-specific) URL instead of showing an error page.- Since:
- 1.8.0
-
getAppUrl
Show a link to further information on the error page (general error information on the application or specific to this error code). -
getSupportEmail
Show (application specific) support e-mail address on the error page. -
getSupportPhone
Show (application specific) support phone number on the error page. -
setId
SAML error code with or without namespace, addingtrustbroker.config.saml.flowNamespaces
if needed.
E.g. UserCancel, PwResetSuccessful, PwResetFailed, PwResetTmpBlocked, urn:oasis:names:tc:SAML:2.0:status:UnknownPrincipal -
setNamespacePrefix
Prefix if there are multipletrustbroker.config.saml.flowNamespaces
. -
setSupportInfo
Show error page including a support info section. -
setReLogin
Show error page including re-login button (triggers another login). -
setAppContinue
Show error page including continue to application button (send SAML error on to application). -
setLink
Show error page including a link toappUrl.- Since:
- 1.10.0
-
setAppRedirectUrl
Redirect to (application-specific) URL instead of showing an error page.- Since:
- 1.8.0
-
setAppUrl
Show a link to further information on the error page (general error information on the application or specific to this error code). -
setSupportEmail
Show (application specific) support e-mail address on the error page. -
setSupportPhone
Show (application specific) support phone number on the error page. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-