blob: 26173d025c3bf02c5b518dd65caa28cc2eea739a [file] [log] [blame]
UNIT TESTS ON SECURITY
======================
PREREQUISITES:
-------------
LDAP server such as OpenDS (http://www.opends.org/).
FOR RUNNING THE SECURITY TESTS:
-------------------------------
1. Update appserv-tests/config.properties.
1a. Set the ENV variables S1AS_HOME to GFv3 home
1b. Set the ENV variable APS_HOME t0 appserv-tests
1c. Set the ENV variable JAVA_HOME to jdk home
2. Start the domain, $S1AS_HOME/bin/asadmin start-domain
3. Start derby database, $S1AS_HOME/bin/asadmin start-database
4. Simple type "ant all" from appserv-tests/devtests/security.
NOTE:
-----
If there is a problem in running wsimport for wss tests, then please check
a) the line 127.0.0.1 is correct in /etc/hosts
b) $APS_HOME should not have "/" at the end
For jdk version 1.6.0_20+, add the follwing workaround.
a) $S1AS_HOME/bin/asadmin create-jvm-options -Dsun.security.ssl.allowUnsafeRenegotiation=true
For help contact sjsas-security-dev@sun.com