if (modulesSettings.isAuthenticationModuleEnabled()) { LOGGER.info("Add authentication module"); authenticationEnabled = true; modulesSettings, context)); if (modulesSettings.isAuthorizationModuleEnabled()) { if (!modulesSettings.isAuthenticationModuleEnabled()) { throw new AgentConfigurationException( "The authorization module requires the authentication module which is not enabled"); if (modulesSettings.isFirewallModuleEnabled()) { firewallEnabled = true; FirewallModule firewallModule = new FirewallModule( if (modulesSettings.isAnalyticsModuleEnabled()) { LOGGER.info("Add analytics module"); restletChain.add(new AnalyticsModule(restletCloudConfig,
/** * Create a new Authentication module with the specified settings. * * @param restletCloudConfig * The agent configuration. * @param modulesSettings * The modules settings. * @param context * The context */ public AuthenticationModule(RestletCloudConfig restletCloudConfig, ModulesSettings modulesSettings, Context context) { super(context, ChallengeScheme.HTTP_BASIC, "realm"); authenticationSettings = new AuthenticationSettings(); authenticationSettings.setOptional(modulesSettings.isAuthorizationModuleEnabled()); authenticateClientResource = AgentUtils.getClientResource( restletCloudConfig, modulesSettings, AuthenticationAuthenticateResource.class, AUTHENTICATE_PATH); // config ChallengeAuthenticator setOptional(authenticationSettings.isOptional()); setVerifier(new AgentVerifier()); // Initialize the cache initializeCache(); }
modulesSettings.getCellRevision());
/** * Create a new Authentication module with the specified settings. * * @param restletCloudConfig * The agent configuration. * @param modulesSettings * The modules settings. * @param context * The context */ public AuthenticationModule(RestletCloudConfig restletCloudConfig, ModulesSettings modulesSettings, Context context) { super(context, ChallengeScheme.HTTP_BASIC, "realm"); authenticationSettings = new AuthenticationSettings(); authenticationSettings.setOptional(modulesSettings.isAuthorizationModuleEnabled()); authenticateClientResource = AgentUtils.getClientResource( restletCloudConfig, modulesSettings, AuthenticationAuthenticateResource.class, AUTHENTICATE_PATH); // config ChallengeAuthenticator setOptional(authenticationSettings.isOptional()); setVerifier(new AgentVerifier()); // Initialize the cache initializeCache(); }
modulesSettings.getCellRevision());
if (modulesSettings.isAuthenticationModuleEnabled()) { LOGGER.info("Add authentication module"); authenticationEnabled = true; modulesSettings, context)); if (modulesSettings.isAuthorizationModuleEnabled()) { if (!modulesSettings.isAuthenticationModuleEnabled()) { throw new AgentConfigurationException( "The authorization module requires the authentication module which is not enabled"); if (modulesSettings.isFirewallModuleEnabled()) { firewallEnabled = true; FirewallModule firewallModule = new FirewallModule( if (modulesSettings.isAnalyticsModuleEnabled()) { LOGGER.info("Add analytics module"); restletChain.add(new AnalyticsModule(restletCloudConfig,
/** * Create a new Authentication module with the specified settings. * * @param restletCloudConfig * The agent configuration. * @param modulesSettings * The modules settings. * @param context * The context */ public AuthenticationModule(RestletCloudConfig restletCloudConfig, ModulesSettings modulesSettings, Context context) { super(context, ChallengeScheme.HTTP_BASIC, "realm"); authenticationSettings = new AuthenticationSettings(); authenticationSettings.setOptional(modulesSettings.isAuthorizationModuleEnabled()); authenticateClientResource = AgentUtils.getClientResource( restletCloudConfig, modulesSettings, AuthenticationAuthenticateResource.class, AUTHENTICATE_PATH); // config ChallengeAuthenticator setOptional(authenticationSettings.isOptional()); setVerifier(new AgentVerifier()); // Initialize the cache initializeCache(); }
modulesSettings.getCellRevision());
if (modulesSettings.isAuthenticationModuleEnabled()) { LOGGER.info("Add authentication module"); authenticationEnabled = true; modulesSettings, context)); if (modulesSettings.isAuthorizationModuleEnabled()) { if (!modulesSettings.isAuthenticationModuleEnabled()) { throw new AgentConfigurationException( "The authorization module requires the authentication module which is not enabled"); if (modulesSettings.isFirewallModuleEnabled()) { firewallEnabled = true; FirewallModule firewallModule = new FirewallModule( if (modulesSettings.isAnalyticsModuleEnabled()) { LOGGER.info("Add analytics module"); restletChain.add(new AnalyticsModule(restletCloudConfig,
/** * Create a new Authentication module with the specified settings. * * @param restletCloudConfig * The agent configuration. * @param modulesSettings * The modules settings. * @param context * The context */ public AuthenticationModule(RestletCloudConfig restletCloudConfig, ModulesSettings modulesSettings, Context context) { super(context, ChallengeScheme.HTTP_BASIC, "realm"); authenticationSettings = new AuthenticationSettings(); authenticationSettings.setOptional(modulesSettings.isAuthorizationModuleEnabled()); authenticateClientResource = AgentUtils.getClientResource( restletCloudConfig, modulesSettings, AuthenticationAuthenticateResource.class, AUTHENTICATE_PATH); // config ChallengeAuthenticator setOptional(authenticationSettings.isOptional()); setVerifier(new AgentVerifier()); // Initialize the cache initializeCache(); }
modulesSettings.getCellRevision());
if (modulesSettings.isAuthenticationModuleEnabled()) { LOGGER.info("Add authentication module"); authenticationEnabled = true; modulesSettings, context)); if (modulesSettings.isAuthorizationModuleEnabled()) { if (!modulesSettings.isAuthenticationModuleEnabled()) { throw new AgentConfigurationException( "The authorization module requires the authentication module which is not enabled"); if (modulesSettings.isFirewallModuleEnabled()) { firewallEnabled = true; FirewallModule firewallModule = new FirewallModule( if (modulesSettings.isAnalyticsModuleEnabled()) { LOGGER.info("Add analytics module"); restletChain.add(new AnalyticsModule(restletCloudConfig,