Tabnine Logo
KeycloakAdapterConfigService.getWebContext
Code IndexAdd Tabnine to your IDE (free)

How to use
getWebContext
method
in
org.keycloak.subsystem.server.extension.KeycloakAdapterConfigService

Best Java code snippets using org.keycloak.subsystem.server.extension.KeycloakAdapterConfigService.getWebContext (Showing top 2 results out of 315)

origin: org.keycloak/keycloak-wf9-server-subsystem

@Override
public void deploy(DeploymentPhaseContext phaseContext) throws DeploymentUnitProcessingException {
  DeploymentUnit deploymentUnit = phaseContext.getDeploymentUnit();
  KeycloakAdapterConfigService config = KeycloakAdapterConfigService.INSTANCE;
  String deploymentName = deploymentUnit.getName();
  if (!config.isKeycloakServerDeployment(deploymentName)) {
    return;
  }
  final EEModuleDescription description = deploymentUnit.getAttachment(org.jboss.as.ee.component.Attachments.EE_MODULE_DESCRIPTION);
  String webContext = config.getWebContext();
  if (webContext == null) {
    throw new DeploymentUnitProcessingException("Can't determine web context/module for Keycloak Server");
  }
  description.setModuleName(webContext);
  addInfinispanCaches(phaseContext);
}
origin: org.keycloak/keycloak-wildfly-server-subsystem

@Override
public void deploy(DeploymentPhaseContext phaseContext) throws DeploymentUnitProcessingException {
  DeploymentUnit deploymentUnit = phaseContext.getDeploymentUnit();
  KeycloakAdapterConfigService configService = KeycloakAdapterConfigService.INSTANCE;
  String deploymentName = deploymentUnit.getName();
  if (!configService.isKeycloakServerDeployment(deploymentName)) {
    return;
  }
  final EEModuleDescription description = deploymentUnit.getAttachment(org.jboss.as.ee.component.Attachments.EE_MODULE_DESCRIPTION);
  String webContext = configService.getWebContext();
  if (webContext == null) {
    throw new DeploymentUnitProcessingException("Can't determine web context/module for Keycloak Server");
  }
  description.setModuleName(webContext);
  addInfinispanCaches(phaseContext);
  addConfiguration(deploymentUnit, configService);
}

org.keycloak.subsystem.server.extensionKeycloakAdapterConfigServicegetWebContext

Popular methods of KeycloakAdapterConfigService

  • isKeycloakServerDeployment
  • setWebContext
  • getConfig
  • isArray
  • massageMasterRealm
  • massageProviderProps
  • massageProviders
  • massageScheduledTaskInterval
  • massageSpis
  • massageTheme
  • updateConfig
  • updateConfig

Popular in Java

  • Making http post requests using okhttp
  • addToBackStack (FragmentTransaction)
  • requestLocationUpdates (LocationManager)
  • onRequestPermissionsResult (Fragment)
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registry of org.quartz.Job
  • Top Sublime Text plugins
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