Class FederatedSSOException

    • Constructor Detail

      • FederatedSSOException

        public FederatedSSOException​(SAML2IdentityProviderAdapter idpAdapter,
                                     String messageCode,
                                     String detail)
        Constructs the FederatedSSOException with the given parameters.
        Parameters:
        idpAdapter - the identity provider adapter, if resolved - may be null.
        messageCode - the message code of the error that occurred.
        detail - the detail of the exception.
    • Method Detail

      • getMessageCode

        public String getMessageCode()
        Returns the message code of this error.
        Returns:
        the message code. Never null.
      • getDetail

        public String getDetail()
        Returns the detail message of this error, if provided.
        Returns:
        the detail message - may be null.
      • getIdpAdapter

        public SAML2IdentityProviderAdapter getIdpAdapter()
        The IDP adapter. This can be used to invoke hooks during error processing.
        Returns:
        the idp adapter. May be null.