Architecture of Enterprise Applications III Single Sign-On



Similar documents
CAS Protocol 3.0 specification

Kerberos. Public domain image of Heracles and Cerberus. From an Attic bilingual amphora, BC. From Italy (?).

How To Configure The Jasig Casa Single Sign On On A Workstation On Ahtml.Org On A Server On A Microsoft Server On An Ubuntu (Windows) On A Linux Computer On A Raspberry V

CS 356 Lecture 28 Internet Authentication. Spring 2013

Leveraging SAML for Federated Single Sign-on:

CENTRAL AUTHENTICATION SERVICE (CAS) SSO FOR EMC DOCUMENTUM REST SERVICES

Single sign-on enabled OpenCms

Connecting Web and Kerberos Single Sign On

ClearPass A CAS Extension Enabling Credential Replay

Kerberos authentication made easy on OpenVMS

Guide to SASL, GSSAPI & Kerberos v.6.0

Pierce County IT Department GIS Division Xuejin Ruan Dan King

Leverage Active Directory with Kerberos to Eliminate HTTP Password

Chapter 4. Authentication Applications. COSC 490 Network Security Annie Lu 1

Web Single Sign-On System. For WRL Company

Password Power 8 Plug-In for Lotus Domino Single Sign-On via Kerberos

Single Sign-On for Kerberized Linux and UNIX Applications

Using Foundstone CookieDigger to Analyze Web Session Management

The increasing popularity of mobile devices is rapidly changing how and where we

Perceptive Experience Single Sign-On Solutions

Flexible Identity Federation

TOPIC HIERARCHY. Distributed Environment. Security. Kerberos

Liberty Alliance. CSRF Review. .NET Passport Review. Kerberos Review. CPSC 328 Spring 2009

Kerberos. Guilin Wang. School of Computer Science, University of Birmingham

Identity Management: The authentic & authoritative guide for the modern enterprise

Cisco ASA Adaptive Security Appliance Single Sign-On: Solution Brief

Enabling Federation and Web-Single Sign-On in Heterogeneous Landscapes with the Identity Provider and Security Token Service Supplied by SAP NetWeaver

IceWarp Server - SSO (Single Sign-On)

Kerberos: An Authentication Service for Computer Networks by Clifford Neuman and Theodore Ts o. Presented by: Smitha Sundareswaran Chi Tsong Su

Biometrics for Global Web Authentication: an Open Source Java/J2EE-Based Approach

Two SSO Architectures with a Single Set of Credentials

SAML-Based SSO Solution

This chapter describes how to use the Junos Pulse Secure Access Service in a SAML single sign-on deployment. It includes the following sections:

Open-source Single Sign-On with CAS (Central Authentication Service)

Authentication Applications

External Authentication with WebCT. What We ll Discuss

OIOSAML Rich Client to Browser Scenario Version 1.0

How-to: Single Sign-On

Single Sign-On Implementation Guide

TABLE OF CONTENTS I. INTRODUCTION... 1

Computer Systems Security 2013/2014. Single Sign-On. Bruno Maia Pedro Borges

TIBCO Spotfire Platform IT Brief

Copyright: WhosOnLocation Limited

Introduction to Computer Security

New Single Sign-on Options for IBM Lotus Notes & Domino IBM Corporation

GENERAL OVERVIEW OF VARIOUS SSO SYSTEMS: ACTIVE DIRECTORY, GOOGLE & FACEBOOK

INUVIKA OPEN VIRTUAL DESKTOP ENTERPRISE

Integrating IBM Cognos 8 BI with 3rd Party Auhtentication Proxies

Qualtrics Single Sign-On Specification

How To Use Kerberos

Kerberos and Single Sign-On with HTTP

Integrating VMware Horizon Workspace and VMware Horizon View TECHNICAL WHITE PAPER

OpenHRE Security Architecture. (DRAFT v0.5)

SAML Security Option White Paper

PingFederate. IWA Integration Kit. User Guide. Version 2.6

PingFederate. IWA Integration Kit. User Guide. Version 3.0

Evaluation of different Open Source Identity management Systems

Building Secure Applications. James Tedrick

Proxied Authentication in SSO Setups with Common OSS. Open Identity Summit 2015 Prof. Dr. René Peinl Berlin,

SAP NetWeaver Single Sign-On. Product Management SAP NetWeaver Identity Management & Security June 2011

Using Kerberos for Web Authentication. Wesley Craig University of Michigan

Authentication Methods

SAML 2.0 SSO Deployment with Okta

Allidm.com. SSO Introduction. Discovering IAM Solutions. Leading the IAM facebook/allidm

Authentication Types. Password-based Authentication. Off-Line Password Guessing

A detailed walk through a CAS authentication

Ensure that your environment meets the requirements. Provision the OpenAM server in Active Directory, then generate keytab files.

HOBCOM and HOBLink J-Term

Single Sign-on Frequently Asked Questions

API-Security Gateway Dirk Krafzig

Configuring Single Sign-on for WebVPN

2.4: Authentication Authentication types Authentication schemes: RSA, Lamport s Hash Mutual Authentication Session Keys Trusted Intermediaries

From centralized to single sign on

How To Use Saml 2.0 Single Sign On With Qualysguard

Single Sign-On for the UQ Web

Authentication: Password Madness

Multi Factor Authentication API

Authentication Applications

IBM SPSS Collaboration and Deployment Services Version 6 Release 0. Single Sign-On Services Developer's Guide

INTEGRATION GUIDE. IDENTIKEY Federation Server for Juniper SSL-VPN

INTEGRATION GUIDE. DIGIPASS Authentication for Google Apps using IDENTIKEY Federation Server

Authentication Application

Chapter 16: Authentication in Distributed System

SAP Certified Technology Professional - Security with SAP NetWeaver 7.0. Title : Version : Demo. The safer, easier way to help you pass any IT exams.

Use Enterprise SSO as the Credential Server for Protected Sites

Kerberos and Active Directory symmetric cryptography in practice COSC412

PROVIDING SINGLE SIGN-ON TO AMAZON EC2 APPLICATIONS FROM AN ON-PREMISES WINDOWS DOMAIN

NIST PKI 06: Integrating PKI and Kerberos (updated April 2007) Jeffrey Altman

Single Sign On. Configuration Checklist for Single Sign On CHAPTER

WebLogic Server 7.0 Single Sign-On: An Overview

Agenda. How to configure

Transcription:

Architecture of Enterprise Applications III Single Sign-On Haopeng Chen REliable, INtelligent and Scalable Systems Group (REINS) Shanghai Jiao Tong University Shanghai, China e-mail: chen-hp@sjtu.edu.cn

Agenda Single Sign-On Overview Kerberos protocol SAML CAS 2

Single Sign-On - wikipedia Single sign-on (SSO) is a property of access control of multiple related, but independent software systems. With this property a user logs in once and gains access to all systems without being prompted to log in again at each of them. Conversely, Single sign-off is the property whereby a single action of signing out terminates access to multiple software systems. As different applications and resources support different authentication mechanisms, single sign-on has to internally translate to and store different credentials compared to what is used for initial authentication. 3

Single Sign-On - wikipedia Benefits include: Reduces phishing success, because users are not trained to enter password everywhere without thinking. Reducing password fatigue from different user name and password combinations Reducing time spent re-entering passwords for the same identity Reducing IT costs due to lower number of IT help desk calls about passwords Security on all levels of entry/exit/access to systems without the inconvenience of re-prompting users Centralized reporting for compliance adherence. 4

Common Single Sign-on Kerberos based MIT Kerberos protocol Smart card based Initial sign-on prompts the user for the smart card. Additional software applications also use the smart card, without prompting the user to re-enter credentials. Smart card-based single sign-on can either use certificates or passwords stored on the smart card. OTP token Also referred to as one-time password token. Security Assertion Markup Language Security Assertion Markup Language (SAML) is an XML-based solution for exchanging user security information between an enterprise and a service provider. 5

Kerberos Kerberos is a computer network authentication protocol which works on the basis of "tickets" to allow nodes communicating over a non-secure network to prove their identity to one another in a secure manner. MIT developed Kerberos to protect network services provided by Project Athena. The protocol was named after the character Kerberos (or Cerberus) from Greek mythology which was a monstrous three-headed guard dog of Hades. Recent release: 08 Aug 2012 - krb5-1.10.3 6

Kerberos User Client-based Logon A user enters a username and password on the client machines. The client performs a one-way function (hash usually) on the entered password, and this becomes the secret key of the client/user. Client Authentication The client sends a clear text message of the user ID to the AS requesting services on behalf of the user. (Note: Neither the secret key nor the password is sent to the AS.) The AS generates the secret key by hashing the password of the user found at the database (e.g. Active Directory in Windows Server). 7

Kerberos The AS checks to see if the client is in its database. If it is, the AS sends back the following two messages to the client: Message A: Client/TGS Session Key encrypted using the secret key of the client/user. Message B: Ticket-Granting-Ticket (which includes the client ID, client network address, ticket validity period, and the client/tgs session key) encrypted using the secret key of the TGS. 8

Kerberos Once the client receives messages A and B, it attempts to decrypt message A with the secret key generated from the password entered by the user. If the user entered password does not match the password in the AS database, the client's secret key will be different and thus unable to decrypt message A. With a valid password and secret key the client decrypts message A to obtain the Client/TGS Session Key. This session key is used for further communications with the TGS. (Note: The client cannot decrypt Message B, as it is encrypted using TGS's secret key.) At this point, the client has enough information to authenticate itself to the TGS. 9

Kerberos Client Service Authorization When requesting services, the client sends the following two messages to the TGS: Message C: Composed of the TGT from message B and the ID of the requested service. Message D: Authenticator (which is composed of the client ID and the timestamp), encrypted using the Client/TGS Session Key. 10

Kerberos Upon receiving messages C and D, the TGS retrieves message B out of message C. It decrypts message B using the TGS secret key. This gives it the "client/tgs session key". Using this key, the TGS decrypts message D (Authenticator) and sends the following two messages to the client: Message E: Client-to-server ticket (which includes the client ID, client network address, validity period and Client/Server Session Key) encrypted using the service's secret key. Message F: Client/Server Session Key encrypted with the Client/TGS Session Key. 11

Kerberos Client Service Request Upon receiving messages E and F from TGS, the client has enough information to authenticate itself to the SS. The client connects to the SS and sends the following two messages: Message E from the previous step (the client-to-server ticket, encrypted using service's secret key). Message G: a new Authenticator, which includes the client ID, timestamp and is encrypted using Client/Server Session Key. 12

Kerberos The SS decrypts the ticket using its own secret key to retrieve the Client/Server Session Key. Using the sessions key, SS decrypts the Authenticator and sends the following message to the client to confirm its true identity and willingness to serve the client: Message H: the timestamp found in client's Authenticator plus 1, encrypted using the Client/Server Session Key. The client decrypts the confirmation using the Client/Server Session Key and checks whether the timestamp is correctly updated. If so, then the client can trust the server and can start issuing service requests to the server. The server provides the requested services to the client. 13

Kerberos 14

Kerberos Drawbacks and Limitations Single point of failure. Kerberos has strict time requirements, which means the clocks of the involved hosts must be synchronized within configured limits. The administration protocol is not standardized and differs between server implementations. Since all authentication is controlled by a centralized KDC, compromise of this authentication infrastructure will allow an attacker to impersonate any user. Each network service which requires a different host name will need its own set of Kerberos keys. This complicates virtual hosting and clusters. 15

Kerberos Kerberos based Single Sign-On Initial sign-on prompts the user for credentials, and gets a Kerberos ticket-granting ticket (TGT). Additional software applications requiring authentication, such as email clients, wikis, revision control systems, etc., use the ticket-granting ticket to acquire service tickets, proving the user's identity to the mail server / wiki server / etc. without prompting the user to re-enter credentials. Windows environment - Windows login fetches TGT. Active Directoryaware applications fetch service tickets, so user is not prompted to reauthenticate. Unix/Linux environment - Login via Kerberos PAM modules fetches TGT. Kerberized client applications such as Evolution, Firefox, and SVN use service tickets, so user is not prompted to re-authenticate. 16

SAML Security Assertion Markup Language is an XML-based open standard data format for exchanging authentication and authorization data between parties, in particular, between an identity provider and a service provider. SAML is a product of the OASIS Security Services Technical Committee. SAML dates from 2001. 17

SAML The primary SAML use case is called Web Browser Single Sign- On (SSO). 18

CAS Central Authentication Service provides enterprise single signon service: An open and well-documented protocol An open-source Java server component A library of clients for Java,.Net, PHP, Perl, Apache, uportal, and others Integrates with uportal, BlueSocket, TikiWiki, Mule, Liferay, Moodle and others Community documentation and implementation support An extensive community of adopters Latest version: 3.5.0 final 19

CAS 20

List of URIs to access CAS. /login Parameters: service, renew, gateway, warn /logout Parameters: url /validate Parameters: service, ticket, renew /servicevalidate Parameters: service, ticket, pgturl, renew /proxy Parameters: pgt, targetservice /proxyvalidate Parameters: service, ticket, pgturl, renew

Tickets generated by CAS Ticket-granting Ticket Service Ticket Proxy Ticket Proxy-granting Ticket Proxy-granting Ticket IOU Login Ticket

Ticket-granting Ticket Ticket granting ticket will be generated when the /login url is passed to CAS server and the credentials provided are successfully authenticated. A TGT is the main access into the CAS service layer. TGT is an opaque string that contains secure random data and must begin with TGT-. TGT will be added to an HTTP cookie upon the establishment of single sign-on and will be checked further when different applications are accessed

Service Ticket The service ticket (ST) will be generated when the CAS url contains service parameter and the credentials passed are successfully authenticated. Service ticket is an opaque string that is used by client as a credential to obtain access to a service. Service ticket must begin with ST-

Proxy Ticket In CAS, proxy is a service that wants to access other services on behalf of a particular user. Proxy tickets (PT) are generated from CAS upon a services presentation of a valid Proxy granting Ticket (PGT), and a service identifier for the back-end service to which it is connecting. PT are only valid for the service identifier specified to /proxy url when they were generated. Proxy tickets should begin with the characters, PT-.

Proxy-granting Ticket Proxy-granting tickets are obtained from CAS upon validation of a service ticket or a proxy ticket. If a service wishes to proxy a client's authentication to a back-end service, it must acquire a proxy-granting ticket. Acquisition of this ticket is handled through a proxy callback URL. This URL will uniquely and securely identify the back-end service that is proxying the client's authentication. The back-end service can then decide whether or not to accept the credentials based on the back-end service's identifying callback URL.

Proxy-granting Ticket IOU A proxy-granting ticket IOU is an opaque string that is placed in the response provided by /servicevalidate or /proxyvalidate used to correlate a service ticket or proxy ticket validation with a particular proxy-granting ticket. Proxy-granting ticket IOUs SHOULD begin with the characters, "PGTIOU-".

Login Ticket A login ticket is a string that is generated by /login as a credential requestor and passed to /login as a credential acceptor for username/password authentication. Its purpose is to prevent the replaying of credentials due to bugs in web browsers. Login tickets SHOULD begin with the characters, "LT-".

CAS Architecture

References Single Sign On, http://en.wikipedia.org/wiki/single_sign-on Kerberos: The Network Authentication Protocol, http://web.mit.edu/kerberos/ Kerberos(protocol), http://en.wikipedia.org/wiki/kerberos_(protocol) SAML, http://en.wikipedia.org/wiki/security_assertion_markup_lan guage CAS, http://www.jasig.org/cas Jasig CAS Documentation, http://www.unicon.net/files/casserver-3-4-11-snapshot-manual.pdf CAS ppt, http://www.jusfortechies.com/java/cas/ppt.php 30

Thank You!