cd directory-fortress-core/
cp build.properties.example build.properties
# This points fortress to LDAP host. ldap.host=localhost ldap.port=10389 ldap.server.type=apacheds
mvn install
ls -l config/fortress.properties ls -l ldap/setup/refreshLDAPData.xml
ldapmodify -h localhost -p 10389 -D uid=admin,ou=system -w secret -a -f FORTRESS_HOME/ldap/schema/apacheds-fortress.ldif
mvn install -Dload.file=./ldap/setup/refreshLDAPData.xml mvn install -Dload.file=./ldap/setup/DelegatedAdminManagerLoad.xml
Tests should run with no errors.mvn test -Dtest=FortressJUnitTest
This program provides a command line interface for driving the fortress APIs. It is useful for ad-hoc and automated updates to the data. It's instruction manual is here: Fortress CLI Instruction Manualmvn test -Pcli
This program provides an interfactive console for driving the fortress functions. It is useful for testing and ad-hoc updates to the data.mvn test -Pconsole
Copyright 2003-2018, The Apache Software Foundation. All Rights Reserved.