Codota Logo
KeycloakSubsystemRemoveHandler
Code IndexAdd Codota to your IDE (free)

How to use
KeycloakSubsystemRemoveHandler
in
org.keycloak.subsystem.server.as7

Best Java code snippets using org.keycloak.subsystem.server.as7.KeycloakSubsystemRemoveHandler (Showing top 4 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
OutputStreamWriter o =
  • Codota IconOutputStream out;new OutputStreamWriter(out)
  • Codota IconOutputStream out;String charsetName;new OutputStreamWriter(out, charsetName)
  • Codota IconHttpURLConnection connection;new OutputStreamWriter(connection.getOutputStream())
  • Smart code suggestions by Codota
}
origin: org.keycloak/keycloak-eap6-server-subsystem

@Override
protected void performRemove(OperationContext context, ModelNode operation, ModelNode model) throws OperationFailedException {
  String deploymentName = ServerUtil.getDeploymentName(operation);
  KeycloakAdapterConfigService.INSTANCE.setWebContext(null);
  if (requiresRuntime(context)) { // don't do this on a domain controller
    addStepToRemoveServerWar(context, deploymentName);
  }
  super.performRemove(context, operation, model);
}
origin: org.keycloak/keycloak-as7-server-subsystem

private void addStepToRemoveServerWar(OperationContext context, String deploymentName) {
  PathAddress deploymentAddress = PathAddress.pathAddress(PathElement.pathElement(DEPLOYMENT, deploymentName));
  ModelNode op = Util.createOperation(REMOVE, deploymentAddress);
  context.addStep(op, getRemoveHandler(context, deploymentAddress), OperationContext.Stage.MODEL);
}
origin: org.keycloak/keycloak-eap6-server-subsystem

private void addStepToRemoveServerWar(OperationContext context, String deploymentName) {
  PathAddress deploymentAddress = PathAddress.pathAddress(PathElement.pathElement(DEPLOYMENT, deploymentName));
  ModelNode op = Util.createOperation(REMOVE, deploymentAddress);
  context.addStep(op, getRemoveHandler(context, deploymentAddress), OperationContext.Stage.MODEL);
}
origin: org.keycloak/keycloak-as7-server-subsystem

@Override
protected void performRemove(OperationContext context, ModelNode operation, ModelNode model) throws OperationFailedException {
  String deploymentName = ServerUtil.getDeploymentName(operation);
  KeycloakAdapterConfigService.INSTANCE.setWebContext(null);
  if (requiresRuntime(context)) { // don't do this on a domain controller
    addStepToRemoveServerWar(context, deploymentName);
  }
  super.performRemove(context, operation, model);
}
org.keycloak.subsystem.server.as7KeycloakSubsystemRemoveHandler

Javadoc

Remove an auth-server from a realm.

Most used methods

  • addStepToRemoveServerWar
  • getRemoveHandler
  • requiresRuntime

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getResourceAsStream (ClassLoader)
  • onRequestPermissionsResult (Fragment)
  • notifyDataSetChanged (ArrayAdapter)
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
  • Loader (org.hibernate.loader)
    Abstract superclass of object loading (and querying) strategies. This class implements useful common
  • Runner (org.openjdk.jmh.runner)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now