Class CustomPrincipalTransformer
java.lang.Object
org.wildfly.test.security.common.elytron.CustomPrincipalTransformer
- All Implemented Interfaces:
ConfigurableElement
A
ConfigurableElement to define a custom principal transformer. Requires a Module to be
added to the server.- Author:
- Jessica Rodriguez
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder to register a custom principal transformer with Elytron. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()voidcreate(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).getName()Returns name of this element.voidremove(org.jboss.as.controller.client.ModelControllerClient client, org.jboss.as.test.integration.management.util.CLIWrapper cli) Reverts the changes introdued bycreate(...)method(s).Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.wildfly.test.security.common.elytron.ConfigurableElement
create, remove
-
Constructor Details
-
CustomPrincipalTransformer
-
-
Method Details
-
getName
Description copied from interface:ConfigurableElementReturns name of this element.- Specified by:
getNamein interfaceConfigurableElement
-
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:ConfigurableElementCreates 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:
createin interfaceConfigurableElement- 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:ConfigurableElementReverts the changes introdued bycreate(...)method(s).- Specified by:
removein interfaceConfigurableElement- Throws:
Exception
-
builder
-