congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
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 requests using okhttp
  • getSystemService (Context)
  • startActivity (Activity)
  • requestLocationUpdates (LocationManager)
  • Font (java.awt)
    The Font class represents fonts, which are used to render text in a visible way. A font provides the
  • Iterator (java.util)
    An iterator over a sequence of objects, such as a collection.If a collection has been changed since
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • JFileChooser (javax.swing)
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • CodeWhisperer alternatives
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