Presentation is loading. Please wait.

Presentation is loading. Please wait.

Infocard support in simpleSAMLphp Enrique de la Hoz, Diego R. L ó pez, Antonio Garc í a, Samuel Mu ñ oz.

Similar presentations


Presentation on theme: "Infocard support in simpleSAMLphp Enrique de la Hoz, Diego R. L ó pez, Antonio Garc í a, Samuel Mu ñ oz."— Presentation transcript:

1 Infocard support in simpleSAMLphp Enrique de la Hoz, Diego R. L ó pez, Antonio Garc í a, Samuel Mu ñ oz

2 Index  Information Card Model  Status of the project  RP Support  IP/STS Support  Future lines

3 Infocard  Artifact with a unique identifier from an identity provider that users can employ to visualize their digital relationship with the identity provider in user interfaces and request security tokens with claims from the identity provider.  An Information Card is a XML document that can be used as an artifact to get security tokens containing the value of the requested claims  Token agnostic:  OpenID  SAML1.1  Claims-based application  Build upon WS-* protocols

4 Infocard support  Client side:  Microsoft CardSpace  Bandit project:  Digitalme: http://code.bandit-project.org/trac/wiki/DigitalMe  Azigo: http://www.simplysecure.biz/InfoCards.html  Safari, Firefox Identity selectors  Server side (RP / IP):  Geneva Project,.NET  Higgins Project: http://www.eclipse.org/higgins/  Shibboleth: https://spaces.internet2.edu/display/SHIB/Information+Cards  Sun OpenSSO: https://cardspaceauthn.dev.java.net/  SimpleSAMLphp (coming soon)

5 High Level Protocol Description Identity Provider (IP) Relying Party (RP) Client Client would like to access a resource RP provides identity requirements: format, claims & issuer of security token 1 2 User 3 Client shows which of known IPs can satisfy requirements User selects an IP 4 5 Request to IP Security Token Service for security token providing user credentials 6 IP generates security token based on RP’s requirements with display token and proof of possession for user 7 User views display token and approves the release of token 8 Token is released to RP with proof of possession RP reads claims and allows access

6

7 Information Card Support in simpleSAMLphp  RP support as starting point:  It can be seen as a new authentication module for ssp  Using Information Cards instead of user/password or whatever  Support of Self-Issued and Managed Cards  Make use of a modified version of Zend Infocard Library

8 Information Cards Support in simpleSAMLphp  Easy deployment:  Get the module, drop in the modules folder and enable it  #mv default-disable default-enable  Easy configuration:  Move config-template folder contents to ssp config folder  Config-login-infocard.php –Quite self-explanatory  Config authsources.php: $config=array( [..] 'InfoCard' => array( 'InfoCard:ICAuth', ), );

9 Config-login-infocard.php $config = array ( 'server_key' => '/etc/apache2/ssl/idp.key', 'server_crt' => '/etc/apache2/ssl/idp.crt', 'IClogo' => 'resources/infocard_114x80.png', 'InfoCard' => array( 'schema' => 'http://schemas.xmlsoap.org/ws/2005/05/identity', 'issuer' => 'https://sts/tokenservice.php', 'issuerPolicy' => '', 'privacyURL' => '', 'tokenType' => 'urn:oasis:names:tc:SAML:1.0:assertion', 'requiredClaims' => array( 'privatepersonalidentifier' => array('displayTag'=>"Id", 'description'=>"id"), 'givenname' =>array('displayTag'=>"Given Name", 'description'=>"etc"), 'surname' =>array('displayTag'=>"Surname", 'description'=>"apellidos"), 'emailaddress' =>array('displayTag'=>"e-mail", 'description'=>"E-mail address") ), 'optionalClaims' => array( 'country' => array('displayTag'=>"country", 'description'=>”Country"), 'webpage' => array('displayTag'=>"webpage", 'description'=>”Web page") ), );

10 Authsources.php 'InfoCard' => array( 'InfoCard:ICAuth', ),

11 Configuration explained  Control what will be required in the Information Card:  Required claims  Optional claims (that may be used)  Image that will be shown in the web page  Token type

12 Login Page <ic:informationCard xmlns:ic="http://schemas.xmlsoap.org/ws/2005/05/identity" name='xmlToken' issuer=https://sts/tokenservice.phphttps://sts/tokenservice.php issuerPolicy="" tokenType="urn:oasis:names:tc:SAML:1.0:assertion" privacyUrl="” privacyVersion="">

13 RP Open Issues  Issuer validation  The Identity selector should check this  Anyway, an allowed issuer certificate list may be necessary  New token types:  At the moment, only SAML tokens are allowed (most common use case)  It could be easily extended to validate other type of tokens

14 RP Demo  Once the token is validated, claims are imported into the session.  We need some feedback

15 IP/STS Support  SimpleSAMLphp could issue Information Cards and tokens  Based on carillon project:  http://www.carillon.ca/tools/demo-sts.php  Beta state:  Tested with :  Identity selectors: CardSpace, Digitalme, Azigo  Browers: Safari, IE7, Firefox  OS: Linux, Windows XP, Mac OS X  Supported Authentication methods:  Currently only User/Password.  Supported token types:  SAML tokens

16 IP/STS Support  It will be part of the InfoCard module:  New directives in Infocard config file  New endpoints defined in module www/ folder  New libs added  Files:  www/getinfocard.php: generates information card from configuration and data  www/tokenservice.php: generates tokens.

17 IP/STS  Open Issues (not technical):  How do users get Information Cards?  Where do we get profiles from?  Where do we get claims from?  Authentication backend definition?  Wishlist?  We do need feedback

18 Current status  RP part already in svn trunk.  IP/STS ready for experimental use.

19 Infocard Usage  Authentication  Secure OpenID: OpenID Information Cards (https://openidcards.sxip.com/spec/openid-infocards.html)  Self-issued cards as a replacement for user/password authentication  Plugin for wordpress: http://pamelaproject.com/pwwp/http://pamelaproject.com/pwwp/  Windows Live ID:http://dev.live.com/liveid/http://dev.live.com/liveid/  Control of Information disclosure  Easier management of digital identity

20 Thank you  Questions/comments?

21 Further Info  Contact me at: enrique.delahoz@uah.es


Download ppt "Infocard support in simpleSAMLphp Enrique de la Hoz, Diego R. L ó pez, Antonio Garc í a, Samuel Mu ñ oz."

Similar presentations


Ads by Google