org.keycloak.subsystem.extension

## Class KeycloakAdapterConfigService

- java.lang.Object
- - org.keycloak.subsystem.extension.KeycloakAdapterConfigService

- All Implemented Interfaces:
    org.jboss.msc.service.Service<KeycloakAdapterConfigService>, org.jboss.msc.value.Value<KeycloakAdapterConfigService>

      public final class KeycloakAdapterConfigService
      extends Object
      implements org.jboss.msc.service.Service<KeycloakAdapterConfigService>

  This service keeps track of the entire Keycloak management model so as to provide adapter configuration to each deployment at deploy time.
  Author:
    Stan Silvert ssilvert@redhat.com (C) 2013 Red Hat Inc.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static KeycloakAdapterConfigService` | `INSTANCE`
    `protected org.jboss.logging.Logger` | `log`
    `static org.jboss.msc.service.ServiceName` | `SERVICE_NAME`

    - ### Fields inherited from interface org.jboss.msc.service.Service

      `NULL, NULL_VALUE`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addCredential(org.jboss.dmr.ModelNode operation, org.jboss.dmr.ModelNode model)`
    `void` | `addRealm(org.jboss.dmr.ModelNode operation, org.jboss.dmr.ModelNode model)`
    `void` | `addSecureDeployment(org.jboss.dmr.ModelNode operation, org.jboss.dmr.ModelNode model)`
    `void` | `addServerDeployment(String deploymentName, String webContext)`
    `static KeycloakAdapterConfigService` | `find(org.jboss.as.controller.OperationContext context)`
    `static KeycloakAdapterConfigService` | `find(org.jboss.msc.service.ServiceRegistry registry)`
    `String` | `getJSON(String deploymentName)`
    `String` | `getRealmName(String deploymentName)`
    `KeycloakAdapterConfigService` | `getValue()`
    `String` | `getWebContext(String deploymentName)`
    `boolean` | `isKeycloakServerDeployment(String deploymentName)`
    `boolean` | `isSecureDeployment(String deploymentName)`
    `boolean` | `isWebContextUsed(String webContext)`
    `void` | `removeCredential(org.jboss.dmr.ModelNode operation)`
    `void` | `removeRealm(org.jboss.dmr.ModelNode operation)`
    `void` | `removeSecureDeployment(org.jboss.dmr.ModelNode operation)`
    `void` | `removeServerDeployment(String deploymentName)`
    `void` | `start(org.jboss.msc.service.StartContext sc)`
    `void` | `stop(org.jboss.msc.service.StopContext sc)`
    `void` | `updateCredential(org.jboss.dmr.ModelNode operation, String attrName, org.jboss.dmr.ModelNode resolvedValue)`
    `void` | `updateRealm(org.jboss.dmr.ModelNode operation, String attrName, org.jboss.dmr.ModelNode resolvedValue)`
    `void` | `updateSecureDeployment(org.jboss.dmr.ModelNode operation, String attrName, org.jboss.dmr.ModelNode resolvedValue)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### log

          protected org.jboss.logging.Logger log

    - #### SERVICE_NAME

          public static final org.jboss.msc.service.ServiceName SERVICE_NAME

    - #### INSTANCE

          public static final KeycloakAdapterConfigService INSTANCE

  - ### Method Detail

    - #### start

          public void start(org.jboss.msc.service.StartContext sc)
                     throws org.jboss.msc.service.StartException

      Specified by:
        `start` in interface `org.jboss.msc.service.Service<KeycloakAdapterConfigService>`
      Throws:
        `org.jboss.msc.service.StartException`

    - #### stop

          public void stop(org.jboss.msc.service.StopContext sc)

      Specified by:
        `stop` in interface `org.jboss.msc.service.Service<KeycloakAdapterConfigService>`

    - #### getValue

          public KeycloakAdapterConfigService getValue()
                                                throws IllegalStateException,
                                                       IllegalArgumentException

      Specified by:
        `getValue` in interface `org.jboss.msc.value.Value<KeycloakAdapterConfigService>`
      Throws:
        `IllegalStateException`
        `IllegalArgumentException`

    - #### addServerDeployment

          public void addServerDeployment(String deploymentName,
                                 String webContext)

    - #### getWebContext

          public String getWebContext(String deploymentName)

    - #### removeServerDeployment

          public void removeServerDeployment(String deploymentName)

    - #### isWebContextUsed

          public boolean isWebContextUsed(String webContext)

    - #### addRealm

          public void addRealm(org.jboss.dmr.ModelNode operation,
                      org.jboss.dmr.ModelNode model)

    - #### updateRealm

          public void updateRealm(org.jboss.dmr.ModelNode operation,
                         String attrName,
                         org.jboss.dmr.ModelNode resolvedValue)

    - #### removeRealm

          public void removeRealm(org.jboss.dmr.ModelNode operation)

    - #### addSecureDeployment

          public void addSecureDeployment(org.jboss.dmr.ModelNode operation,
                                 org.jboss.dmr.ModelNode model)

    - #### updateSecureDeployment

          public void updateSecureDeployment(org.jboss.dmr.ModelNode operation,
                                    String attrName,
                                    org.jboss.dmr.ModelNode resolvedValue)

    - #### removeSecureDeployment

          public void removeSecureDeployment(org.jboss.dmr.ModelNode operation)

    - #### addCredential

          public void addCredential(org.jboss.dmr.ModelNode operation,
                           org.jboss.dmr.ModelNode model)

    - #### removeCredential

          public void removeCredential(org.jboss.dmr.ModelNode operation)

    - #### updateCredential

          public void updateCredential(org.jboss.dmr.ModelNode operation,
                              String attrName,
                              org.jboss.dmr.ModelNode resolvedValue)

    - #### getRealmName

          public String getRealmName(String deploymentName)

    - #### getJSON

          public String getJSON(String deploymentName)

    - #### isSecureDeployment

          public boolean isSecureDeployment(String deploymentName)

    - #### isKeycloakServerDeployment

          public boolean isKeycloakServerDeployment(String deploymentName)

    - #### find

          public static KeycloakAdapterConfigService find(org.jboss.msc.service.ServiceRegistry registry)

    - #### find

          public static KeycloakAdapterConfigService find(org.jboss.as.controller.OperationContext context)

Copyright © 2015. All Rights Reserved.