Class CaptchaProvider.AuthenticationStatus

  • Enclosing interface:
    CaptchaProvider

    public static final class CaptchaProvider.AuthenticationStatus
    extends Object
    A readonly representation of the current authentication status
    Since:
    11.3
    • Constructor Detail

    • Method Detail

      • getAuthnStatus

        public AuthnAdapterResponse.AUTHN_STATUS getAuthnStatus()
        Get the status of an authentication returned from an IdP adapter.
        Returns:
        authentication status
        Since:
        11.3
      • getAttributeMap

        public Map<String,​Object> getAttributeMap()
        Get a Readonly map of attributes that uniquely identify the authenticated security context of the user. refer to AuthnAdapterResponse.getAttributeMap() for more details.
        Returns:
        a map of attributes
        Since:
        11.3
      • getErrorCode

        public int getErrorCode()
        Get error code.
        Returns:
        error code
        Since:
        11.3
      • getUsername

        public String getUsername()
        Get the username that has been authenticated or attempted.
        Returns:
        username
        Since:
        11.3
      • getErrorMessage

        public String getErrorMessage()
        Get an error message. The message may be logged in audit log.
        Returns:
        error message
        Since:
        11.3