Class AbstractStartForbiddenException

    • Constructor Detail

      • AbstractStartForbiddenException

        public AbstractStartForbiddenException​(String message)
    • Method Detail

      • isSsoEnabled

        public boolean isSsoEnabled()
        Indicates whether single sign-on is enabled. When SSO is enabled, the exception handling may include logging out from the identity provider before attempting to log in again with a different user.
        Returns:
        true if signle sign-on is enabled, false otherwise.
      • setSsoEnabled

        public void setSsoEnabled​(boolean ssoEnabled)
        Sets whether single sign-on is enabled.
        Parameters:
        ssoEnabled - true if single sign-on is enabled.
      • getSsoLogoutUrl

        public String getSsoLogoutUrl()
        Returns the URL where the user can log out from the identity provider, if available. Note that having single sign-on enabled does not imply that a SSO logout URL is available.

        When this method returns a value, the exception handling may include providing a link to this URL to the user. The user may want to log out from the identity provider and log in with a different account before attempting to restart the project.

        Returns:
        the identity provider's logout URL if available, null otherwise.
      • setSsoLogoutUrl

        public void setSsoLogoutUrl​(String ssoLogoutUrl)
        Sets the identity provider's logout URL, if available.
        Parameters:
        ssoLogoutUrl - the logout URL