Class LdapRealm
java.lang.Object
org.wildfly.test.security.common.elytron.LdapRealm
- All Implemented Interfaces:
ConfigurableElement,SecurityRealm
A
ConfigurableElement to define the ldap-realm resource within the Elytron subsystem.- Author:
- Ondrej Kotek
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic final classstatic final classstatic final classstatic final classstatic final classstatic final classstatic final classstatic final classstatic final classstatic final classstatic final classstatic final class -
Method Summary
Modifier and TypeMethodDescriptionstatic LdapRealm.Buildervoidcreate(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.ModelNodegetName()Returns name of this element.org.jboss.dmr.ModelNodevoidremove(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
-
Method Details
-
getName
Description copied from interface:ConfigurableElementReturns name of this element.- Specified by:
getNamein interfaceConfigurableElement
-
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: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
-
identityMappingBuilder
-