[jboss-svn-commits] JBL Code SVN: r21271 - labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/opensso.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Tue Jul 29 03:36:28 EDT 2008
Author: beve
Date: 2008-07-29 03:36:28 -0400 (Tue, 29 Jul 2008)
New Revision: 21271
Modified:
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/opensso/build.xml
labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/opensso/readme.txt
Log:
added some properties so that it is easy to modify the opensso username and password.
Modified: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/opensso/build.xml
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/opensso/build.xml 2008-07-29 07:26:38 UTC (rev 21270)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/opensso/build.xml 2008-07-29 07:36:28 UTC (rev 21271)
@@ -5,12 +5,10 @@
${line.separator}
</description>
- <!--property name="opensso.config.dir" value="${basedir}/opensso-config"/-->
+ <property name="opensso.username" value="amAdmin" />
+ <property name="opensso.password" value="adminpass" />
- <!-- Additional files to be deployed in the sar. -->
- <!--property name="additional.deploys" value="AMConfig.properties" /-->
-
<!--property name="deploy.exploded.requested" value="true" /-->
<!-- Import the base Ant build script... -->
@@ -23,8 +21,8 @@
<arg value="opensso"/>
<arg value="DataStore"/>
<arg value="en_US"/>
- <arg value="amAdmin"/>
- <arg value="adminpass"/>
+ <arg value="${opensso.username}"/>
+ <arg value="${opensso.password}"/>
<classpath refid="exec-classpath"/>
<classpath path="${basedir}/lib"/>
</java>
Modified: labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/opensso/readme.txt
===================================================================
--- labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/opensso/readme.txt 2008-07-29 07:26:38 UTC (rev 21270)
+++ labs/jbossesb/workspace/dbevenius/security/product/samples/quickstarts/opensso/readme.txt 2008-07-29 07:36:28 UTC (rev 21271)
@@ -15,19 +15,17 @@
Unpacks the opensso.war to the esbserver.
2. Update 'run.sh" and add '-XX:MaxPermSize=512m' JVM options.The line in run.sh should looks something like this:
JAVA_OPTS="-Dprogram.name=$PROGNAME $JAVA_OPTS -XX:MaxPermSize=512m"
- 3. Open http://localhost:8080/opensso in a browser.
- 4. Click on "Create Default Configuration".
- 5. Enter 'adminpass' for the "Default User[amAdmin]" and 'ldappass' for "Default Agent [amldapuser]"
- 6. Click on "Create Configuration". This is cause OpenSSO to configure itself
- 7. Execute 'ant copy-esb-props' from the command line.
- This copies server-jbossesb-properties and overwrites jbossesb-properties.xml in
- jbossesb.sar. This adds an xml fragment named 'security' which contains the
- proprerties needed to install the OpenSSOSecrityService in the ESB.
- 8. Restart the server
+ 3. Start the server.
+ 4. Open http://localhost:8080/opensso in a browser.
+ 5. Click on "Create Default Configuration".
+ 6. Enter 'adminpass' for the "Default User[amAdmin]" and 'ldappass' for "Default Agent [amldapuser]"
+ 8. Click on "Create Configuration". This is cause OpenSSO to configure itself
+ 9. Stop the server.
To Run '.esb' archive mode:
===========================
1. Type 'ant deploy'.
+ 2. Start the server.
2. Type 'ant runtest'
What to look for in this quickstart
@@ -39,3 +37,7 @@
property can be set in the build.xml file. If you have preconfigured OpenSSO installation
simply point this propery to the correct location of you OpenSSO config directory.
+ Changing the opensso username and password:
+ The OpenSSO username and password are specified in build.xml. Try changing the username
+ and/or password to see how an unsuccessful login attemt in handled.
+
More information about the jboss-svn-commits
mailing list