Class CustomPrincipalTransformer

java.lang.Object
org.wildfly.test.security.common.elytron.CustomPrincipalTransformer
All Implemented Interfaces:
ConfigurableElement

public class CustomPrincipalTransformer extends Object implements ConfigurableElement
A ConfigurableElement to define a custom principal transformer. Requires a Module to be added to the server.
Author:
Jessica Rodriguez
  • Constructor Details

  • Method Details

    • getName

      public String getName()
      Description copied from interface: ConfigurableElement
      Returns name of this element.
      Specified by:
      getName in interface ConfigurableElement
    • 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 CustomPrincipalTransformer.Builder builder()