Installation guide for Integration of CAS with UniTime

Project:Integration of Scheduling component UniTime (University Timetabling) with CAS Campus
Component:Documentation
Category:task
Priority:normal
Assigned:Unassigned
Status:active
Description
Install and configure CAS as mentioned in the CAS community wiki demo in the following url https://wiki.jasig.org/display/CASUM/Demo Most of the steps mentioned in the above url will be mentioned here. Step 1: Install jdk • Download and install the latest jdk version from Oracle’s Sun developer network website. • Set the JAVA_HOME environment variable to the path where the jdk is installed. Step 2: Install tomcat and set the environment variable CATALINA_HOME to the tomcat installation directory. Step 3: Use keytool to generate a certificate Reference: http://www.ja-sig.org/wiki/display/CAS/Solving+SSL+issues • Uncomment the SSL configuration with port 8443 in the %catalina_home%\conf\server.xml. • Set up the public/private key and keystore by entering the following command. This will create and .keystore file in the user's home directory. %java_home%\bin\keytool -genkey -alias tomcat -keyalg RSA • When you are prompted for the first and last name, enter localhost (or the server name where CAS server is present) • Export the certificate from the .keystore file to a file called server.crt. %java_home%\bin\keytool -export -alias tomcat -file server.crt • Import the certificate into the default jvm truststore. %java_home%\bin\keytool -import -file server.crt -keystore %java_home%/jre/lib/security/cacerts • Test the SSL configuration by entering https://localhost:8443. Step 4: Copy the UniTime.war to the webapps folder in your tomcat installation directory Step 5: Copy the cas-server-support-jdbc-3.4.2.1.jar into the webapps/cas-server-webapp-3.4.2.1/WEB-INF/lib of your tomcat installation directory. Add the following to deployerConfigContext.xml present in the webapps/cas-server-webapp-3.4.2.1/WEB-INF directory under the property authenticationHandlers. users id password Comment the following in the deployerConfigContext.xml Add the reference to the datasource under the root tag com.mysql.jdbc.Driver jdbc:mysql://localhost:3306/cas_unitime root root321 Step 6: Create a database in mysql called cas_unitime. Create a table called users in it with columns id and password. Insert the username and password to be authenticated for UniTime in this table. Note:- The username should match the username present in the users table of the timetable database (database used in UniTime) Step 7: Copy the following jars into webapps/cas-server-webapp-3.4.2.1/WEB-INF/lib - commons-pool-1.4.jar, commons-dbcp-1.2.2.jar, mysql-connector-java-3.1.13-bin.jar (this could vary depending on your mysql version) Step 8: Start the server in the bin directory in the webapps installation folder (startup.sh for linux and startup.bat for windows). Step 9: Open UniTime in your web browser using the link http://localhost:8080/UniTime/
09 Feb02:27

#1

By berry
we showed you one of the better custom design we have seen in the form of the Bordeaux Air Jordan 6.nike air max 95 If designed correctly, custom designs can be very intriguing to say the least. This week, we take an in-depth look at the design process and finished product of the custom Nike air max 90 Grinchfrared. Our homie Jake Danklefs decided to incorporate a Kobe VI Grinch theme to the iconic Infrared Nike Air Max 90. http://www.nikeairmaxes90s.co.uk/
Copyright 2009 KenElements. Powered by Open Source Software from projects like Apache, Drupal, Linux, MySQL, PHP, JQuery