cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject svn commit: r1213027 - /cxf/trunk/rt/rs/security/oauth-parent/oauth/src/main/java/org/apache/cxf/rs/security/oauth/filters/OAuthRequestFilter.java
Date Sun, 11 Dec 2011 17:29:53 GMT
Author: sergeyb
Date: Sun Dec 11 17:29:52 2011
New Revision: 1213027

URL: http://svn.apache.org/viewvc?rev=1213027&view=rev
Log:
[CXF-3967] Setting OAuthContext as class content on Message

Modified:
    cxf/trunk/rt/rs/security/oauth-parent/oauth/src/main/java/org/apache/cxf/rs/security/oauth/filters/OAuthRequestFilter.java

Modified: cxf/trunk/rt/rs/security/oauth-parent/oauth/src/main/java/org/apache/cxf/rs/security/oauth/filters/OAuthRequestFilter.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/rs/security/oauth-parent/oauth/src/main/java/org/apache/cxf/rs/security/oauth/filters/OAuthRequestFilter.java?rev=1213027&r1=1213026&r2=1213027&view=diff
==============================================================================
--- cxf/trunk/rt/rs/security/oauth-parent/oauth/src/main/java/org/apache/cxf/rs/security/oauth/filters/OAuthRequestFilter.java
(original)
+++ cxf/trunk/rt/rs/security/oauth-parent/oauth/src/main/java/org/apache/cxf/rs/security/oauth/filters/OAuthRequestFilter.java
Sun Dec 11 17:29:52 2011
@@ -59,7 +59,7 @@ public class OAuthRequestFilter extends 
         
         SecurityContext sc = createSecurityContext(mc.getHttpServletRequest(), info);
         m.setContent(SecurityContext.class, sc);
-        m.put(OAuthContext.class.getName(), createOAuthContext(info));
+        m.setContent(OAuthContext.class, createOAuthContext(info));
         
     }
 }



Mime
View raw message