commit | 32f0104d3e148a67466d080a5d1687c0eb678c49 | [log] [tgz] |
---|---|---|
author | Shawn McKinney <smckinney@apache.org> | Mon Mar 21 20:33:00 2016 -0500 |
committer | Shawn McKinney <smckinney@apache.org> | Mon Mar 21 20:33:00 2016 -0500 |
tree | a827ea9d89dd69dda8f374018803087e85c8f64a | |
parent | ab354cd1e98181bbcb876ac3858784fadecb1a22 [diff] |
wicket.version>6.22.0
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
This document contains instructions to download, build, and test operations using Apache Fortress Web component.
Minimum hardware requirements:
Minimum software requirements:
Everything else covered in steps that follow. Tested on Debian, Centos & Windows systems.
Build the source.
git clone https://git-wip-us.apache.org/repos/asf/directory-fortress-commander.git cd directory-fortress-commander mvn clean install
These contain the coordinates to the target LDAP server.
cp $FORTRESS_CORE_HOME/config/fortress.properties $FORTRESS_WEB_HOME/src/main/resources
# This param tells fortress what type of ldap server in use: ldap.server.type=apacheds # ldap host name host=localhost # if ApacheDS is listening on port=10389 # If ApacheDS, these credentials are used for read/write to fortress DIT admin.user=uid=admin,ou=system admin.pw=secret # This is min/max settings for admin pool connections: min.admin.conn=1 max.admin.conn=10 # This node contains more fortress properties stored on behalf of connecting LDAP clients: config.realm=DEFAULT config.root=ou=Config,dc=example,dc=com # Used by application security components: perms.cached=true # Fortress uses a cache: ehcache.config.file=ehcache.xml # Default for pool reconnect flag is false: enable.pool.reconnect=true
Run maven install with load file:
mvn install -Dload.file=./src/main/resources/FortressWebDemoUsers.xml
<plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>tomcat-maven-plugin</artifactId> <version>${version.tomcat.maven.plugin}</version> <configuration> ... <!-- Warning the tomcat manager creds here are for deploying into a demo environment only. --> <username>tcmanager</username> <password>m@nager123</password> </configuration> </plugin>
cp $FORTRESS_REALM_HOME/proxy/target/fortress-realm-proxy-[version].jar $TOMCAT_HOME/lib
Restart Tomcat server.
Enter maven command to deploy to Tomcat:
mvn tomcat:deploy
mvn tomcat:redeploy
http://hostname:8080/fortress-web
Run the Selenium Web driver integration tests:
mvn test -Dtest=FortressWebSeleniumITCase
Note: These automated tests depend that: