cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1365734 - /cxf/trunk/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/common/AccessTokenValidation.java
Date Wed, 25 Jul 2012 20:48:55 GMT
Author: dkulp
Date: Wed Jul 25 20:48:54 2012
New Revision: 1365734

URL: http://svn.apache.org/viewvc?rev=1365734&view=rev
Log:
Fix deprecation warning

Modified:
    cxf/trunk/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/common/AccessTokenValidation.java

Modified: cxf/trunk/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/common/AccessTokenValidation.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/common/AccessTokenValidation.java?rev=1365734&r1=1365733&r2=1365734&view=diff
==============================================================================
--- cxf/trunk/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/common/AccessTokenValidation.java
(original)
+++ cxf/trunk/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/common/AccessTokenValidation.java
Wed Jul 25 20:48:54 2012
@@ -57,7 +57,7 @@ public class AccessTokenValidation {
         this.tokenType = token.getTokenType();
         this.tokenGrantType = token.getGrantType();
         this.tokenIssuedAt = token.getIssuedAt();
-        this.tokenLifetime = token.getLifetime();
+        this.tokenLifetime = token.getExpiresIn();
         
         this.tokenSubject = token.getSubject();
         this.tokenScopes = token.getScopes();        



Mime
View raw message