Search in sources :

Example 1 with EjbElytronDomainSetup

use of org.wildfly.test.security.common.elytron.EjbElytronDomainSetup in project wildfly by wildfly.

the class EjbSecurityDomainSetup method setup.

@Override
public void setup(final ManagementClient managementClient, final String containerId) throws Exception {
    // elytron profile is enabled
    elytronDomainSetup = new ElytronDomainSetup(getUsersFile(), getGroupsFile(), getSecurityDomainName());
    ejbElytronDomainSetup = new EjbElytronDomainSetup(getSecurityDomainName());
    servletElytronDomainSetup = new ServletElytronDomainSetup(getSecurityDomainName());
    elytronDomainSetup.setup(managementClient, containerId);
    ejbElytronDomainSetup.setup(managementClient, containerId);
    servletElytronDomainSetup.setup(managementClient, containerId);
}
Also used : ServletElytronDomainSetup(org.wildfly.test.security.common.elytron.ServletElytronDomainSetup) ElytronDomainSetup(org.wildfly.test.security.common.elytron.ElytronDomainSetup) ServletElytronDomainSetup(org.wildfly.test.security.common.elytron.ServletElytronDomainSetup) EjbElytronDomainSetup(org.wildfly.test.security.common.elytron.EjbElytronDomainSetup) EjbElytronDomainSetup(org.wildfly.test.security.common.elytron.EjbElytronDomainSetup)

Example 2 with EjbElytronDomainSetup

use of org.wildfly.test.security.common.elytron.EjbElytronDomainSetup in project wildfly by wildfly.

the class EjbSecurityDomainSetup method setup.

@Override
public void setup(final ManagementClient managementClient, final String containerId) throws Exception {
    // elytron profile is enabled
    elytronDomainSetup = new ElytronDomainSetup(getUsersFile(), getGroupsFile(), getSecurityDomainName());
    ejbElytronDomainSetup = new EjbElytronDomainSetup(getSecurityDomainName());
    servletElytronDomainSetup = new ServletElytronDomainSetup(getSecurityDomainName());
    elytronDomainSetup.setup(managementClient, containerId);
    ejbElytronDomainSetup.setup(managementClient, containerId);
    servletElytronDomainSetup.setup(managementClient, containerId);
}
Also used : ServletElytronDomainSetup(org.wildfly.test.security.common.elytron.ServletElytronDomainSetup) ElytronDomainSetup(org.wildfly.test.security.common.elytron.ElytronDomainSetup) ServletElytronDomainSetup(org.wildfly.test.security.common.elytron.ServletElytronDomainSetup) EjbElytronDomainSetup(org.wildfly.test.security.common.elytron.EjbElytronDomainSetup) EjbElytronDomainSetup(org.wildfly.test.security.common.elytron.EjbElytronDomainSetup)

Aggregations

EjbElytronDomainSetup (org.wildfly.test.security.common.elytron.EjbElytronDomainSetup)2 ElytronDomainSetup (org.wildfly.test.security.common.elytron.ElytronDomainSetup)2 ServletElytronDomainSetup (org.wildfly.test.security.common.elytron.ServletElytronDomainSetup)2