/** {@inheritDoc} */ @Override protected void doInitialize() throws ComponentInitializationException { super.doInitialize(); if (storageService == null) { throw new ComponentInitializationException("StorageService cannot be null"); } else if (lockoutKeyStrategy == null) { throw new ComponentInitializationException("Lockout key strategy cannot be null"); } }
/** {@inheritDoc} */ @Override protected void doInitialize() throws ComponentInitializationException { super.doInitialize(); if (objectLookupStrategy == null) { throw new ComponentInitializationException("Object lookup strategy cannot be null"); } }
/** {@inheritDoc} */ protected void doInitialize() throws ComponentInitializationException { super.doInitialize(); if (rpcResolver == null) { throw new ComponentInitializationException("CriteriaRelyingPartyConfigurationResolver was null"); } }
/** * Set the Velocity template id. * * <p>Defaults to {@link #DEFAULT_TEMPLATE_ID}.</p> * * @param newVelocityTemplateId the new Velocity template id */ public void setVelocityTemplateId(String newVelocityTemplateId) { ComponentSupport.ifInitializedThrowUnmodifiabledComponentException(this); ComponentSupport.ifDestroyedThrowDestroyedComponentException(this); velocityTemplateId = newVelocityTemplateId; }
/** * Set whether to overwrite any existing {@link SubjectConfirmation} objects found. * * @param flag true iff the action should overwrite any existing objects */ public void setOverwriteExisting(final boolean flag) { ComponentSupport.ifInitializedThrowUnmodifiabledComponentException(this); overwriteExisting = flag; }
/** {@inheritDoc} */ @Override protected void doInitialize() throws ComponentInitializationException { ComponentSupport.initialize(bridgedObject); super.doInitialize(); logPrefix = null; }
/** {@inheritDoc} */ @Override protected void doInitialize() throws ComponentInitializationException { super.doInitialize(); if (format == null) { throw new ComponentInitializationException("Format value cannot be null or empty"); } }
/** {@inheritDoc} */ @Override protected void doInitialize() throws ComponentInitializationException { super.doInitialize(); if (service == null) { throw new ComponentInitializationException("ReloadableService cannot be null"); } }
/** * Sets whether problems during initialization should cause the provider to fail or go on without metadata. The * assumption being that in most cases a provider will recover at some point in the future. * * @param failFast whether problems during initialization should cause the provider to fail */ public void setFailFastInitialization(final boolean failFast) { ComponentSupport.ifInitializedThrowUnmodifiabledComponentException(this); ComponentSupport.ifDestroyedThrowDestroyedComponentException(this); failFastInitialization = failFast; }
/** {@inheritDoc} */ protected void doInitialize() throws ComponentInitializationException { super.doInitialize(); if (delegate == null) { throw new ComponentInitializationException("RelyingPartyConfigurationResolver delegate was null"); } }
/** {@inheritDoc} */ @Override protected void doInitialize() throws ComponentInitializationException { super.doInitialize(); if (resultSerializer == null) { throw new ComponentInitializationException("AuthenticationResult serializer cannot be null"); } }
/** {@inheritDoc} */ @Override protected void doInitialize() throws ComponentInitializationException { super.doInitialize(); if (null == dataSource) { throw new ComponentInitializationException("DataSourceValidator: Data Source should not be null"); } }
/** {@inheritDoc} */ @Override protected void doInitialize() throws ComponentInitializationException { super.doInitialize(); if (null == dataSealer) { throw new ComponentInitializationException("DataSealer cannot be null"); } }
/** {@inheritDoc} */ @Override protected void doInitialize() throws ComponentInitializationException { super.doInitialize(); if (httpClient == null) { throw new ComponentInitializationException("HttpClient cannot be null"); } if (objectMapper == null) { throw new ComponentInitializationException("ObjectMapper cannot be null"); } }
/** {@inheritDoc} */ @Override protected void doInitialize() throws ComponentInitializationException { super.doInitialize(); if (responderId == null && responderIdLookupStrategy == null) { throw new ComponentInitializationException("Responder ID and lookup strategy cannot both be null"); } }
/** {@inheritDoc} */ @Override protected void doInitialize() throws ComponentInitializationException { super.doInitialize(); if (httpClient == null) { throw new ComponentInitializationException("HttpClient cannot be null"); } }
/** {@inheritDoc} */ @Override protected void doInitialize() throws ComponentInitializationException { if (null == nameIDDecoder) { throw new ComponentInitializationException("NameIDDecoder cannot be null"); } if (null == nameIdentifierDecoder) { throw new ComponentInitializationException("NameIdentifierDecoder cannot be null"); } if (null == format) { throw new ComponentInitializationException("Name identifier format cannot be empty or null"); } super.doInitialize(); }
/** {@inheritDoc} */ @Override protected void doInitialize() throws ComponentInitializationException { super.doInitialize(); if (httpClient == null) { throw new ComponentInitializationException("HttpClient cannot be null"); } else if (parserPool == null) { throw new ComponentInitializationException("ParserPool cannot be null"); } }
/** {@inheritDoc} */ @Override protected void doInitialize() throws ComponentInitializationException { super.doInitialize(); if (cookieManager == null) { throw new ComponentInitializationException("CookieManager cannot be null"); } }