@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."); }
Throwable t = pe.getCause(); if (t != null && t instanceof AssertionExpiredException) { logger.error("Assertion has expired. Asking IDP for reissue");
/** * <p> * Indicates if this provider is a Service Provider Configuration Provider. * </p> * * @return */ public boolean isServiceProviderConfiguration() { try { return getSPConfiguration() != null; } catch (ProcessingException e) { e.printStackTrace(); } return false; }
throw new WSTrustException(e.getMessage(), e);
Throwable t = pe.getCause(); if (t != null && t instanceof AssertionExpiredException) { logger.error("Assertion has expired. Asking IDP for reissue");
/** * <p> * Indicates if this provider is an Identity Provider Configuration Provider. * </p> * * @return */ public boolean isIdentityProviderConfiguration() { try { return getIDPConfiguration() != null; } catch (ProcessingException e) { e.printStackTrace(); } return false; }
throw new WSTrustException(e.getMessage(), e);
@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"); }
Throwable t = pe.getCause(); if (t != null && t instanceof AssertionExpiredException) { logger.error("Assertion has expired. Asking IDP for reissue");
@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"); }
Throwable t = pe.getCause(); if (t != null && t instanceof AssertionExpiredException) { logger.error("Assertion has expired. Asking IDP for reissue");
@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."); }
Throwable t = pe.getCause(); if (t != null && t instanceof AssertionExpiredException) { logger.error("Assertion has expired. Asking IDP for reissue");
@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"); }
Throwable t = pe.getCause(); if (t != null && t instanceof AssertionExpiredException) { logger.error("Assertion has expired. Asking IDP for reissue");
@Override public ProcessingException processingError(Throwable t) { return new ProcessingException(ErrorCodes.PROCESSING_EXCEPTION, t); }
Throwable t = pe.getCause(); if (t != null && t instanceof AssertionExpiredException) { logger.error("Assertion has expired. Asking IDP for reissue");
@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); }