congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
KeycloakSubsystemWriteAttributeHandler
Code IndexAdd Tabnine to your IDE (free)

How to use
KeycloakSubsystemWriteAttributeHandler
in
org.keycloak.subsystem.server.extension

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

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

@Override
protected void finishModelStage(OperationContext context, ModelNode operation, String attributeName, ModelNode newValue, ModelNode oldValue, Resource model) throws OperationFailedException {
  if (!context.isNormalServer() || attribNotChanging(attributeName, newValue, oldValue)) {
    super.finishModelStage(context, operation, attributeName, newValue, oldValue, model);
    return;
  }
  String deploymentName = ServerUtil.getDeploymentName(operation);
  if (attributeName.equals(KeycloakSubsystemDefinition.WEB_CONTEXT.getName())) {
    KeycloakAdapterConfigService.INSTANCE.setWebContext(newValue.asString());
    ServerUtil.addStepToRedeployServerWar(context, deploymentName);
  }
  super.finishModelStage(context, operation, attributeName, newValue, oldValue, model);
}
origin: org.keycloak/keycloak-wf9-server-subsystem

@Override
protected void finishModelStage(OperationContext context, ModelNode operation, String attributeName, ModelNode newValue, ModelNode oldValue, Resource model) throws OperationFailedException {
  if (!context.isNormalServer() || attribNotChanging(attributeName, newValue, oldValue)) {
    super.finishModelStage(context, operation, attributeName, newValue, oldValue, model);
    return;
  }
  String deploymentName = ServerUtil.getDeploymentName(operation);
  if (attributeName.equals(KeycloakSubsystemDefinition.WEB_CONTEXT.getName())) {
    KeycloakAdapterConfigService.INSTANCE.setWebContext(newValue.asString());
    ServerUtil.addStepToRedeployServerWar(context, deploymentName);
  }
  super.finishModelStage(context, operation, attributeName, newValue, oldValue, model);
}
org.keycloak.subsystem.server.extensionKeycloakSubsystemWriteAttributeHandler

Javadoc

Update an attribute on an Auth Server.

Most used methods

  • attribNotChanging

Popular in Java

  • Making http post requests using okhttp
  • getSharedPreferences (Context)
  • getApplicationContext (Context)
  • setScale (BigDecimal)
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • JLabel (javax.swing)
  • Option (scala)
  • 21 Best Atom Packages for 2021
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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