Package org.ietf.jgss

Class GSSException

All Implemented Interfaces:
Serializable

public class GSSException extends Exception
This exception is thrown whenever a GSS-API error occurs, including any mechanism specific error. It may contain both the major and the minor GSS-API status codes. Major error codes are those defined at the GSS-API level in this class. Minor error codes are mechanism specific error codes that can provide additional information. The underlying mechanism implementation is responsible for setting appropriate minor status codes when throwing this exception. Aside from delivering the numeric error codes to the caller, this class performs the mapping from their numeric values to textual representations.
Since:
1.4
See Also:
  • Field Details

    • BAD_BINDINGS

      public static final int BAD_BINDINGS
      Channel bindings mismatch.
      See Also:
    • BAD_MECH

      public static final int BAD_MECH
      Unsupported mechanism requested.
      See Also:
    • BAD_NAME

      public static final int BAD_NAME
      Invalid name provided.
      See Also:
    • BAD_NAMETYPE

      public static final int BAD_NAMETYPE
      Name of unsupported type provided.
      See Also:
    • BAD_STATUS

      public static final int BAD_STATUS
      Invalid status code.
      See Also:
    • BAD_MIC

      public static final int BAD_MIC
      Token had invalid integrity check.
      See Also:
    • CONTEXT_EXPIRED

      public static final int CONTEXT_EXPIRED
      Security context expired.
      See Also:
    • CREDENTIALS_EXPIRED

      public static final int CREDENTIALS_EXPIRED
      Expired credentials.
      See Also:
    • DEFECTIVE_CREDENTIAL

      public static final int DEFECTIVE_CREDENTIAL
      Defective credentials.
      See Also:
    • DEFECTIVE_TOKEN

      public static final int DEFECTIVE_TOKEN
      Defective token.
      See Also:
    • FAILURE

      public static final int FAILURE
      General failure, unspecified at GSS-API level.
      See Also:
    • NO_CONTEXT

      public static final int NO_CONTEXT
      Invalid security context.
      See Also:
    • NO_CRED

      public static final int NO_CRED
      Invalid credentials.
      See Also:
    • BAD_QOP

      public static final int BAD_QOP
      Unsupported QOP value.
      See Also:
    • UNAUTHORIZED

      public static final int UNAUTHORIZED
      Operation unauthorized.
      See Also:
    • UNAVAILABLE

      public static final int UNAVAILABLE
      Operation unavailable.
      See Also:
    • DUPLICATE_ELEMENT

      public static final int DUPLICATE_ELEMENT
      Duplicate credential element requested.
      See Also:
    • NAME_NOT_MN

      public static final int NAME_NOT_MN
      Name contains multi-mechanism elements.
      See Also:
    • DUPLICATE_TOKEN

      public static final int DUPLICATE_TOKEN
      The token was a duplicate of an earlier token. This is a fatal error code that may occur during context establishment. It is not used to indicate supplementary status values. The MessageProp object is used for that purpose.
      See Also:
    • OLD_TOKEN

      public static final int OLD_TOKEN
      The token's validity period has expired. This is a fatal error code that may occur during context establishment. It is not used to indicate supplementary status values. The MessageProp object is used for that purpose.
      See Also:
    • UNSEQ_TOKEN

      public static final int UNSEQ_TOKEN
      A later token has already been processed. This is a fatal error code that may occur during context establishment. It is not used to indicate supplementary status values. The MessageProp object is used for that purpose.
      See Also:
    • GAP_TOKEN

      public static final int GAP_TOKEN
      An expected per-message token was not received. This is a fatal error code that may occur during context establishment. It is not used to indicate supplementary status values. The MessageProp object is used for that purpose.
      See Also: