/** {@inheritDoc} */ protected void doInitialize() throws ComponentInitializationException { super.doInitialize(); if (velocityEngine == null) { throw new ComponentInitializationException("VelocityEngine must be supplied"); } if (velocityTemplateId == null) { throw new ComponentInitializationException("Velocity template id must be supplied"); } }
/** {@inheritDoc} */ @Override protected void doInitialize() throws ComponentInitializationException { super.doInitialize(); if (httpServletRequest == null) { throw new ComponentInitializationException("HttpServletRequest must be set"); } else if (dataSealer == null || cookieManager == null) { throw new ComponentInitializationException("DataSealer and CookieManager must be set"); } }
/** {@inheritDoc} */ @Override protected void doInitialize() throws ComponentInitializationException { super.doInitialize(); if (storageIndexKeyLookupStrategy == null) { throw new ComponentInitializationException("Storage key lookup strategy cannot be null"); } if (storageKeysSerializer == null) { throw new ComponentInitializationException("Storage keys serializer cannot be null"); } }
/** {@inheritDoc} */ @Override protected void doInitialize() throws ComponentInitializationException { super.doInitialize(); if (elementNamespace == null) { throw new ComponentInitializationException("target namespace can not be null or empty"); } if (elementName == null) { throw new ComponentInitializationException("target element name can not be null or empty"); } }
@Override protected void doInitialize() throws ComponentInitializationException { super.doInitialize(); if (outputStrategy == null) { throw new ComponentInitializationException("Output strategy can not be null"); } if (serializer == null) { throw new ComponentInitializationException("Item collection serializer can not be null"); } } }
/** {@inheritDoc} */ @Override protected void doInitialize() throws ComponentInitializationException { super.doInitialize(); if (elementNamespace == null) { throw new ComponentInitializationException("target namespace can not be null or empty"); } if (elementName == null) { throw new ComponentInitializationException("target element name can not be null or empty"); } }
/** {@inheritDoc} */ @Override protected void doInitialize() throws ComponentInitializationException { super.doInitialize(); if (persistentIdStrategy == null) { throw new ComponentInitializationException("PersistentIdGenerationStrategy cannot be null"); } else if (attributeSourceIds.isEmpty()) { throw new ComponentInitializationException("Attribute source ID list cannot be empty"); } }
/** {@inheritDoc} */ @Override protected void doInitialize() throws ComponentInitializationException { super.doInitialize(); if (objectLookupStrategy == null) { throw new ComponentInitializationException("Object lookup strategy cannot be 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"); } }
/** {@inheritDoc} */ @Override protected void doInitialize() throws ComponentInitializationException { super.doInitialize(); if (attributeSourceIds.isEmpty()) { throw new ComponentInitializationException("Attribute source ID list cannot be empty"); } }
/** {@inheritDoc} */ @Override protected void doInitialize() throws ComponentInitializationException { super.doInitialize(); if (metadataResolverService == null) { throw new ComponentInitializationException("MetadataResolver service cannot be null"); } }
/** {@inheritDoc} */ protected void doInitialize() throws ComponentInitializationException { super.doInitialize(); if (rpcResolver == null) { throw new ComponentInitializationException("CriteriaRelyingPartyConfigurationResolver was null"); } }
/** {@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 (realmSettings.isEmpty()) { throw new ComponentInitializationException("Realm collection cannot be empty"); } }
/** {@inheritDoc} */ @Override protected void doInitialize() throws ComponentInitializationException { super.doInitialize(); if (authenticator == null) { throw new ComponentInitializationException("Authenticator cannot be null"); } }
/** {@inheritDoc} */ @Override public void initialize() throws ComponentInitializationException { if (getKeyInfoCredentialResolver() == null) { throw new ComponentInitializationException("A KeyInfoCredentialResolver instance is required"); } if (getRoleDescriptorResolver() == null) { log.info("RoleDescriptorResolver was not supplied, " + "credentials may only be resolved via RoleDescriptorCriterion"); } isInitialized = true; }
/** {@inheritDoc} */ @Override protected void doInitialize() throws ComponentInitializationException { super.doInitialize(); logPrefix = null; if (null == getAttributeId()) { throw new ComponentInitializationException(getLogPrefix() + " No attribute specified for this attribute value filter policy"); } if (matcher == null) { throw new ComponentInitializationException(getLogPrefix() + " Must have a permit rule or a deny rule"); } }
/** {@inheritDoc} */ @Override protected void doInitialize() throws ComponentInitializationException { super.doInitialize(); if (null == script) { throw new ComponentInitializationException(getLogPrefix() + " no script was configured"); } scriptEvaluator = new AttributeDefinitionScriptEvaluator(script); scriptEvaluator.setCustomObject(customObject); scriptEvaluator.setLogPrefix(getLogPrefix()); }