@Override public ProcessingException samlAssertionRevokedCouldNotRenew(String id) { return new ProcessingException(ErrorCodes.ASSERTION_RENEWAL_EXCEPTION + "SAMLV1.1 Assertion with id " + id + " has been canceled and cannot be renewed"); }
@Override public ConfigurationException auditSecurityDomainNotFound(Throwable t) { return new ConfigurationException( "Could not find a security domain configuration. Check if it is defined in WEB-INF/jboss-web.xml or set the " + GeneralConstants.AUDIT_SECURITY_DOMAIN + " system property.", t); }
@Override public String getMessage() { return exceptionCode + ": " + super.getMessage(); } }
@Override public TrustKeyConfigurationException trustKeyManagerMissing() { return new TrustKeyConfigurationException(ErrorCodes.TRUST_MANAGER_MISSING); }
@Override public ProcessingException samlHandlerSignatureNotPresentError() { return new ProcessingException(ErrorCodes.INVALID_DIGITAL_SIGNATURE + "Signature Validation failed. Signature is not present. Check if the IDP is supporting signatures."); }
@Override public ConfigurationException auditSecurityDomainNotFound(Throwable t) { return new ConfigurationException( "Could not find a security domain configuration. Check if it is defined in WEB-INF/jboss-web.xml or set the " + GeneralConstants.AUDIT_SECURITY_DOMAIN + " system property.", t); }
@Override public ProcessingException samlAssertionRevokedCouldNotRenew(String id) { return new ProcessingException(ErrorCodes.ASSERTION_RENEWAL_EXCEPTION + "SAMLV1.1 Assertion with id " + id + " has been canceled and cannot be renewed"); }
@Override public ConfigurationException auditSecurityDomainNotFound(Throwable t) { return new ConfigurationException( "Could not find a security domain configuration. Check if it is defined in WEB-INF/jboss-web.xml or set the " + GeneralConstants.AUDIT_SECURITY_DOMAIN + " system property.", t); }
@Override public ProcessingException samlAssertionRevokedCouldNotRenew(String id) { return new ProcessingException(ErrorCodes.ASSERTION_RENEWAL_EXCEPTION + "SAMLV1.1 Assertion with id " + id + " has been canceled and cannot be renewed"); }
@Override public ConfigurationException samlMetaDataNoIdentityProviderDefined() { return new ConfigurationException("No configuration provided for the Identity Provider."); }
@Override public ProcessingException samlHandlerSignatureNotPresentError() { return new ProcessingException(ErrorCodes.INVALID_DIGITAL_SIGNATURE + "Signature Validation failed. Signature is not present. Check if the IDP is supporting signatures."); }
@Override public ProcessingException processingError(Throwable t) { return new ProcessingException(ErrorCodes.PROCESSING_EXCEPTION, t); }
@Override public ProcessingException samlAssertionExpiredError() { return new ProcessingException(ErrorCodes.EXPIRED_ASSERTION); }
@Override public ProcessingException couldNotCreateInstance(String fqn, Throwable t) { return new ProcessingException(ErrorCodes.CANNOT_CREATE_INSTANCE + fqn, t); }
@Override public ProcessingException samlAssertionMarshallError(Throwable t) { return new ProcessingException(ErrorCodes.PROCESSING_EXCEPTION + "Failed to marshall SAMLV1.1 assertion", t); }
@Override public ProcessingException wsTrustValidationStatusCodeMissing() { return new ProcessingException(ErrorCodes.NULL_VALUE + "Validation status code is missing"); }
@Override public ProcessingException samlHandlerAuthnRequestIsNull() { return new ProcessingException(ErrorCodes.NULL_VALUE + "AuthnRequest is null"); }
@Override public ProcessingException samlHandlerSignatureNotPresentError() { return new ProcessingException(ErrorCodes.INVALID_DIGITAL_SIGNATURE + "Signature Validation failed. Signature is not present. Check if the IDP is supporting signatures."); }
@Override public ProcessingException samlHandlerInvalidSignatureError() { return new ProcessingException(ErrorCodes.INVALID_DIGITAL_SIGNATURE + "Error validating signature."); }
@Override public ProcessingException jbossWSUncheckedAndRolesCannotBeTogether() { return new ProcessingException(ErrorCodes.PROCESSING_EXCEPTION + "unchecked and role(s) cannot be together"); }