JAAS AuthN Tokens in uPortal and Beyond

Slides:



Advertisements
Similar presentations
Secure Single Sign-On Across Security Domains
Advertisements

MIT Lincoln Laboratory A Service-Oriented Approach to Application Development Robert Darneille & Gary Schorer WPI MQP Presentations ICS Group 10 October.
JAAS AuthN Tokens in uPortal and Beyond or The JAAS Singer.
UAG Authentication and Authorization- part1
Forms Authentication, Users, Roles, Membership Ventsislav Popov Crossroad Ltd.
A Blackboard Building Block™ Crash Course for Web Developers
Authenticated QoS Signaling William A. (Andy) Adamson Olga Kornievskaia CITI, University of Michigan.
Architecture & Integration: CP v x Platforms: Windows NT sp5(6a)/Solaris 2.8 iWS Client(s) Netscape/IE 4.0+ Java Servlet Engine (Java Servlet API)
Environmental Council of States Network Authentication and Authorization Services The Shared Security Component February 28, 2005.
Password?. Project CLASP: Common Login and Access rights across Services Plan
UPortal and the Yale Central Authentication Service Drew Mazurek ITS Technology & Planning Yale University JA-SIG Summer Conference ‘04 Denver, CO June.
UPortal: A framework for the Personalization of Library Services John Fereira: Programmer/Analyst Cornell University Mann Library.
UPortal Security and CAS Susan Bramhall ITS Technology & Planning Yale University.
Single Sign-On for Java Web Start Applications Using MyProxy Terry Fleury, Jim Basney, and Von Welch November 3, 2006.
1 The Cryptographic Token Key Initialization Protocol (CT-KIP) Web Service Description KEYPROV WG IETF-68 Prague March 2007 Andrea Doherty.
Esri UC2013. Technical Workshop. Technical Workshop 2013 Esri International User Conference July 8–12, 2013 | San Diego, California Building Secure Applications.
TAM STE Series 2008 © 2008 IBM Corporation WebSEAL SSO, Session 108/2008 TAM STE Series WebSEAL SSO, Session 1 Presented by: Andrew Quap.
Copyright 2007, Information Builders. Slide 1 WebFOCUS Authentication Mark Nesson, Vashti Ragoonath Information Builders Summit 2008 User Conference June.
Kuali Rice at Indiana University Rice Setup Options July 29-30, 2008 Eric Westfall.
TeraGrid Science Gateways: Scaling TeraGrid Access Aaron Shelmire¹, Jim Basney², Jim Marsteller¹, Von Welch²,
FIspace SPT Seyhun Futaci. Technology behind FIspace Authentication and Authorization IDM service of Fispace provides SSO solution for web apps, mobile.
Module 5 Configuring Authentication. Module Overview Lesson 1: Understanding Classic SharePoint Authentication Providers Lesson 2: Understanding Federated.
Simplify and Strengthen Security with Oracle Application Server Allan L Haensgen Senior Principal Instructor Oracle Corporation Session id:
CAS Lightning Talk Jasig-Sakai 2012 Tuesday June 12th 2012 Atlanta, GA Andrew Petro - Unicon, Inc.
Single Sign-On
Tutorial: Building Science Gateways TeraGrid 08 Tom Scavo, Jim Basney, Terry Fleury, Von Welch National Center for Supercomputing.
UMBC’s WebAuth Robert Banz – UMBC
Case Study.  Client needed to build data collection agents for various mobile platform  This needs to be integrated with the existing J2ee server 
February, TRANSCEND SHIRO-CAS INTEGRATION ANALYSIS.
Combining ArcGIS for Server & ArcGIS Online Julia Guard and Matt Monson.
Enterprise Portals Empowering Business via Technology Rajesh Moparthi.
Active Directory. Computers in organizations Computers are linked together for communication and sharing of resources There is always a need to administer.
Introduction to Terra Dotta Applications Integration with Campus Data Systems for institutions beginning their software implementation.
Unlocking the Secrets of Alfresco Authentication Mehdi BELMEKKI, Consultancy Team Alfresco.
#SummitNow Alfresco Authentication and Synchronization Nov 2013 Mark Rogers.
UNICORE and Argus integration Krzysztof Benedyczak ICM / UNICORE Security PT.
ArcGIS for Server Security: Advanced
Java Web Services Orca Knowledge Center – Web Service key concepts.
Alain Bethuyne Web Security Architect BNPParibas Fortis
Progress Apama Fundamentals
Secure Single Sign-On Across Security Domains
API Manager for Vendorlink
562: Power of Single Sign-On in OpenEdge
Data Virtualization Tutorial… SSL with CIS Web Data Sources
Stop Those Prying Eyes Getting to Your Data
Jason Bury Dylan Drake Rush Corey Watt
Integrating Enterprise Applications Into SharePoint® Portal Server
GrubTruck (iOS Food Truck App)
Data Bridge Solving diverse data access in scientific applications
WEB SERVICES.
CAS and Web Single Sign-on at UConn
Unit – 5 JAVA Web Services
Notification Service JA-SIG June 6, 2006 One stop shopping
Creating Novell Portal Services Gadgets: An Architectural Overview
Web Caching? Web Caching:.
IBM Certified WAS 8.5 Administrator
Introduction to Web Services and SOA
Web Server Administration
What’s changed in the Shibboleth 1.2 Origin
Distributed Systems Bina Ramamurthy 11/30/2018 B.Ramamurthy.
Real World Advanced Threat Protection
uPortal Security and CAS
Open Source Web Initial Sign-On Packages
MyProxy Integration with PubCookie
Distributed Systems Bina Ramamurthy 4/22/2019 B.Ramamurthy.
Managing a Distributed Environment
Introduction to Web Services and SOA
Combining ArcGIS for Server & ArcGIS Online
ESDEN - modernisation of data exchange in the ESS
Credential Management in HTCondor
Presentation transcript:

JAAS AuthN Tokens in uPortal and Beyond or “The JAAS Singer” - aging webISO that departments were abandoning - everyone was beginning to use AD LDAP AuthN - AD used a different principal/password than the webISO -- causing issues with portal logins and portal integrations -- university slow on the uptake with an alternative CAS/Shib -- we needed something to bridge the gap -- LDAP authN against central IT policies (security of protocol) -- the kerberos protocol was the recommended way, but no one was doing it -- after a little research the challenge seemed worth undertaking

Our Environment 3 Campuses / 2 Environments Tomcat 6.0.20 uPortal 3.1.1 Active Directory Kerberos authentication via JAAS

Why Active Directory? AD offers authentication and group management Many campus services use it for authentication Kerberos implementation is widely used

Why JAAS? Already part of Java Kerberos implementation is solid Works with our AD/Kerberos uPortal has some JAAS support

EWS / uPortal Exchange Web Services (EWS) is a SOAP interface to Microsoft Exchange. We were tasked with building a portlet to retrieve a summary of Email and Calendar items. Each item should be a link that takes the user directly to it’s detailed view in Outlook Web Access.

Parameters Utilize existing infrastructure. Secure and easily managed Authentication. No admin user

#1 Utilize Existing Infrastructure Both EWS and our uPortal instance authenticates against the AD. EWS has a SOAP interface, Java supports SOAP web services via JAX-WS. Some work was already started via imap2exchange. Helped w/ JAX-WS bindings Utilizes BASIC authentication

#2 Secure, Easily Managed AuthN BASIC authN Admin user on Exchange server Secret keys between the portal and EWS server Kerberos tickets? Basic authN would require the user’s credentials to be cached (not happening) or the user to enter their AD creds into another form prior to each submission of a request for a summary (again not happening) an admin user would require it to be able to access all users’ folders which is not desirable from a security standpoint nor easy from an admin standpoint we use shared secrets for authenticating to other campus/university web ISOs but the its not easily managed since there’s a 1-1 relationship between each service/environment and the portal.

Kerberos Tickets and SPNego! Krb tickets are generated by Active Directory Opaque and unique SPNego (Simple and Protected GSSAPI NEGOtiation mechanism) Krb over HTTP Built in to EWS’ DNA Supported by all major browsers Best of all, it’s easy to manage!

uPortal and SPNego via JAAS/GSSAPI OOB JAASSecurityContext allows authN via JAAS does not hold on to the Kerberos ticket Thanks to uPortal being open source saw why it wasn’t more importantly, showed what had to happen to make it hold on to it Implemented our own JAASSecurityContext - our impl stores the JAAS Subject (the krb ticket) as an IAdditionalDescriptor in an IPerson attribute that we chose a name for. This is a key factor for later in the presentation.

uPortal and SPNego via JAAS/GSSAPI Portlets need to be able to access this attribute use the portlet API (PortletRequest.getAttribute) developed our own RequestAttributeService and used the portlet container spring context file to inject it into uPortal! Now, IPerson attributes are available to portlets without needing any additional API. All of this code was implemented using existing interfaces exposed by uPortal and Pluto. uPortal’s spring configurations allowed us to easily fit this into our implementation and give us access to this token.

Using the Kerberos Ticket Still faced a couple of challenges Generate a SPNego token put it on the HTTP header of the SOAP request the right way

EnterJAASmine JAASminewas built out of frustration there are FEW good resources on GSSAPI/SPNego usage in Java API is under-documented and tutorials are too basic JAASminetakes what we learned and makes it easy

JAASmine Lightweight “wrapper” for JAAS/GSSAPI Client code for web services that want to authenticate using SPNego tokens Server code for handling verification and validation of SPNego tokens

Success!

JAASmineand EWS authN From our portlet, we could get the kerberos ticket Pass it to theJAASmineclient to generate SPNego Next, put it on the header of the HTTP SOAP request (WWW-Authenticate)

Beyond uPortal JAASmineserver components are used for authenticating to our Kuali Rice instances (both the web app and soon the SOAP services) set up is low impact configure JAAS configure Kerberos configure a servlet filter

Beyond uPortal More web services Kerberos/Browser to server? It’s possible (and ideal)… Kerberos browser to server would enable proper click-through from items in the summary directly into Outlook Web Access (if kerberos was turned on for it) Other JAAS authentication implementations need to be added to jaasmine (LDAP, etc.).

References SPNego - http://goo.gl/ECVHs GSSAPI - http://goo.gl/XPLJF JAASmine- http://goo.gl/DM2GD imap2exchange - http://goo.gl/IkAZL

Thank You! Tim Carroll Andy Gherna