This project provides some unit and integration tests for PicketLink Federation.
For more informations see https://docs.jboss.org/author/display/PLINK/Integration+Tests.
Follow the documentation above.
Also before you runnig tests in JBAS7 you need to add security domain. Use following commands:
$ cd integration-tests/jboss-as7
$ ./addSecurityDomain.sh ${NAME_OF_ZIP_FILE_IN_DIST_FOLDER} ${NAME_OF_UNZIPPED_EAP}
For running Java Security Manager add following to mvn
command:
-Dsmproperty="-Djava.security.manager -Djava.security.policy==/path/to/policy.policy"
Or use some system property:
export SECMAN_PROPERTY="-Djava.security.manager -Djava.security.policy==/path/to/policy.policy"
And add to mvn
command:
-Dsmproperty=${SECMAN_PROPERTY}