cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject svn commit: r1514201 - /cxf/trunk/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/tokens/refresh/RefreshToken.java
Date Thu, 15 Aug 2013 08:46:32 GMT
Author: sergeyb
Date: Thu Aug 15 08:46:31 2013
New Revision: 1514201

URL: http://svn.apache.org/r1514201
Log:
[CXF-5180] Replacing Set with List to avoid some possible marshalling issues, etc

Modified:
    cxf/trunk/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/tokens/refresh/RefreshToken.java

Modified: cxf/trunk/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/tokens/refresh/RefreshToken.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/tokens/refresh/RefreshToken.java?rev=1514201&r1=1514200&r2=1514201&view=diff
==============================================================================
--- cxf/trunk/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/tokens/refresh/RefreshToken.java
(original)
+++ cxf/trunk/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/tokens/refresh/RefreshToken.java
Thu Aug 15 08:46:31 2013
@@ -18,8 +18,8 @@
  */
 package org.apache.cxf.rs.security.oauth2.tokens.refresh;
 
-import java.util.HashSet;
-import java.util.Set;
+import java.util.LinkedList;
+import java.util.List;
 
 import org.apache.cxf.rs.security.oauth2.common.Client;
 import org.apache.cxf.rs.security.oauth2.common.ServerAccessToken;
@@ -31,7 +31,7 @@ import org.apache.cxf.rs.security.oauth2
  */
 public class RefreshToken extends ServerAccessToken {
     
-    private Set<String> accessTokens = new HashSet<String>();
+    private List<String> accessTokens = new LinkedList<String>();
     
     public RefreshToken(Client client, 
                         long lifetime) {
@@ -53,11 +53,11 @@ public class RefreshToken extends Server
               issuedAt);
     }
 
-    public Set<String> getAccessTokens() {
+    public List<String> getAccessTokens() {
         return accessTokens;
     }
 
-    public void setAccessTokens(Set<String> accessTokens) {
+    public void setAccessTokens(List<String> accessTokens) {
         this.accessTokens = accessTokens;
     }
     



Mime
View raw message