Liferay, SSO and LDAP - Integration Copyright © 2000-2007 Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without.

Slides:



Advertisements
Similar presentations
Struts Portlet Copyright © Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without written permission.
Advertisements

Struts Portlet Adding an Action Copyright © Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without.
Web Services Copyright © Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without written permission.
JSF Portlet Backing Beans and UI Components Copyright © Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in.
© 2009 GroundWork Open Source, Inc. PROPRIETARY INFORMATION: Information contained herein is not for use or disclosure outside of GroundWork Open Source,
Developing in CAS. Why? As distributed you edit CAS 3 with Eclipse and build with Maven 2 – Best Practice for Release Engineering – Difficult edit-debug.
SSL (Secure Socket Layer)
How to Logon Oracle Collaboration Suite and change password? STEP 1 Launch
XMAS installation instructions Windows Version: 1.0 4/22/2008.
SSL Man in the Middle Proxy Srinivas Inguva Dan Boneh Ian Baker Stanford University.
Certificates, SSL and IPsec Ahmed Muaydh Sara Bin Saif Shi-Jey Chou Advisor:Dr. Leszek Lilien.
Introduction to Liferay Copyright © Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without written.
Struts Portlet Database Interaction Copyright © Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without.
Basic Portlet Copyright © Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without written permission.
JSF Portlet Copyright © Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without written permission.
Computers as an Expressive Medium Lab 8: jar signing, debugging Mayhew Seavey.
APACHE SERVER By Innovationframes.com »
TUTORIAL (1) Software installation Written by: Eng. Ahmed Mohamed Abdel Ghafar, Edited by Eng. Muhammed Hammad, Eng. Hamdy Soltan & Eng. Osama Talaat.
Themes & Layout Tutorial Copyright © Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without written.
1 Lecture 5 George Koutsogiannakis/ Summer 2011 CS441 CURRENT TOPICS IN PROGRAMMING LANGUAGES.
Softsmith Infotech Secure Socket Layer (SSL) and Tomcat.
CSCI 6962: Server-side Design and Programming
With Internet Explorer 8© 2011 Pearson Education, Inc. Publishing as Prentice Hall1 Go! with Internet Explorer 8 Getting Started.
August 25, SSO with Microsoft Active Directory Presented by: Craig Larrabee.
WaveMaker Visual AJAX Studio 4.0 Training Studio Overview.
Ext Environment Copyright © 2005 Liferay, LLC All Rights Reserved. No material may be reproduced electronically or in print without written permission.
© Copyright by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 1 Outline 29.1 Multi-Tier Architecture 29.2 Web Servers.
Copyright© 2003 Avaya Inc. All rights reserved Upgrade to Communication Manager 2.0 with Migration to Linux 8.0 Purpose: This presentation was prepared.
Securing Large Applications CSCI 5931 Web Security Rungang Mo, Yingying Sun.
PARSING FACEBOOK DATA FOR ANDROID 1. Step by Step  Import Android SDK  Get the hash key  Create a new app  Create a new project in Eclipse 
Struts Portlet Redirect Copyright © Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without written.
CS441 CURRENT TOPICS IN PROGRAMMING LANGUAGES LECTURE 5_1 George Koutsogiannakis/ Summer
Guidelines for Homework 6. Getting Started Homework 6 requires that you complete Homework 5. –All of HW5 must run on the GridFarm. –HW6 may run elsewhere.
Ext Environment Copyright © 2005 Liferay, LLC All Rights Reserved. No material may be reproduced electronically or in print without written permission.
Installing Apache Axis Setting up your Tomcat server to use Web Services.
XP New Perspectives on The Internet, Sixth Edition— Comprehensive Tutorial 1 1 Browser Basics Introduction to the Web and Web Browser Software Tutorial.
Basic Setup Copyright © Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without written permission.
How to publish your app 1 CS440. Step 1: Remove any debug logging  Good practice: comment out any debug logging  Why? CS440 2.
ASM Hands-on. What will we learn? ● How to install an ASM-based web-application in gUSE ● How to develop ASM-related parts of an interface for – Importing.
Deployment via jars and Webstart. How do we distribute our application? Lab says you need to submit CD Lab says you need to submit CD Limitations of CD.
A Community of Learning SUNGARD SUMMIT 2007 | sungardsummit.com 1 Extending SSO – CAS in Luminis Presented by: Zachary Tirrell Plymouth State University.
LDAP Authentication Copyright © Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without written permission.
WSRP Portlets Copyright © Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without written permission.
Bloomer User Notes Installing and Running a Bloomer Installation Jack Park Latest: Project Home:
JSP Portlet Copyright © Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without written permission.
TIBCO BusinessWorks.  Generating the key   You will have to create a certificate as you own the server.  The ‘Keytool’ is a utility provided in the.
Installing and Configuring Tomcat SSE. Downloading Tomcat l Download url: 4.0/release/v4.1.24/bin/
Demo : OpenSign Server & Java Client Works with: OpenSign Sever Version 0.4 and OSSJClient Version 0.9.
1 Thuy, Le Huu | Pentalog VN Web Services Security.
Database Connection Copyright © Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without written permission.
Copy of the from the secure website - click on the AccoridaLife.zip link.
Basic Portlet Copyright © 2000 – 2007 Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without written permission.
1 G52IWS: Example Web-services Chris Greenhalgh. 2 Contents Software requirements AXIS web service run-time components Getting started with Jetty & AXIS.
Required Tools Copyright © Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without written permission.
15 Copyright © 2004, Oracle. All rights reserved. Adding JAAS Security to the Client.
LAB#8 PKI & DIGITAL CERTIFICATE CPIT 425. Public Key Infrastructure PKI 2  Public key infrastructure is the term used to describe the laws, policies,
WMarket For Adminstrators Manual Installation. Basic Dependencies To install your own WMarket instance, you are required to install the following software:
1.Switch on the computer and wait for loading. 2.Select the Windows 7 OS at the end of the list. 3.Click on the link ‘Administrator’ 4.Enter the administrator.
PuTTY Introduction to Web Programming Kirkwood Continuing Education by Fred McClurg © Copyright 2016, All Rights Reserved ssh client.
Required Tools Copyright © 2005 Liferay, LLC All Rights Reserved. No material may be reproduced electronically or in print without written permission from.
© 2002 TouchNet Information Systems, Inc. 1 Software for Campus Commerce  TouchNet Payment Gateway Credit Card & WebCheck Installation for GBR Colleges.
Apache Tomcat & Quick Tutorial
Data Virtualization Tutorial… SSL with CIS Web Data Sources
SSL Setup Making PROPworks® Applications Secure
Copyright © Liferay, Inc.
Configuring tomcat for https
Copyright © Liferay, Inc.
Outline Install Java Change Security Files in Java
SSL certificates TIBCO BusinessWorks.
Everything you need to know about implementing AD FS
Presentation transcript:

Liferay, SSO and LDAP - Integration Copyright © Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without written permission from Liferay, Inc.

Objectives Integration – Liferay, LDAP and SSO 1.Overview 2.Demo 3.CAS-SSO for Liferay

Overview Liferay Alfresco LDAP ApacheDS SSO CAS Authentication SSO Portlet Apps SSO Web client Web services

Real Integration See real integration – Demo Then do exercise –CAS – SSO, LDAP and Liferay - integration Set tomcat as linked source in ext project -In Resource perspective, edit.classpath; -Remove “ ” -Go to Java perspective Check Java home at C:\Java or C:\Training\Java; not at C:\Program Files\Java

CAS - SSO Install CAS-SSO server Download CAS SSO (from copy) URL: Login as admin/admin Find: cas-web.war Click it – download Copy the war file and paste it to the Tomcat webapps directory. Go to the Tomcat conf/server.xml file and uncomment the SSL section to open port See next page.

CAS - SSO

Check Point Tomcat conf/server.xml …… ……

CAS - SSO Install CAS-SSO client Get the Yale CAS Client (from copy) Casclient.jar Copy the file; Go to the lib file in Tomcat (webapps\ROOT\WEB_INF\lib) and paste the casclient.jar file to replace the existing one. In the command prompt go to Tomcat webapps/ROOT directory. Generate the SSL cert, enter: keytool -genkey -alias tomcat -keypass changeit -keyalg RSA

CAS - SSO Enter keystore password: changeit What is your first and last name? [Unknown]: localhost What is the name of your organizational unit? [Unknown]: What is the name of your organization? [Unknown]: What is the name of your City or Locality? [Unknown]: What is the name of your State or Province? [Unknown]: What is the two-letter country code for this unit? [Unknown]: Is CN=localhost, OU=Unknown, O=Unknown, L=Unknown, ST=Unknown, C=Unknown correct? [no]: yes Enter localhost for the first name and last name Enter changeit for the password. Enter yes for the list.

CAS - SSO Export the cert you generated from your personal keystore: keytool -export -alias tomcat -keypass changeit -file server.cert Enter changeit for the password. Import the cert into Java's keystore: keytool -import -alias tomcat -file server.cert -keypass changeit -keystore %JAVA_HOME%/jre/lib/security/cacerts Enter changeit for the password. Enter yes to trust this certificate Check point “ Certificate was added to keystore ”

CAS - SSO Set up Liferay Portal Navigate to the classes file in Tomcat (webapps\ROOT\WEB_INF\classes). Create system-ext.properties. Open system-ext.properties and enter: com.liferay.filters.sso.cas.CASFilter=true Save. Open portal-ext.properties and enter: #auto.login.hooks=com.liferay.portal.security.auth.BasicAutoLogin auto.login.hooks=com.liferay.portal.security.auth.BasicAutoLogin,com.lifera y.portal.security.auth.CASAutoLogin Save.

Simple Codes Tomcat webapps/ROOT/WEB-INF/web.xml CAS Filter com.liferay.filters.sso.cas.CASFilter logout_url edu.yale.its.tp.cas.client.filter.loginUrl edu.yale.its.tp.cas.client.filter.validateUrl edu.yale.its.tp.cas.client.filter.serviceUrl

Simple Codes Tomcat webapps/ROOT/WEB-INF/web.xml CAS Filter /c/portal/login …… Auto Login Filter /c/portal/login FORWARD INCLUDE REQUEST

CAS - SSO Test – Liferay and SSO Shut down tomcat if it is running Restart tomcat Make sure you try it out on Firefox and Opera first, then IE. In CAS, input (authenticating with LDAP server) Id: “liferay.com.1” Password: “liferay”

Check Points Rebuild Delete the tomcat alias from the keystore so you can start fresh. –keytool -delete -alias tomcat -keystore %JAVA_HOME%/jre/lib/security/cacerts –keytool -delete -alias tomcat -file server.cert Enter changeit for the password. Repeat - Generate the SSL cert

CAS - SSO Congratulation! Q&A

Revision History Jonas Yuan06/07/07Created for Liferay Jonas Yuan06/11/07Change java home