eclipse-ee4j / eclipse-ee4j/genericmessagingra
Add support for passwordfile in the common asadmin tasks in the tests
- Dominant language
- Java
- Stars
- 2
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Description
GlassFish now mandates the passing of a password file instead of "password" for
asadmin CLI commands. Need to modify the test framework [common asadmin tasks]
to make this change
Suggested fix
Index: config/common.xml
===================================================================
RCS file: /cvs/genericjmsra/config/common.xml,v
retrieving revision 1.2
diff -u -w -r1.2 common.xml
— config/common.xml 28 Dec 2005 11:32:51 -0000 1.2
+++ config/common.xml 15 Mar 2006 08:57:44 -0000
@@ -407,7 +407,7 @@
-
+
@@ -421,7 +421,7 @@
-
+
@@ -651,11 +651,11 @@
ear file ${assemble.dir}/${appname}App.ear " level="verbose"/>
-
+
-
+
@@ -675,7 +675,7 @@
-
+
@@ -697,7 +697,7 @@
-
+
@@ -716,7 +716,7 @@
-
+
@@ -732,7 +732,7 @@
-
+
@@ -752,7 +752,7 @@
-
+
@@ -769,7 +769,7 @@
*
+
@@ -785,7 +785,7 @@
-
+
@@ -800,7 +800,7 @@
-
+
Index: config/config.properties
===================================================================
RCS file: /cvs/genericjmsra/config/config.properties,v
retrieving revision 1.3
diff -u -w -r1.3 config.properties
— config/config.properties 28 Dec 2005 11:32:52 -0000 1.3
+++ config/config.properties 15 Mar 2006 08:57:44 -0000
@@ -29,6 +29,8 @@
admin.host=localhost
#SJSAS admin user password
admin.password=adminadmin
+
+admin.password.file=${env.RA_HOME}/admin.password
appserver.instance.name=server
appclient.cpath=${env.RA_HOME}/build/dist/genericra.jar:/wksp/stcjms.jar
rarfile=${env.RA_HOME}/build/dist/genericra.rar
Index: config/properties.xml
===================================================================
RCS file: /cvs/genericjmsra/config/properties.xml,v
retrieving revision 1.2
diff -u -w -r1.2 properties.xml
— config/properties.xml 28 Apr 2005 11:40:52 -0000 1.2
+++ config/properties.xml 15 Mar 2006 08:57:44 -0000
@@ -23,7 +23,9 @@
-
+ AS_ADMIN_PASSWORD=${admin.password}
+AS_ADMIN_ADMINPASSWORD=${admin.password}
+AS_ADMIN_MASTERPASSWORD=${master.password}
+ value="--user ${admin.user} --passwordfile ${admin.password.file} --host
${admin.host} --port ${admin.port}
"/>
#### Environment
Operating System: All
Platform: All
#### Affected Versions
[v1.5]
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.