ws-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject svn commit: r1208356 - /webservices/wss4j/trunk/src/main/java/org/apache/ws/security/spnego/SpnegoToken.java
Date Wed, 30 Nov 2011 10:04:25 GMT
Author: coheigea
Date: Wed Nov 30 10:04:25 2011
New Revision: 1208356

URL: http://svn.apache.org/viewvc?rev=1208356&view=rev
Log:
Fixing compilation failure on JDK 1.5

Modified:
    webservices/wss4j/trunk/src/main/java/org/apache/ws/security/spnego/SpnegoToken.java

Modified: webservices/wss4j/trunk/src/main/java/org/apache/ws/security/spnego/SpnegoToken.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/trunk/src/main/java/org/apache/ws/security/spnego/SpnegoToken.java?rev=1208356&r1=1208355&r2=1208356&view=diff
==============================================================================
--- webservices/wss4j/trunk/src/main/java/org/apache/ws/security/spnego/SpnegoToken.java (original)
+++ webservices/wss4j/trunk/src/main/java/org/apache/ws/security/spnego/SpnegoToken.java Wed
Nov 30 10:04:25 2011
@@ -159,7 +159,7 @@ public class SpnegoToken {
 
         // Validate the ticket
         SpnegoServiceAction action = new SpnegoServiceAction(ticket, service);
-        token = Subject.doAs(subject, action);
+        token = (byte[])Subject.doAs(subject, action);
         
         secContext = action.getContext();
         if (LOG.isDebugEnabled()) {



Mime
View raw message