private SPType getSPConfiguration() { SPType spConfiguration = (SPType) handlerChainConfig.getParameter(GeneralConstants.CONFIGURATION); if (spConfiguration == null) { throw logger.samlHandlerServiceProviderConfigNotFound(); } return spConfiguration; } }
private IDPType getConfiguration() { IDPType configuration = (IDPType) handlerChainConfig.getParameter(GeneralConstants.CONFIGURATION); if (configuration == null) { throw logger.nullArgumentError("IDP Configuration"); } return configuration; }
private SPType getSPConfiguration() { SPType spConfiguration = (SPType) handlerChainConfig.getParameter(GeneralConstants.CONFIGURATION); if (spConfiguration == null) { throw logger.samlHandlerServiceProviderConfigNotFound(); } return spConfiguration; } }
private IDPType getConfiguration() { IDPType configuration = (IDPType) handlerChainConfig.getParameter(GeneralConstants.CONFIGURATION); if (configuration == null) { throw logger.nullArgumentError("IDP Configuration"); } return configuration; }
public void handleStatusResponseType(SAML2HandlerRequest request, SAML2HandlerResponse response) throws ProcessingException { if (getType() == HANDLER_TYPE.IDP) { idp.handleStatusResponseType(request, response, (IDPType) this.handlerChainConfig.getParameter(GeneralConstants.CONFIGURATION)); } else { sp.handleStatusResponseType(request, response, (ProviderType) this.handlerChainConfig.getParameter(GeneralConstants.CONFIGURATION)); } }
public void initChainConfig(SAML2HandlerChainConfig handlerChainConfig) throws ConfigurationException { this.handlerChainConfig = handlerChainConfig; this.providerConfig = (ProviderType) this.handlerChainConfig.getParameter(GeneralConstants.CONFIGURATION); if (!isSupportedProviderType(this.providerConfig)) { throw logger.unsupportedType(this.providerConfig.getClass().getName()); } }
public void initChainConfig(SAML2HandlerChainConfig handlerChainConfig) throws ConfigurationException { this.handlerChainConfig = handlerChainConfig; this.providerConfig = (ProviderType) this.handlerChainConfig.getParameter(GeneralConstants.CONFIGURATION); if (!isSupportedProviderType(this.providerConfig)) { throw logger.unsupportedType(this.providerConfig.getClass().getName()); } }
public void handleRequestType(SAML2HandlerRequest request, SAML2HandlerResponse response) throws ProcessingException { if (getType() == HANDLER_TYPE.IDP) { idp.handleRequestType(request, response, (IDPType) this.handlerChainConfig.getParameter(GeneralConstants.CONFIGURATION)); } else { sp.handleRequestType(request, response, (SPType) this.handlerChainConfig.getParameter(GeneralConstants.CONFIGURATION)); } }
public void initChainConfig(SAML2HandlerChainConfig handlerChainConfig) throws ConfigurationException { this.handlerChainConfig = handlerChainConfig; this.providerConfig = (ProviderType) this.handlerChainConfig.getParameter(GeneralConstants.CONFIGURATION); if (!isSupportedProviderType(this.providerConfig)) { throw logger.unsupportedType(this.providerConfig.getClass().getName()); } }
public void handleRequestType(SAML2HandlerRequest request, SAML2HandlerResponse response) throws ProcessingException { if (getType() == HANDLER_TYPE.IDP) { idp.handleRequestType(request, response, (IDPType) this.handlerChainConfig.getParameter(GeneralConstants.CONFIGURATION)); } else { sp.handleRequestType(request, response, (ProviderType) this.handlerChainConfig.getParameter(GeneralConstants.CONFIGURATION)); } }
public void handleRequestType(SAML2HandlerRequest request, SAML2HandlerResponse response) throws ProcessingException { if (getType() == HANDLER_TYPE.IDP) { idp.handleRequestType(request, response, (IDPType) this.handlerChainConfig.getParameter(GeneralConstants.CONFIGURATION)); } else { sp.handleRequestType(request, response, (ProviderType) this.handlerChainConfig.getParameter(GeneralConstants.CONFIGURATION)); } }
public void handleStatusResponseType(SAML2HandlerRequest request, SAML2HandlerResponse response) throws ProcessingException { if (getType() == HANDLER_TYPE.IDP) { idp.handleStatusResponseType(request, response, (IDPType) this.handlerChainConfig.getParameter(GeneralConstants.CONFIGURATION)); } else { sp.handleStatusResponseType(request, response, (SPType) this.handlerChainConfig.getParameter(GeneralConstants.CONFIGURATION)); } }
@Override public void initChainConfig(SAML2HandlerChainConfig handlerChainConfig) throws ConfigurationException { super.initChainConfig(handlerChainConfig); Object config = this.handlerChainConfig.getParameter(GeneralConstants.CONFIGURATION); if (config instanceof IDPType) { IDPType idpType = (IDPType) config; String attribStr = idpType.getAttributeManager(); insantiateAttributeManager(attribStr); } }
@Override public void initChainConfig(SAML2HandlerChainConfig handlerChainConfig) throws ConfigurationException { super.initChainConfig(handlerChainConfig); Object config = this.handlerChainConfig.getParameter(GeneralConstants.CONFIGURATION); if (config instanceof IDPType) { IDPType idpType = (IDPType) config; String roleGeneratorString = idpType.getRoleGenerator(); this.insantiateRoleValidator(roleGeneratorString); } }
@Override public void initChainConfig(SAML2HandlerChainConfig handlerChainConfig) throws ConfigurationException { super.initChainConfig(handlerChainConfig); Object config = this.handlerChainConfig.getParameter(GeneralConstants.CONFIGURATION); if (config instanceof IDPType) { IDPType idpType = (IDPType) config; String roleGeneratorString = idpType.getRoleGenerator(); this.insantiateRoleValidator(roleGeneratorString); } }
@Override public void initChainConfig(SAML2HandlerChainConfig handlerChainConfig) throws ConfigurationException { super.initChainConfig(handlerChainConfig); Object config = this.handlerChainConfig.getParameter(GeneralConstants.CONFIGURATION); if (config instanceof IDPType) { IDPType idpType = (IDPType) config; String roleGeneratorString = idpType.getRoleGenerator(); this.insantiateRoleValidator(roleGeneratorString); } }
@Override public void initChainConfig(SAML2HandlerChainConfig handlerChainConfig) throws ConfigurationException { super.initChainConfig(handlerChainConfig); Object config = this.handlerChainConfig.getParameter(GeneralConstants.CONFIGURATION); if (config instanceof IDPType) { IDPType idpType = (IDPType) config; String roleGeneratorString = idpType.getRoleGenerator(); this.insantiateRoleValidator(roleGeneratorString); } }
@Override public void initChainConfig(SAML2HandlerChainConfig handlerChainConfig) throws ConfigurationException { super.initChainConfig(handlerChainConfig); Object config = this.handlerChainConfig.getParameter(GeneralConstants.CONFIGURATION); if (config instanceof IDPType) { IDPType idpType = (IDPType) config; String roleGeneratorString = idpType.getRoleGenerator(); this.insantiateRoleValidator(roleGeneratorString); } }
@Override public void initChainConfig(SAML2HandlerChainConfig handlerChainConfig) throws ConfigurationException { super.initChainConfig(handlerChainConfig); Object config = this.handlerChainConfig.getParameter(GeneralConstants.CONFIGURATION); // if the GeneralConstants.ATTIBUTE_MANAGER parameter is defined for this handler, ignore the PicketLinkIDP AttributeManager attribute. if (config instanceof IDPType && getAttributeManager() == null) { IDPType idpType = (IDPType) config; String attribStr = idpType.getAttributeManager(); insantiateAttributeManager(attribStr); } }
@Override public void initChainConfig(SAML2HandlerChainConfig handlerChainConfig) throws ConfigurationException { super.initChainConfig(handlerChainConfig); Object config = this.handlerChainConfig.getParameter(GeneralConstants.CONFIGURATION); // if the GeneralConstants.ATTIBUTE_MANAGER parameter is defined for this handler, ignore the PicketLinkIDP AttributeManager attribute. if (config instanceof IDPType && getAttributeManager() == null) { IDPType idpType = (IDPType) config; String attribStr = idpType.getAttributeManager(); insantiateAttributeManager(attribStr); } }