cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject svn commit: r1398226 - in /cxf/trunk: api/src/main/java/org/apache/cxf/security/claims/authorization/Claim.java rt/rs/security/xml/src/main/java/org/apache/cxf/rs/security/saml/assertion/Claim.java
Date Mon, 15 Oct 2012 09:13:19 GMT
Author: coheigea
Date: Mon Oct 15 09:13:18 2012
New Revision: 1398226

URL: http://svn.apache.org/viewvc?rev=1398226&view=rev
Log:
[CXF-4560] - Default JAX-RS SAML Claim namespace is incorrect

Modified:
    cxf/trunk/api/src/main/java/org/apache/cxf/security/claims/authorization/Claim.java
    cxf/trunk/rt/rs/security/xml/src/main/java/org/apache/cxf/rs/security/saml/assertion/Claim.java

Modified: cxf/trunk/api/src/main/java/org/apache/cxf/security/claims/authorization/Claim.java
URL: http://svn.apache.org/viewvc/cxf/trunk/api/src/main/java/org/apache/cxf/security/claims/authorization/Claim.java?rev=1398226&r1=1398225&r2=1398226&view=diff
==============================================================================
--- cxf/trunk/api/src/main/java/org/apache/cxf/security/claims/authorization/Claim.java (original)
+++ cxf/trunk/api/src/main/java/org/apache/cxf/security/claims/authorization/Claim.java Mon
Oct 15 09:13:18 2012
@@ -27,7 +27,7 @@ import java.lang.annotation.Target;
 @Retention(RetentionPolicy.RUNTIME)
 public @interface Claim {
     
-    String format() default "http://schemas.xmlsoap.org/ws/2005/05/identity/claims";
+    String format() default "urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified";
     String name() default "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/role";
     String[] value();
     

Modified: cxf/trunk/rt/rs/security/xml/src/main/java/org/apache/cxf/rs/security/saml/assertion/Claim.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/rs/security/xml/src/main/java/org/apache/cxf/rs/security/saml/assertion/Claim.java?rev=1398226&r1=1398225&r2=1398226&view=diff
==============================================================================
--- cxf/trunk/rt/rs/security/xml/src/main/java/org/apache/cxf/rs/security/saml/assertion/Claim.java
(original)
+++ cxf/trunk/rt/rs/security/xml/src/main/java/org/apache/cxf/rs/security/saml/assertion/Claim.java
Mon Oct 15 09:13:18 2012
@@ -26,7 +26,7 @@ public class Claim {
     public static final String DEFAULT_ROLE_NAME = 
         "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/role"; 
     public static final String DEFAULT_NAME_FORMAT = 
-        "http://schemas.xmlsoap.org/ws/2005/05/identity/claims";
+        "urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified";
     
     private String nameFormat;
     private String name;



Mime
View raw message