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

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

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

origin: org.keycloak/keycloak-as7-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);
}
origin: org.keycloak/keycloak-eap6-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);
}
org.keycloak.subsystem.server.as7KeycloakAdapterConfigServicegetWebContext

Popular methods of KeycloakAdapterConfigService

  • isKeycloakServerDeployment
  • setWebContext

Popular in Java

  • Reactive rest calls using spring rest template
  • putExtra (Intent)
  • compareTo (BigDecimal)
  • getSystemService (Context)
  • Hashtable (java.util)
    A plug-in replacement for JDK1.5 java.util.Hashtable. This version is based on org.cliffc.high_scale
  • ConcurrentHashMap (java.util.concurrent)
    A plug-in replacement for JDK1.5 java.util.concurrent.ConcurrentHashMap. This version is based on or
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • 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