Constant Field Values

Contents

uk.gov.*

  • uk.gov.ida.saml.core.domain.SamlStatusCode 
    Modifier and Type Constant Field Value
    public static final java.lang.String CREATE_FAILURE "urn:uk:gov:cabinet-office:tc:saml:statuscode:create-failure"
    public static final java.lang.String CREATED "urn:uk:gov:cabinet-office:tc:saml:statuscode:created"
    public static final java.lang.String HEALTHY "urn:uk:gov:cabinet-office:tc:saml:statuscode:healthy"
    public static final java.lang.String MATCH "urn:uk:gov:cabinet-office:tc:saml:statuscode:match"
    public static final java.lang.String MULTI_MATCH "urn:uk:gov:cabinet-office:tc:saml:statuscode:multiple-match"
    public static final java.lang.String NO_MATCH "urn:uk:gov:cabinet-office:tc:saml:statuscode:no-match"
  • uk.gov.ida.saml.core.extensions.versioning.Version 
    Modifier and Type Constant Field Value
    public static final java.lang.String NAMESPACE_PREFIX "metric"
    public static final java.lang.String NAMESPACE_URI "http://www.cabinetoffice.gov.uk/resource-library/ida/metrics"
    public static final java.lang.String TYPE_LOCAL_NAME "VersionType"
  • uk.gov.ida.saml.core.validation.errors.AuthnContextMissingError 
    Modifier and Type Constant Field Value
    public static final java.lang.String MISSING_AUTHN_CONTEXT "Assertion is missing \'AuthnContext\' element."
  • uk.gov.ida.saml.core.validation.errors.AuthnRequestFromTransactionValidationSpecification 
    Modifier and Type Constant Field Value
    public static final java.lang.String ASSERTION_CONSUMING_SERVICE_INDEX_INVALID "Invalid assertion consumer index {0}"
    public static final java.lang.String ASSERTION_CONSUMING_SERVICE_URL_EXISTS "\'\'AssertionConsumerServiceURL\'\' must not be present."
    public static final java.lang.String EMPTY_ISSUER "SAML \'\'Issuer\'\' element has no value."
    public static final java.lang.String ILLEGAL_NAME_ID_POLICY "Name ID policy format has illegal value: {0}."
    public static final java.lang.String INCORRECT_VERSION "SAML \'Version Number\' has incorrect value. Should be 2.0."
    public static final java.lang.String MISSING_ID "SAML is missing \'\'ID\'\' attribute."
    public static final java.lang.String MISSING_ISSUE_INSTANT "Assertion with id {0} has no \'\'IssueInstant\'\' attribute"
    public static final java.lang.String MISSING_ISSUER "SAML is missing \'Issuer\' element."
    public static final java.lang.String MISSING_NAME_ID_POLICY "Name ID policy format is missing."
    public static final java.lang.String MISSING_VERSION "Assertion with id {0} has no \'\'Version\'\' attribute"
    public static final java.lang.String PASSIVE_NOT_ALLOWED "\'\'IsPassive\'\' attribute is not allowed."
    public static final java.lang.String PROTOCOL_BINDING "\'\'ProtocolBinding\'\' has illegal value: {0}. Value must be set to {1}."
    public static final java.lang.String SCOPE_NOT_ALLOWED "\'\'Scoping\'\' element is not allowed."
    public static final java.lang.String UNRECOGNISED_BINDING "{0} is not a recognised binding."
  • uk.gov.ida.saml.core.validation.errors.BearerSubjectConfirmationValidationSpecification 
    Modifier and Type Constant Field Value
    public static final java.lang.String EXCEEDED_NOT_ON_OR_AFTER "Bearer subject confirmation data\'\'s \'\'NotOnOrAfter\'\' timestamp of {0} has been exceeded."
    public static final java.lang.String IN_RESPONSE_TO_DOES_NOT_MATCH "Bearer subject confirmation data\'\'s \'\'InResponseTo\'\' attribute ({0}) was not the same as the Response\'\'s \'\'InResponseTo\'\' ({1})."
    public static final java.lang.String INCORRECT_RECIPIENT_FORMAT "\'\'{0}\'\' - Bearer subject confirmation data \'\'Recipient\'\' attribute is not set to the expected value. Expected value was {1}"
    public static final java.lang.String MISSING_SUBJECT_CONFIRMATION_DATA "Bearer subject confirmation has no \'\'SubjectConfirmationData\'\' element."
    public static final java.lang.String NO_INRESPONSETO_VALUE "Bearer subject confirmation data has no \'\'InResponseTo\'\' attribute."
    public static final java.lang.String NO_NOT_ON_OR_AFTER "Bearer subject confirmation data has no \'\'NotOnOrAfter\'\' attribute."
    public static final java.lang.String NO_RECIPIENT "Bearer subject confirmation data has no \'\'Recipient\'\' attribute."
    public static final java.lang.String NOT_BEFORE_ATTRIBUTE_EXISTS "Bearer subject confirmation data contains a \'\'NotBefore\'\' attribute."
  • uk.gov.ida.saml.core.validation.errors.DuplicateRequestIdValidationSpecificationFailure 
    Modifier and Type Constant Field Value
    public static final java.lang.String DUPLICATE_REQUEST_ID "Duplicate request ID {0} from issuer {1}."
  • uk.gov.ida.saml.core.validation.errors.GenericHubProfileValidationSpecification 
    Modifier and Type Constant Field Value
    public static final java.lang.String ASSERTION_SIGNATURE_NOT_SIGNED "Assertion with id {0} is not signed"
    public static final java.lang.String ATTRIBUTE_HAS_INCORRECT_TYPE "Attribute \'\'{0}\'\' has incorrect type. Should be \'\'{1}\'\' but got \'\'{2}\'\'."
    public static final java.lang.String DUPLICATE_MATCHING_DATASET "A matching dataset assertion with id {0} has already been received for idp {1}"
    public static final java.lang.String EMPTY_ATTRIBUTE "Attribute \'\'{0}\'\' does not have a value."
    public static final java.lang.String EMPTY_DESTINATION "Destination is incorrect. Expected: {0} Received: {1}."
    public static final java.lang.String EMPTY_IP_ADDRESS "Assertion with id {0} IP address attribute contains no value."
    public static final java.lang.String EMPTY_ISSUER "SAML \'\'Issuer\'\' element has no value."
    public static final java.lang.String EMPTY_X509CERT "X509Certificate element is empty."
    public static final java.lang.String ENCRYPTION_ALGORITHM_SHOULD_BE_AES128 "Assertion encrypted with unsupported encryption algorithm {0}, should be AES128."
    public static final java.lang.String ILLEGAL_ISSUER_FORMAT "SAML \'\'Issuer\'\' has wrong format: {0}, expected {1}."
    public static final java.lang.String ILLEGAL_VERSION "Assertion with id {0} declared an illegal \'\'Version\'\' attribute value"
    public static final java.lang.String INVALID_ASSERTION_SIGNATURE "Signature for assertion {0} was not valid."
    public static final java.lang.String INVALID_MESSAGE_SIGNATURE "Signature was not valid."
    public static final java.lang.String INVALID_REQUEST_ID "RequestID must start with a letter or an underscore"
    public static final java.lang.String INVALID_STATUS_CODE "Status code \'\'{0}\'\' is not a valid status code."
    public static final java.lang.String INVALID_SUB_STATUS_CODE "Sub-status \'\'{0}\'\' is not a valid sub-status when top-level status is \'\'{1}\'\'."
    public static final java.lang.String KEY_ENCRYPTION_ALGORITHM_SHOULD_BE_RSAOAEP "Key encrypted with unsupported encryption algorithm {0}, should be RSAOAEP."
    public static final java.lang.String MDS_ATTRIBUTE_NOT_RECOGNISED "\'\'{0}\'\' is not a recognised matching dataset attribute."
    public static final java.lang.String MDS_MULTIPLE_STATEMENTS "Matching dataset contains multiple attribute statements."
    public static final java.lang.String MDS_STATEMENT_MISSING "Matching dataset contains no attribute statements."
    public static final java.lang.String MISMATCHED_ISSUERS "IDP matching dataset and authn statement assertions do not contain matching issuers"
    public static final java.lang.String MISMATCHED_PIDS "IDP matching dataset and authn statement assertions do not contain matching persistent identifiers"
    public static final java.lang.String MISSING_ASSERTION_SIGNATURE "Assertion with id {0} has no signature."
    public static final java.lang.String MISSING_CACHEDUR_VALIDUNTIL "Neither of Entity Descriptor\'s \'CacheDuration\' & \'ValidUntil\' attributes were provided. At least one must be provided."
    public static final java.lang.String MISSING_DESTINATION "Destination should not be absent. Expected: {0}."
    public static final java.lang.String MISSING_DISP_NAME_LOCAL_STRING "EntityDescriptor organization \'DisplayName\' element is missing a localized string value."
    public static final java.lang.String MISSING_DISPLAY_NAME "EntityDescriptor is missing an organization \'DisplayName\' element."
    public static final java.lang.String MISSING_ID "SAML is missing \'\'ID\'\' attribute."
    public static final java.lang.String MISSING_IDPSSODESCR "EntityDescriptor is missing an \'IDPSSODescriptor\' element."
    public static final java.lang.String MISSING_IP_ADDRESS "Assertion with id {0} is missing an IP address attribute."
    public static final java.lang.String MISSING_ISSUE_INSTANT "Assertion with id {0} has no \'\'IssueInstant\'\' attribute"
    public static final java.lang.String MISSING_ISSUER "SAML is missing \'\'Issuer\'\' element."
    public static final java.lang.String MISSING_KEY "Could not find expected key for {0} for entity {1}."
    public static final java.lang.String MISSING_KEY_DESCRIPTOR "RoleDescriptor is missing a \'\'KeyDescriptor\'\' element."
    public static final java.lang.String MISSING_KEY_INFO "KeyDescriptor is missing a \'\'KeyInfo\'\' element."
    public static final java.lang.String MISSING_MDS "Missing a matching dataset assertion."
    public static final java.lang.String MISSING_OR_EMPTY_ENTITY_ID "SAML \'\'EntityID\'\' attribute is missing or has no value."
    public static final java.lang.String MISSING_ORGANIZATION "EntityDescriptor is missing \'Organization\' element."
    public static final java.lang.String MISSING_ROLE_DESCRIPTOR "EntityDescriptor is missing a \'RoleDescriptor\' element."
    public static final java.lang.String MISSING_SIGNATURE "Message has no signature."
    public static final java.lang.String MISSING_SSOS "EntityDescriptor is missing a \'SingleSignOnService\' element."
    public static final java.lang.String MISSING_SSOS_BINDING "EntityDescriptor single sign-on service \'Binding\' attribute is missing or has no value."
    public static final java.lang.String MISSING_SSOS_LOCATION "EntityDescriptor single sign-on service \'Location\' attribute is missing or has no value."
    public static final java.lang.String MISSING_SUPPORTED_IDPSSODECR "EntityDescriptor is missing an \'IDPSSODescriptor\' element with a supported protocol."
    public static final java.lang.String MISSING_VERSION "Assertion with id {0} has no \'\'Version\'\' attribute"
    public static final java.lang.String MISSING_X509CERT "X509Data is missing a \'\'X509Certificate\'\' element."
    public static final java.lang.String MISSING_X509DATA "KeyInfo is missing a \'\'X509Data\'\' element."
    public static final java.lang.String NO_SUBJECT_CONF_WITH_BEARER_METHOD "Assertion with id {0} has no subject confirmation with method set to bearer."
    public static final java.lang.String SIGNATURE_NOT_SIGNED "Message signature is not signed"
    public static final java.lang.String SUB_STATUS_CODE_LIMIT_EXCEEDED "More than {0} nested sub-status codes are not permitted."
    public static final java.lang.String UNABLE_TO_DECRYPT "Problem decrypting assertion {0}."
    public static final java.lang.String UNABLE_TO_DECRYPT_ENCRYPTED_KEY "Unable to decrypt XML encryption key with algorithm {0}."
    public static final java.lang.String UNABLE_TO_ENCRYPT_SYMMETRIC_KEY "Unable to encrypt XML encryption key."
    public static final java.lang.String UNABLE_TO_LOCATE_ENCRYPTED_KEY "Unable to located encrypted key within assertion."
    public static final java.lang.String UNABLE_TO_VALIDATE_ASSERTION_SIGNATURE "Unknown problem when trying to validate signature for assertion {0}."
    public static final java.lang.String UNABLE_TO_VALIDATE_MESSAGE_SIGNATURE "Unknown problem when trying to validate signature."
    public static final java.lang.String UNSUPPORTED_KEY "Unspecified key descriptor usage type: {0} is not supported."
    public static final java.lang.String UNSUPPORTED_SIGNATURE_ENCRYPTION_ALGORITHM "Signature algorithm {0} is not supported."
  • uk.gov.ida.saml.core.validation.errors.RelayStateValidationSpecification 
    Modifier and Type Constant Field Value
    public static final java.lang.String INVALID_RELAY_STATE "The RelayState has more than 80 characters: \'\'{0}\'\'"
    public static final java.lang.String INVALID_RELAY_STATE_CHARACTER "The RelayState contains illegal character \'\'{0}\'\': \'\'{1}\'\'"
  • uk.gov.ida.saml.core.validation.errors.RequestFreshnessValidationSpecification 
    Modifier and Type Constant Field Value
    public static final java.lang.String REQUEST_TOO_OLD "Request ID {0} too old (request issueInstant {1}, current time {2})."
  • uk.gov.ida.saml.core.validation.errors.ResponseProcessingValidationSpecification 
    Modifier and Type Constant Field Value
    public static final java.lang.String ATTRIBUTE_STATEMENT_EMPTY "The assertion MUST contain an <AttributeStatement> with at least one <Attribute> element. Assertion Id: {0} doesn\'\'t."
    public static final java.lang.String AUTHN_STATEMENT_ALREADY_RECEIVED "An authn statement assertion with id {0} has already been received."
    public static final java.lang.String EMPTY_INRESPONSE_TO "Response \'InResponseTo\' attribute is empty."
    public static final java.lang.String ILLEGAL_SUBJECT_NAME_ID_FORMAT "Subject\'\'s name id format for assertion with id {0} has illegal value {1}."
    public static final java.lang.String MISSING_ATTRIBUTE_STATEMENT_IN_ASSERTION "All <Assertions> must contain an <AttributeStatement>. Assertion Id: {0} doesn\'\'t."
    public static final java.lang.String MISSING_AUTHN_CONTEXT_CLASS_REF "Assertion is missing \'AuthnContextClassRef\' element."
    public static final java.lang.String MISSING_AUTHN_CONTEXT_CLASS_REF_VALUE "Assertion is missing \'AuthnContextClassRef\' value."
    public static final java.lang.String MISSING_AUTHN_STATEMENT "Assertion is missing \'AuthnStatement\' element."
    public static final java.lang.String MISSING_INRESPONSE_TO "Response has no \'InResponseTo\' attribute."
    public static final java.lang.String MISSING_SUB_STATUS "Response requires a sub status."
    public static final java.lang.String MISSING_SUBJECT "Assertion with id {0} has no subject."
    public static final java.lang.String MISSING_SUBJECT_NAME_ID_FORMAT "Subject\'\'s name id format for assertion with id {0} is missing."
    public static final java.lang.String MISSING_SUCCESS_UNENCRYPTED "Success response has no unencrypted assertions."
    public static final java.lang.String MULTIPLE_AUTHN_STATEMENTS "Response contains multiple authn statements."
    public static final java.lang.String NON_SUCCESS_HAS_UNENCRYPTED "Non-success response has unencrypted assertions. Should contain no assertions."
    public static final java.lang.String STATUS_CODE_MUST_BE_EITHER "\'\'{0}\'\' response sub status must be either \'\'{1}\'\' or \'\'{2}\'\'."
    public static final java.lang.String STATUS_CODE_MUST_BE_ONE_OF "\'\'{0}\'\' response sub status must be \'\'{1}\'\', \'\'{2}\'\', or \'\'{3}\'\'."
    public static final java.lang.String SUBJECT_HAS_NO_NAME_ID "Subject for assertion with id {0} has no name id."
    public static final java.lang.String UNENCRYPTED_ASSERTIONS "Response has unencrypted assertion."
    public static final java.lang.String UNEXPECTED_ENCRYPTED_ASSERTIONS "Response contains encrypted assertions. There should be no encrypted assertions remaining post decryption."
    public static final java.lang.String UNEXPECTED_NUMBER_OF_ASSERTIONS "Response expected to contain {0} assertions. {1} assertion(s) found."
    public static final java.lang.String UNREQUIRED_ENCRYPTION "Response contained an encrypted assertion. Based on configuration, encryption is not required for this environment."
  • uk.gov.ida.saml.core.validation.errors.SamlValidationSpecification 
    Modifier and Type Constant Field Value
    public static final java.lang.String DESERIALIZATION_ERROR "Unable to deserialize string into OpenSaml object: {0}"
    public static final java.lang.String INVALID_BASE64_ENCODING "SAML is not base64 encoded in message body. start> {0} <end"
    public static final java.lang.String MISSING_SAML "Missing SAML message."
    public static final java.lang.String UNMARSHALLING_ERROR "Unable to unmarshall element \'\'{0}\'\' into OpenSaml object."
  • uk.gov.ida.saml.core.validation.errors.StringValidationSpecification 
    Modifier and Type Constant Field Value
    public static final java.lang.String LOWER_BOUND_ERROR_MESSAGE "The size of string is {0}; it should be at least {1}."
    public static final java.lang.String UPPER_BOUND_ERROR_MESSAGE "The size of string is {0}; it should be less than or equal to {1}."