Class FailoverRealm

java.lang.Object
org.wildfly.test.security.common.elytron.FailoverRealm
All Implemented Interfaces:
ConfigurableElement, SecurityRealm

public class FailoverRealm extends Object implements SecurityRealm
A ConfigurableElement to define the failover-realm resource within the Elytron subsystem.
Author:
Ondrej Kotek
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    void
    create(org.jboss.as.controller.client.ModelControllerClient client, org.jboss.as.test.integration.management.util.CLIWrapper cli)
    Creates this element in domain model and it also may create other resources if needed (e.g. external files).
    org.jboss.dmr.ModelNode
     
    Returns name of this element.
    org.jboss.dmr.ModelNode
     
    void
    remove(org.jboss.as.controller.client.ModelControllerClient client, org.jboss.as.test.integration.management.util.CLIWrapper cli)
    Reverts the changes introdued by create(...) method(s).

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface org.wildfly.test.security.common.elytron.ConfigurableElement

    create, remove
  • Method Details

    • getName

      public String getName()
      Description copied from interface: ConfigurableElement
      Returns name of this element.
      Specified by:
      getName in interface ConfigurableElement
    • getAddOperation

      public org.jboss.dmr.ModelNode getAddOperation()
    • getRemoveOperation

      public org.jboss.dmr.ModelNode getRemoveOperation()
    • create

      public void create(org.jboss.as.controller.client.ModelControllerClient client, org.jboss.as.test.integration.management.util.CLIWrapper cli) throws Exception
      Description copied from interface: ConfigurableElement
      Creates this element in domain model and it also may create other resources if needed (e.g. external files). Implementation can choose if controller client is used or provided CLI wrapper.
      Specified by:
      create in interface ConfigurableElement
      Throws:
      Exception
    • remove

      public void remove(org.jboss.as.controller.client.ModelControllerClient client, org.jboss.as.test.integration.management.util.CLIWrapper cli) throws Exception
      Description copied from interface: ConfigurableElement
      Reverts the changes introdued by create(...) method(s).
      Specified by:
      remove in interface ConfigurableElement
      Throws:
      Exception
    • builder

      public static FailoverRealm.Builder builder(String name)