Skip to content

Commit

Permalink
[WFLY-7186] Move UndertowApplicationSecurityDomain and make public fo…
Browse files Browse the repository at this point in the history
…r use with other tests.
  • Loading branch information
darranl committed Nov 30, 2018
1 parent 796c816 commit 2156060
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 41 deletions.
Expand Up @@ -56,6 +56,7 @@
import org.wildfly.security.auth.jaspi.Flag;
import org.wildfly.test.security.common.AbstractElytronSetupTask;
import org.wildfly.test.security.common.elytron.ConfigurableElement;
import org.wildfly.test.undertow.common.UndertowApplicationSecurityDomain;

/**
* A base for the configured JASPI testing allowing us to repeat the same set of tests across a different set of server
Expand Down
Expand Up @@ -46,6 +46,7 @@
import org.junit.runner.RunWith;
import org.wildfly.test.security.common.AbstractElytronSetupTask;
import org.wildfly.test.security.common.elytron.ConfigurableElement;
import org.wildfly.test.undertow.common.UndertowApplicationSecurityDomain;

/**
* Test case testing a deployment secured using JASPI dynamically registered by the deployment.
Expand Down
Expand Up @@ -33,7 +33,7 @@
*
* @author Ondrej Kotek
*/
public class ClientCertUndertowDomainMapper extends AbstractConfigurableElement implements SecurityDomainMapper {
public class ClientCertUndertowDomainMapper extends AbstractConfigurableElement {

private final String securityDomain;

Expand Down

This file was deleted.

Expand Up @@ -40,8 +40,10 @@
* </p>
*
* @author Josef Cacek
* @deprecated Configures more than one resource, use {@code UndertowApplicationSecurityDomain}
*/
public class UndertowDomainMapper extends AbstractConfigurableElement implements SecurityDomainMapper {
@Deprecated
public class UndertowDomainMapper extends AbstractConfigurableElement {

private final Set<String> applicationDomains;

Expand Down
Expand Up @@ -20,7 +20,7 @@
* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
*/

package org.wildfly.test.integration.elytron.jaspi;
package org.wildfly.test.undertow.common;

import static org.wildfly.test.security.common.ModelNodeUtil.setIfNotNull;

Expand All @@ -38,12 +38,7 @@
*
* @author <a href="mailto:darran.lofthouse@jboss.com">Darran Lofthouse</a>
*/
class UndertowApplicationSecurityDomain extends AbstractConfigurableElement {

/*
* Reduced visibility until we decide to make this accessible for use elsewhere which would also mean moving this class into
* common.
*/
public class UndertowApplicationSecurityDomain extends AbstractConfigurableElement {

private final PathAddress address;
private final String securityDomain;
Expand Down

0 comments on commit 2156060

Please sign in to comment.