User Authentication and Single Signon Across the SAS






























































- Slides: 62
User Authentication and Single Sign-on Across the SAS® 9 Platform Larry Noe and Scott Sweetland, Mid-tier and Platform Integration R&D Copyright © 2005, SAS Institute Inc. All rights reserved.
Scene from a Spy Thriller Movie… Copyright © 2005, SAS Institute Inc. All rights reserved.
Scene from a Spy Thriller Movie… § § User authentication Request for a resource Location and credentials for resource User accesses resource Copyright © 2005, SAS Institute Inc. All rights reserved.
User Authentication and Single Sign-on Copyright © 2005, SAS Institute Inc. All rights reserved.
Multi-domain Customer Environments Database Servers Web Servers Application Servers Copyright © 2005, SAS Institute Inc. All rights reserved.
SAS 9 Design Goals Integrate the Platform through Metadata § § Infrastructure Information resources Business intelligence Security framework Copyright © 2005, SAS Institute Inc. All rights reserved.
SAS 9 Security Framework Metadata Server provides § Central location for user authentication § Identity Management § Credential Management Copyright © 2005, SAS Institute Inc. All rights reserved.
Single Sign-On Access Database Servers Web Servers Compute Servers Copyright © 2005, SAS Institute Inc. All rights reserved.
Handout: Resources of Interest § § Schedule of related SAS Presents Demo area for Security: Area 17 SAS web resources Question and Answer format – tight for time so please bring your questions to us at the Security demo area Copyright © 2005, SAS Institute Inc. All rights reserved.
From Concepts to Implementation § How applications use the Metadata server for User Authentication. § Credential management to support single sign-on. § Case Studies Copyright © 2005, SAS Institute Inc. All rights reserved.
What is a Metadata Server? § Secure access to your Enterprise business and technical information § What is modeled in Metadata? • • • Configuration Physical Locations Business Intelligence Delivery User identities Copyright © 2005, SAS Institute Inc. All rights reserved.
Metadata Server Authenticates Connecting Clients § Verifying user ‘is who they claim to be’ § Typical authentication providers: • Host Operating System • Directory Servers • User ID and password databases § SAS 9 Metadata server supports: • Host OS Authentication • LDAP • Microsoft Active Directory Copyright © 2005, SAS Institute Inc. All rights reserved.
Authenticating SAS 9 Application Users Metadata Server User Application User Logs On: User ID & Password Copyright © 2005, SAS Institute Inc. All rights reserved.
Authenticating SAS 9 Application Users Metadata Server User Application connects to Metadata Server using credentials Copyright © 2005, SAS Institute Inc. All rights reserved.
Authenticating SAS 9 Application Users Metadata Server User Application Metadata Server authenticates User with Host OS Copyright © 2005, SAS Institute Inc. All rights reserved. Host Authenticat ion
Authenticating SAS 9 Application Users Metadata Server User Application Successful connection authenticates application user Copyright © 2005, SAS Institute Inc. All rights reserved.
Identity Management in Metadata § User and Group metadata objects § SAS Management Console User Manager § Benefits of Identities in Metadata: Role-based Security Personalization Shared user context between cooperating applications Copyright © 2005, SAS Institute Inc. All rights reserved.
Managing Identity Metadata with the SAS Management Console User Manager Copyright © 2005, SAS Institute Inc. All rights reserved.
Establishing Identity at the Metadata Server § Login object represents authentication credential User ID Password Authentication Domain § Associated with user identities User: Fred Smith Frsmith | secret | windomain Frsmith | secret | unixhost 1 § User ID must be unique for each user identity Copyright © 2005, SAS Institute Inc. All rights reserved.
Logins and Authentication Domains Windows domain: windomain Fred Smith Copyright © 2005, SAS Institute Inc. All rights reserved. SAS MC User Manager
Using Login Objects to Establish Identity Application Fred Smith windomainFrsmith + PW Host authenticates User ID Copyright © 2005, SAS Institute Inc. All rights reserved. Host Authenticat ion Metadata Server
Using Login objects to establish identity Application Metadata Server Fred Smith windomainFrsmith Logins are searched for a match to authenticated User ID Copyright © 2005, SAS Institute Inc. All rights reserved. Users & Groups
Metadata identity established Metadata Server windomainFrsmith User ID matches Login Copyright © 2005, SAS Institute Inc. All rights reserved.
Using Login objects to establish identity Metadata Server Fred Smith Application Authenticated identity returned to application Copyright © 2005, SAS Institute Inc. All rights reserved.
Credential Management for Single Sign-On SAS Workspace Servers Database Servers Copyright © 2005, SAS Institute Inc. All rights reserved.
Login Objects Provide Single Sign-On Credentials User ID § § Password Authentication Domain Application users request resources from servers Acquire credentials without prompting User logins can provide credentials Applications match credentials to server by Authentication Domain of the server. Copyright © 2005, SAS Institute Inc. All rights reserved.
Providing a User with Logins User Login Objects in Metadata User ID password Unixusr Winuser Zos. User Secret Authentication Domain Unix windomain z. OS UNIX z. OS Copyright © 2005, SAS Institute Inc. All rights reserved. Windows Domain
Single Sign-on and Credentials in Metadata User Identity Application User selects a SAS Table to view. Copyright © 2005, SAS Institute Inc. All rights reserved. SAS Table
Single Sign On and Credentials in Metadata Server User Identity Application queries metadata: SAS library, Workspace server, and Authentication Domain for Server. Copyright © 2005, SAS Institute Inc. All rights reserved. Table Workspace Server Auth Domain: windomain
Single Sign On and Credentials in Metadata Application Metadata Server ? User Identity Application checks User’s logins for match with server’s Auth Domain: windomain Copyright © 2005, SAS Institute Inc. All rights reserved. User’s Logins Unixusr Secret Winuser Secret Zos. User Secret Unix windomain z. OS
Single Sign On and Credentials in Metadata Server Login User Application login matching Auth Domain: windomain is found. Winuser Secret Copyright © 2005, SAS Institute Inc. All rights reserved. Table Workspace Server windomain Auth Domain: windomain
Single Sign On and Credentials in Metadata User Application This logon credential is used for server connection. Winuser Secret Copyright © 2005, SAS Institute Inc. All rights reserved. windomain Table Workspace Server Auth Domain: windomain
Single Sign On and Credentials in Metadata Table User Application User views Table Copyright © 2005, SAS Institute Inc. All rights reserved.
Minimizing Credentials in Metadata Login Objects in Metadata User ID password Unixusr Winuser Zos. User Secret Authentication Domain Unix Windomain z. OS UNIX z. OS Windows Copyright © 2005, SAS Institute Inc. All rights reserved.
Reducing the presence of credentials in Metadata. Strategies § Caching Log-on credentials at the application Works when cached credentials are valid for the servers User needs to use. § Group logins Application checks for single sign credential in this pattern: Does User have a login that matches the auth domain? User a member of a Group with matching login? Copyright © 2005, SAS Institute Inc. All rights reserved.
Case Study One: Information Map Studio § Testing an information map that is based on a SAS dataset accessed through a SAS 9 Workspace Server § Strategies to reduce credentials stored in metadata repository: • Caching of log on credentials by the application Copyright © 2005, SAS Institute Inc. All rights reserved.
Information Maps Map § User-friendly metadata definitions of physical data sources § Enable your business users to query a data with meaningful names § User presentation meets specific business needs § Created in Information Map Studio Copyright © 2005, SAS Institute Inc. All rights reserved.
User Groups and BI Workflow § ETL team builds data warehouse, mart, etc. § Information Architect determines business needs for accessing data and builds Information Maps with Information Map Studio § BI Analysts use Information Maps in Web Report Studio to build web-based reports § Business Users review reports for decision support Copyright © 2005, SAS Institute Inc. All rights reserved.
Server Topology and Authentication Domains Metadata Server Testing an Information Map Authentication Domain: Default. Auth Windows Network Domain Information Map Studio Map Copyright © 2005, SAS Institute Inc. All rights reserved. SAS 9 Workspace Server
Case Study One: Information Map Studio user Copyright © 2005, SAS Institute Inc. All rights reserved.
Credential Caching! Copyright © 2005, SAS Institute Inc. All rights reserved.
Case Study One: Information Map Studio Metadata server searches for sugi 30023sasdemo in all login objects Metadata Repository Credentials sent to the metadata server for authentication sugi 30023sasdemo + pw Metadata Server Metadata server host authenticates the connecting client Host Authentication Copyright © 2005, SAS Institute Inc. All rights reserved.
Your Identity Copyright © 2005, SAS Institute Inc. All rights reserved.
Copyright © 2005, SAS Institute Inc. All rights reserved.
Copyright © 2005, SAS Institute Inc. All rights reserved.
ibrary “stuff” contains the table “class” which is defined in the server context “SASM Copyright © 2005, SAS Institute Inc. All rights reserved.
SASMain workspace server is registered in the Default. Auth authentication domain. Copyright © 2005, SAS Institute Inc. All rights reserved.
Logins for sasdemo User One login is registered in the Default. Auth authentication domain, but it has no password… Copyright © 2005, SAS Institute Inc. All rights reserved.
Single Sign-on to Workspace Server Cached credentials sent to the Object Spawner for host authentication Object Spawner sugi 30023sasdemo + pw Workspace server launched as sugi 30023sasdemo Information Map Studio “Run Test” Workspace server runs generated code, performs query and returns results Workspace Server Table Copyright © 2005, SAS Institute Inc. All rights reserved.
Copyright © 2005, SAS Institute Inc. All rights reserved.
Case Study Two: Information Map Studio § Testing an information map that is based on a table in a DB 2 database server accessed through a SAS 9 Workspace Server § Strategies to reduce credentials stored in metadata repository: • Caching of login credentials by the application • Group login for DB 2 server Copyright © 2005, SAS Institute Inc. All rights reserved.
Server Topology and Authentication Domains Metadata Server Auth Domain: Default. Auth Windows Network Domain IBM DB 2® Database Information Map Studio Map Copyright © 2005, SAS Institute Inc. All rights reserved. Workspace Server z/OS Auth Domain: DB 2 Auth
Case Study Two: Information Map Studio Copyright © 2005, SAS Institute Inc. All rights reserved.
Copyright © 2005, SAS Institute Inc. All rights reserved.
Copyright © 2005, SAS Institute Inc. All rights reserved.
Logins for sasdemo User One login is registered and it is in the Default. Auth authentication domain Copyright © 2005, SAS Institute Inc. All rights reserved.
Logins for sasdemo User Personal login for DB 2 associated with the SAS Demo User Copyright © 2005, SAS Institute Inc. All rights reserved.
Copyright © 2005, SAS Institute Inc. All rights reserved.
Single Sign-on to Workspace Server Object Spawner sugi 30023sasdemo + pw DB 2 Server Information Map Studio “Run Test” Workspace server runs generated code, performs query and returns results Copyright © 2005, SAS Institute Inc. All rights reserved. Workspace Server SAS code connects to DB 2 using DB 2 credentials
Additional Case Studies § Information map built against an OLAP cube § Web Report Studio using information maps generated in previous case studies § Web Report Studio configured for web authentication § Web Report Studio using pooled workspace servers § Metadata Server configured with an alternate authentication provider Copyright © 2005, SAS Institute Inc. All rights reserved.
Concepts in our case studies § SAS 9 applications use the Metadata server for User authentication. § Credentials are managed in Metadata to support single sign-on. § Strategies to reduce credential storage in Metadata Credential Caching Group Logins Copyright © 2005, SAS Institute Inc. All rights reserved.
Copyright © 2005, SAS Institute Inc. All rights reserved. 69