Class Flow.FlowBuilder

java.lang.Object
swiss.trustbroker.federation.xmlconfig.Flow.FlowBuilder
Enclosing class:
Flow

public static class Flow.FlowBuilder extends Object
  • Method Details

    • id

      public Flow.FlowBuilder id(String id)
      SAML error code with or without namespace, adding
      trustbroker.config.saml.flowNamespaces
      if needed.
      E.g. UserCancel, PwResetSuccessful, PwResetFailed, PwResetTmpBlocked, urn:oasis:names:tc:SAML:2.0:status:UnknownPrincipal
      Returns:
      this.
    • namespacePrefix

      public Flow.FlowBuilder namespacePrefix(String namespacePrefix)
      Prefix if there are multiple
      trustbroker.config.saml.flowNamespaces
      .
      Returns:
      this.
    • supportInfo

      public Flow.FlowBuilder supportInfo(Boolean supportInfo)
      Show error page including a support info section.
      Returns:
      this.
    • reLogin

      public Flow.FlowBuilder reLogin(Boolean reLogin)
      Show error page including re-login button (triggers another login).
      Returns:
      this.
    • appContinue

      public Flow.FlowBuilder appContinue(Boolean appContinue)
      Show error page including continue to application button (send SAML error on to application).
      Returns:
      this.
    • link

      public Flow.FlowBuilder link(Boolean link)
      Show error page including a link to appUrl.
      Returns:
      this.
      Since:
      1.10.0
    • appRedirectUrl

      public Flow.FlowBuilder appRedirectUrl(String appRedirectUrl)
      Redirect to (application-specific) URL instead of showing an error page.
      Returns:
      this.
      Since:
      1.8.0
    • appUrl

      public Flow.FlowBuilder appUrl(String appUrl)
      Show a link to further information on the error page (general error information on the application or specific to this error code).
      Returns:
      this.
    • supportEmail

      public Flow.FlowBuilder supportEmail(String supportEmail)
      Show (application specific) support e-mail address on the error page.
      Returns:
      this.
    • supportPhone

      public Flow.FlowBuilder supportPhone(String supportPhone)
      Show (application specific) support phone number on the error page.
      Returns:
      this.
    • build

      public Flow build()
    • toString

      public String toString()
      Overrides:
      toString in class Object