InstallationPow2ACL archive
Unpack the pow2 ACL archive and put the
Database creationCreate the example ACL database:
Package configuration
Edit the
Configuration example:
# [JDBC stuff]
# ===========================================================================
#
# set the ConnectionProvider class and URL
jdbc_cp_class = com.pow2.dao.JakartaConnectionProvider
jdbc_cp_url =
#jdbc_cp_class = com.pow2.dao.ProtomatterConnectionProvider
#jdbc_cp_url = jdbc:protomatter:pool:postgresPool
#jdbc_cp_class = com.pow2.dao.SimpleConnectionProvider
#jdbc_cp_url =
# set the JDBC driver properties values;
jdbc_driver = org.postgresql.Driver
jdbc_url = jdbc:postgresql://myHost/acl2?charSet=ISO-8859-1
jdbc_username = postgres
jdbc_password =
# [Velocity stuff]
# ===========================================================================
#
velocity_cache = true
velocity_cache_modificationCheckInterval = 600
# [Pow2Toolkit User data provider]
# ===========================================================================
#
# set the default provider for User data and authentication method.
#
# Valid user data provider values are:
#
# rdbms - to retrieve the user data from the application rdbms.
# ldap - to retrieve the user data from a specified LDAP server.
# See the [Pow2Toolkit LDAP support] section.
user_data_provider = rdbms
#user_data_provider = ldap
# [Pow2Toolkit Log stuff]
# ===========================================================================
#
# log4j_config sets the path of the log4j configuration file;
# log4j_logfile sets the absolute file path of the application log file.
log4j_config = /WEB-INF/Pow2Toolkit.properties
log4j_logfile = G:/code/projects/pow2acl/web/WEB-INF/log/acl.log
# [log levels]
#
# sets the log4j log levels for the application libraries;
# log4j levels are:
#
# debug > info > warn > error
loglevel_pow2toolkit = debug
loglevel_dbforms = warn
# [Cactus stuff]
# ===========================================================================
#
# set the acl web application url
# http:// + {hostname:port} + '/' + {webapp_context}
webapp_url = http://localhost:8080/acl
Build processOpen a shell (cmd.exe on Windows), and follow these steps:
$POW2ACL_HOME/ant/bin
directory.
The following table shows the Ant tasks used by the installation procedure:
Web context configurationPow2ACL provides a web application as the frontend to the access control list data (currently stored into a relational database). To use the web interface to manage the underlying database, you should add a new web application context to the configuration of your servlet container.
<Context path="/acl"
docBase="$POW2ACL_HOME/web"
crossContext="true"
debug="0"
reloadable="false"
trusted="false">
</Context>
Connection to the Pow2ACL web application
Start your servlet container, and connect to the
http://localhost:8080/acl
|