Return-Path: X-Original-To: apmail-cxf-issues-archive@www.apache.org Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E8FCA9CF5 for ; Wed, 7 Mar 2012 09:15:19 +0000 (UTC) Received: (qmail 80537 invoked by uid 500); 7 Mar 2012 09:15:19 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 80511 invoked by uid 500); 7 Mar 2012 09:15:19 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 80501 invoked by uid 99); 7 Mar 2012 09:15:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Mar 2012 09:15:19 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Mar 2012 09:15:18 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 58262DAA4 for ; Wed, 7 Mar 2012 09:14:58 +0000 (UTC) Date: Wed, 7 Mar 2012 09:14:58 +0000 (UTC) From: "Oliver Wulff (Resolved) (JIRA)" To: issues@cxf.apache.org Message-ID: <31980965.32261.1331111698362.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <2060034587.17466.1319622812211.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Resolved] (CXF-3882) Support for Claims transformation in validate or issue RST MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CXF-3882?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oliver Wulff resolved CXF-3882. ------------------------------- Resolution: Fixed > Support for Claims transformation in validate or issue RST > ---------------------------------------------------------- > > Key: CXF-3882 > URL: https://issues.apache.org/jira/browse/CXF-3882 > Project: CXF > Issue Type: New Feature > Components: Services > Affects Versions: 2.5 > Reporter: Oliver Wulff > Assignee: Oliver Wulff > Fix For: 2.6 > > Attachments: git.diff.patch, git.diff.txt > > > Use case: > A partner company have set up an STS which is connected to their identity system. The issued SAML token contain claims in the attribute statement which do have a different encoding for the same meaning. Applications should not directly depend on the claims because they will be different for each partner. Therefore, the application trusts a so called Relying Party STS whereas the partner uses their Identity Provider STS. If identities of the partners are provisioned into your identiy system you're fine with the current IdentityMapper interface but this means claims must be provisioned too. This might work for different identity system within the same company but doesn't scale with partners. In this case, the RP STS transforms the claims of the IP STS to claims which are understood by the application. > If claims information are correlated to a security token like a SAML token it's encoded within an Attribute Statement. If it is a SecureConversation token, it's not part of the token itself but locally cached. The claims might be encoded within a custom token also. > The token can be part of the WS-Security header (issue request) or within the ValidateTarget (validate request). > The TokenValidator must validate the token and return the realm which is the source realm. > The claims of the source realm must be provided by the token validator or retrieved from the cache. > The target realm is provided as part of the RealmParser implementation. > The claims transformation interface looks like something: > List mapClaims (String sourceRealm, List sourceClaims, String targetRealm) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira