Class PropertyFileBasedDomain
java.lang.Object
org.wildfly.test.security.common.elytron.AbstractConfigurableElement
org.wildfly.test.security.common.elytron.AbstractUserAttributeValuesCapableElement
org.wildfly.test.security.common.elytron.PropertyFileBasedDomain
- All Implemented Interfaces:
ConfigurableElement,SecurityDomain,UsersAttributeValuesCapableElement
public class PropertyFileBasedDomain
extends AbstractUserAttributeValuesCapableElement
implements SecurityDomain
Elytron Security domain implementation which uses
properties-realm to hold the users.
For this given domain are created also following Elytron resources (with the same name as the domain):
- properties-realm
- simple-role-decoder
- constant-permission-mapper
- Author:
- Josef Cacek
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields inherited from class org.wildfly.test.security.common.elytron.AbstractConfigurableElement
name -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates builder to buildPropertyFileBasedDomain.voidcreate(org.jboss.as.test.integration.management.util.CLIWrapper cli) Creates this element in domain model and also creates other resources if needed (e.g. external files)voidremove(org.jboss.as.test.integration.management.util.CLIWrapper cli) Reverts the changes introdued bycreate(...)method(s).Methods inherited from class org.wildfly.test.security.common.elytron.AbstractUserAttributeValuesCapableElement
getUsersWithAttributeValuesMethods inherited from class org.wildfly.test.security.common.elytron.AbstractConfigurableElement
getNameMethods 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, getName, remove
-
Field Details
-
permissionMapper
-
-
Method Details
-
create
Description copied from interface:ConfigurableElementCreates this element in domain model and also creates other resources if needed (e.g. external files)- Specified by:
createin interfaceConfigurableElement- Parameters:
cli- connectedCLIWrapperinstance- Throws:
Exception
-
remove
Description copied from interface:ConfigurableElementReverts the changes introdued bycreate(...)method(s).- Specified by:
removein interfaceConfigurableElement- Throws:
Exception
-
builder
Creates builder to buildPropertyFileBasedDomain.- Returns:
- created builder
-