Tabnine Logo
ModulesSettings
Code IndexAdd Tabnine to your IDE (free)

How to use
ModulesSettings
in
org.restlet.ext.platform.internal.agent.bean

Best Java code snippets using org.restlet.ext.platform.internal.agent.bean.ModulesSettings (Showing top 12 results out of 315)

origin: org.restlet.jse/org.restlet.ext.platform

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,
origin: org.restlet.osgi/org.restlet.ext.platform

/**
 * 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();
}
origin: org.restlet.gae/org.restlet.ext.platform

modulesSettings.getCellRevision());
origin: org.restlet.jee/org.restlet.ext.platform

/**
 * 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();
}
origin: org.restlet.jee/org.restlet.ext.platform

modulesSettings.getCellRevision());
origin: org.restlet.osgi/org.restlet.ext.platform

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,
origin: org.restlet.gae/org.restlet.ext.platform

/**
 * 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();
}
origin: org.restlet.osgi/org.restlet.ext.platform

modulesSettings.getCellRevision());
origin: org.restlet.jee/org.restlet.ext.platform

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,
origin: org.restlet.jse/org.restlet.ext.platform

/**
 * 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();
}
origin: org.restlet.jse/org.restlet.ext.platform

modulesSettings.getCellRevision());
origin: org.restlet.gae/org.restlet.ext.platform

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,
org.restlet.ext.platform.internal.agent.beanModulesSettings

Most used methods

  • getCellRevision
  • isAnalyticsModuleEnabled
  • isAuthenticationModuleEnabled
  • isAuthorizationModuleEnabled
  • isFirewallModuleEnabled

Popular in Java

  • Making http requests using okhttp
  • startActivity (Activity)
  • getSharedPreferences (Context)
  • getResourceAsStream (ClassLoader)
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • PrintWriter (java.io)
    Wraps either an existing OutputStream or an existing Writerand provides convenience methods for prin
  • URLConnection (java.net)
    A connection to a URL for reading or writing. For HTTP connections, see HttpURLConnection for docume
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • MessageFormat (java.text)
    Produces concatenated messages in language-neutral way. New code should probably use java.util.Forma
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • From CI to AI: The AI layer in your organization
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now