Class PropertyFileAuthzBasedDomain
java.lang.Object
org.wildfly.test.security.common.elytron.AbstractConfigurableElement
org.wildfly.test.security.common.elytron.AbstractUserAttributeValuesCapableElement
org.wildfly.test.security.common.elytron.PropertyFileAuthzBasedDomain
- All Implemented Interfaces:
ConfigurableElement,SecurityDomain,UsersAttributeValuesCapableElement
public class PropertyFileAuthzBasedDomain
extends AbstractUserAttributeValuesCapableElement
implements SecurityDomain
Elytron Security domain implementation which uses
properties-realm to hold the users and roles for
authorization and given realm for authentication.
For this given domain are created also following Elytron resources (with the name based on the domain name):
- properties-realm (name has "-authzRealm" suffix)
- aggregate-realm (name has "-aggregateRealm" suffix)
- simple-role-decoder
- constant-permission-mapper
- Author:
- Ondrej Kotek
-
Nested Class Summary
Nested Classes -
Field Summary
Fields 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
-
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
-