Author: rsearls
Date: 2015-01-03 16:28:08 -0500 (Sat, 03 Jan 2015)
New Revision: 19317
Modified:
stack/cxf/branches/arquillian/modules/testsuite/shared-tests/src/test/scripts/jbws-testsuite-default.groovy
Log:
arquillian migration security settings
Modified:
stack/cxf/branches/arquillian/modules/testsuite/shared-tests/src/test/scripts/jbws-testsuite-default.groovy
===================================================================
---
stack/cxf/branches/arquillian/modules/testsuite/shared-tests/src/test/scripts/jbws-testsuite-default.groovy 2015-01-03
20:36:05 UTC (rev 19316)
+++
stack/cxf/branches/arquillian/modules/testsuite/shared-tests/src/test/scripts/jbws-testsuite-default.groovy 2015-01-03
21:28:08 UTC (rev 19317)
@@ -70,13 +70,24 @@
*
*/
-def securityDomainBasicAuth = securityDomains.appendNode('security-domain',
['name':'ws-basic-domain','cache-type':'default'])
+/*
+ * Settings for
modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2937/JBWS2937TestCase.java
+ */
+def securityDomainBasicAuth = securityDomains.appendNode('security-domain',
['name':'handlerauth-security-domain','cache-type':'default'])
def authenticationBasicAuth =
securityDomainBasicAuth.appendNode('authentication')
def loginModuleBasicAuth = authenticationBasicAuth.appendNode('login-module',
['code':'UsersRoles','flag':'required'])
-loginModuleBasicAuth.appendNode('module-option',
['name':'usersProperties','value':project.properties['testResourcesDir']
+ '/jaxws/cxf/httpauth/WEB-INF/ws-users.properties'])
-loginModuleBasicAuth.appendNode('module-option',
['name':'rolesProperties','value':project.properties['testResourcesDir']
+ '/jaxws/cxf/httpauth/WEB-INF/ws-roles.properties'])
-loginModuleBasicAuth.appendNode('module-option',
['name':'password-stacking','value':'useFirstPass'])
+loginModuleBasicAuth.appendNode('module-option',
['name':'usersProperties','value':project.properties['testResourcesDir']
+ '/jaxws/handlerauth/jbossws-users.properties'])
+loginModuleBasicAuth.appendNode('module-option',
['name':'rolesProperties','value':project.properties['testResourcesDir']
+ '/jaxws/handlerauth/jbossws-roles.properties'])
+/*
+ * Settings for
modules/testsuite/shared-tests/src/test/java/org/jboss/test/ws/jaxws/samples/securityDomain/PermitAllTestCase.java
+ */
+def aSecurityDomainBasicAuth = securityDomains.appendNode('security-domain',
['name':'JBossWSSecurityDomainPermitAllTest','cache-type':'default'])
+def aAuthenticationBasicAuth =
aSecurityDomainBasicAuth.appendNode('authentication')
+def aLoginModuleBasicAuth = aAuthenticationBasicAuth.appendNode('login-module',
['code':'UsersRoles','flag':'required'])
+aLoginModuleBasicAuth.appendNode('module-option',
['name':'usersProperties','value':project.properties['testResourcesDir']
+ '/jaxws/samples/securityDomain/jbossws-users.properties'])
+aLoginModuleBasicAuth.appendNode('module-option',
['name':'rolesProperties','value':project.properties['testResourcesDir']
+ '/jaxws/samples/securityDomain/jbossws-roles.properties'])
+
/**
* Add a security-domain block like this:
*
Show replies by date