cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1229391 - /cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/auth/SpnegoAuthSupplier.java
Date Mon, 09 Jan 2012 22:12:36 GMT
Author: dkulp
Date: Mon Jan  9 22:12:36 2012
New Revision: 1229391

URL: http://svn.apache.org/viewvc?rev=1229391&view=rev
Log:
Fix compile failure on java5

Modified:
    cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/auth/SpnegoAuthSupplier.java

Modified: cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/auth/SpnegoAuthSupplier.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/auth/SpnegoAuthSupplier.java?rev=1229391&r1=1229390&r2=1229391&view=diff
==============================================================================
--- cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/auth/SpnegoAuthSupplier.java
(original)
+++ cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/auth/SpnegoAuthSupplier.java
Mon Jan  9 22:12:36 2012
@@ -107,7 +107,7 @@ public class SpnegoAuthSupplier implemen
         }
 
         try {
-            return Subject.doAs(lc.getSubject(), new CreateServiceTicketAction(context, token));
+            return (byte[])Subject.doAs(lc.getSubject(), new CreateServiceTicketAction(context,
token));
         } catch (PrivilegedActionException e) {
             if (e.getCause() instanceof GSSException) {
                 throw (GSSException) e.getCause();



Mime
View raw message