public static enum SADValidationException.ErrorCode extends Enum<SADValidationException.ErrorCode>
Enum Constant and Description |
---|
BAD_SAD_FORMAT
The SAD is not correct (i.e., missing claims).
|
JWT_PARSE_ERROR
The JWT or its contained JSON could not be successfully parsed.
|
MISSING_SUBJECT_ATTRIBUTE
The attribute name given in the SAD for the subject was not found in the assertion.
|
NO_SAD_ATTRIBUTE
SAD is missing from assertion.
|
SAD_EXPIRED
SAD has expired and is no longer valid.
|
SIGNATURE_VALIDATION_ERROR
Signature validation error.
|
VALIDATION_BAD_AUDIENCE
Mismatching audience - the receiving entity does not match the indicated audience.
|
VALIDATION_BAD_DOCS
Mismatching number of documents between SAD and corresponding SADRequest.
|
VALIDATION_BAD_IRT
Mismatching in-response-to - the irt claim does not match expected SADRequest ID.
|
VALIDATION_BAD_ISSUER
Mismatching issuer - issuer of SAD is not the same as issuing IdP.
|
VALIDATION_BAD_LOA
Mismatching LoA - The LoA in the SAD does not correspond with the LoA in the assertion.
|
VALIDATION_BAD_SIGNREQUESTID
Mismatching SignRequest ID (SAD has different value that what was expected).
|
VALIDATION_BAD_SUBJECT
Mismatching subject - the subject in the SAD does not match corresponding attribute from assertion.
|
Modifier and Type | Method and Description |
---|---|
static SADValidationException.ErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SADValidationException.ErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SADValidationException.ErrorCode JWT_PARSE_ERROR
public static final SADValidationException.ErrorCode BAD_SAD_FORMAT
public static final SADValidationException.ErrorCode SIGNATURE_VALIDATION_ERROR
public static final SADValidationException.ErrorCode SAD_EXPIRED
public static final SADValidationException.ErrorCode VALIDATION_BAD_ISSUER
public static final SADValidationException.ErrorCode VALIDATION_BAD_AUDIENCE
public static final SADValidationException.ErrorCode VALIDATION_BAD_SUBJECT
public static final SADValidationException.ErrorCode VALIDATION_BAD_IRT
public static final SADValidationException.ErrorCode VALIDATION_BAD_LOA
public static final SADValidationException.ErrorCode VALIDATION_BAD_DOCS
public static final SADValidationException.ErrorCode VALIDATION_BAD_SIGNREQUESTID
public static final SADValidationException.ErrorCode NO_SAD_ATTRIBUTE
public static final SADValidationException.ErrorCode MISSING_SUBJECT_ATTRIBUTE
public static SADValidationException.ErrorCode[] values()
for (SADValidationException.ErrorCode c : SADValidationException.ErrorCode.values()) System.out.println(c);
public static SADValidationException.ErrorCode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2018 Litsec AB. All rights reserved.