@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); }
throw new LoginException(e.getMessage());
throw new LoginException(e.getMessage());
@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); }
protected Lifetime adjustLifetimeForClockSkew(Lifetime lifetime) throws ProcessingException { try { lifetime.setCreated( XMLTimeUtil.subtract(lifetime.getCreated(), getClockSkewInMillis())); lifetime.setExpires( XMLTimeUtil.add(lifetime.getExpires(), getClockSkewInMillis())); return lifetime; } catch( ConfigurationException ce ) { throw new ProcessingException(ce.getMessage()); } }
@Override public ConfigurationException samlMetaDataNoIdentityProviderDefined() { return new ConfigurationException("No configuration provided for the Identity Provider."); }
protected Lifetime adjustLifetimeForClockSkew(Lifetime lifetime) throws ProcessingException { try { lifetime.setCreated( XMLTimeUtil.subtract(lifetime.getCreated(), getClockSkewInMillis())); lifetime.setExpires( XMLTimeUtil.add(lifetime.getExpires(), getClockSkewInMillis())); return lifetime; } catch( ConfigurationException ce ) { throw new ProcessingException(ce.getMessage()); } }
@Override public ConfigurationException securityDomainNotFound() { return new ConfigurationException("The security domain name could not be found. Check your jboss-web.xml."); }
@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 ConfigurationException samlHandlerTrustElementMissingError() { return new ConfigurationException(ErrorCodes.NULL_VALUE + "trust element missing"); }
@Override public ConfigurationException auditAuditManagerNotFound(String location, Throwable t) { return new ConfigurationException("Could not find a audit manager configuration. Location: " + location, t); }
@Override public ConfigurationException securityDomainNotFound() { return new ConfigurationException("The security domain name could not be found. Check your jboss-web.xml."); }
@Override public ConfigurationException configurationError(Throwable t) { return new ConfigurationException(t); }
@Override public ConfigurationException stsConfigurationFileParsingError(Throwable t) { return new ConfigurationException(ErrorCodes.STS_CONFIGURATION_FILE_PARSING_ERROR, t); }
@Override public ConfigurationException samlHandlerTrustElementMissingError() { return new ConfigurationException(ErrorCodes.NULL_VALUE + "trust element missing"); }
@Override public ConfigurationException auditAuditManagerNotFound(String location, Throwable t) { return new ConfigurationException("Could not find a audit manager configuration. Location: " + location, t); }
@Override public ConfigurationException samlMetaDataNoIdentityProviderDefined() { return new ConfigurationException("No configuration provided for the Identity Provider."); }
@Override public ConfigurationException samlMetaDataNoServiceProviderDefined() { return new ConfigurationException("No configuration provided for the Service Provider."); }
@Override public ConfigurationException configurationError(Throwable t) { return new ConfigurationException(t); }
@Override public ConfigurationException securityDomainNotFound() { return new ConfigurationException("The security domain name could not be found. Check your jboss-web.xml."); }