You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fx-dev@ws.apache.org by "Veniamin Goldin (JIRA)" <ji...@apache.org> on 2006/02/23 11:01:56 UTC
[jira] Created: (WSS-35) WSHandler verifyTimestamp method is not
compativle with JDK 1.3
WSHandler verifyTimestamp method is not compativle with JDK 1.3
---------------------------------------------------------------
Key: WSS-35
URL: http://issues.apache.org/jira/browse/WSS-35
Project: WSS4J
Type: Bug
Environment: Oracle 9iR2, Oracle JVM (Sun JDK 1.3.1 compatible)
Reporter: Veniamin Goldin
Assigned to: Davanum Srinivas
Priority: Blocker
Method verifyTimestamp in the class org.apache.ws.security.handler.WSHandler.verifyTimestamp trying to use java.util.Calendar getTimeInMillis and
java.util.Calendar setTimeInMillis methods which are protected in the JDK 1.3.1.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org
[jira] Updated: (WSS-35) WSHandler verifyTimestamp method is not
compativle with JDK 1.3
Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/WSS-35?page=all ]
Davanum Srinivas updated WSS-35:
--------------------------------
Priority: Critical (was: Blocker)
Could you please propose an alternative?
thanks,
dims
> WSHandler verifyTimestamp method is not compativle with JDK 1.3
> ---------------------------------------------------------------
>
> Key: WSS-35
> URL: http://issues.apache.org/jira/browse/WSS-35
> Project: WSS4J
> Issue Type: Bug
> Environment: Oracle 9iR2, Oracle JVM (Sun JDK 1.3.1 compatible)
> Reporter: Veniamin Goldin
> Assigned To: Davanum Srinivas
> Priority: Critical
>
> Method verifyTimestamp in the class org.apache.ws.security.handler.WSHandler.verifyTimestamp trying to use java.util.Calendar getTimeInMillis and
> java.util.Calendar setTimeInMillis methods which are protected in the JDK 1.3.1.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org
[jira] Resolved: (WSS-35) WSHandler verifyTimestamp method is not
compativle with JDK 1.3
Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/WSS-35?page=all ]
Davanum Srinivas resolved WSS-35.
---------------------------------
Resolution: Fixed
this is already fixed in latest svn.
thanks,
dims
> WSHandler verifyTimestamp method is not compativle with JDK 1.3
> ---------------------------------------------------------------
>
> Key: WSS-35
> URL: http://issues.apache.org/jira/browse/WSS-35
> Project: WSS4J
> Issue Type: Bug
> Environment: Oracle 9iR2, Oracle JVM (Sun JDK 1.3.1 compatible)
> Reporter: Veniamin Goldin
> Assigned To: Davanum Srinivas
> Priority: Critical
> Attachments: WSHandler.patch
>
>
> Method verifyTimestamp in the class org.apache.ws.security.handler.WSHandler.verifyTimestamp trying to use java.util.Calendar getTimeInMillis and
> java.util.Calendar setTimeInMillis methods which are protected in the JDK 1.3.1.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org
[jira] Commented: (WSS-35) WSHandler verifyTimestamp method is not
compativle with JDK 1.3
Posted by "Veniamin Goldin (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/WSS-35?page=comments#action_12454633 ]
Veniamin Goldin commented on WSS-35:
------------------------------------
What I did is replace of:
// Calculate the time that is allowed for the message to travel
Calendar validCreation = Calendar.getInstance();
long currentTime = validCreation.getTimeInMillis();
currentTime -= timeToLive * 1000;
validCreation.setTimeInMillis(currentTime);
with:
// Calculate the time that is allowed for the message to travel
Calendar validCreation = Calendar.getInstance();
long currentTime = validCreation.getTime().getTime();
currentTime -= timeToLive * 1000;
validCreation.setTime(new Date(currentTime));
Regards,
Veniamin
> WSHandler verifyTimestamp method is not compativle with JDK 1.3
> ---------------------------------------------------------------
>
> Key: WSS-35
> URL: http://issues.apache.org/jira/browse/WSS-35
> Project: WSS4J
> Issue Type: Bug
> Environment: Oracle 9iR2, Oracle JVM (Sun JDK 1.3.1 compatible)
> Reporter: Veniamin Goldin
> Assigned To: Davanum Srinivas
> Priority: Critical
>
> Method verifyTimestamp in the class org.apache.ws.security.handler.WSHandler.verifyTimestamp trying to use java.util.Calendar getTimeInMillis and
> java.util.Calendar setTimeInMillis methods which are protected in the JDK 1.3.1.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org
[jira] Updated: (WSS-35) WSHandler verifyTimestamp method is not
compativle with JDK 1.3
Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/WSS-35?page=all ]
Davanum Srinivas updated WSS-35:
--------------------------------
Priority: Critical (was: Blocker)
Could you please propose an alternative?
thanks,
dims
> WSHandler verifyTimestamp method is not compativle with JDK 1.3
> ---------------------------------------------------------------
>
> Key: WSS-35
> URL: http://issues.apache.org/jira/browse/WSS-35
> Project: WSS4J
> Issue Type: Bug
> Environment: Oracle 9iR2, Oracle JVM (Sun JDK 1.3.1 compatible)
> Reporter: Veniamin Goldin
> Assigned To: Davanum Srinivas
> Priority: Critical
>
> Method verifyTimestamp in the class org.apache.ws.security.handler.WSHandler.verifyTimestamp trying to use java.util.Calendar getTimeInMillis and
> java.util.Calendar setTimeInMillis methods which are protected in the JDK 1.3.1.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org
[jira] Updated: (WSS-35) WSHandler verifyTimestamp method is not
compativle with JDK 1.3
Posted by "Veniamin Goldin (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/WSS-35?page=all ]
Veniamin Goldin updated WSS-35:
-------------------------------
Attachment: WSHandler.patch
> WSHandler verifyTimestamp method is not compativle with JDK 1.3
> ---------------------------------------------------------------
>
> Key: WSS-35
> URL: http://issues.apache.org/jira/browse/WSS-35
> Project: WSS4J
> Issue Type: Bug
> Environment: Oracle 9iR2, Oracle JVM (Sun JDK 1.3.1 compatible)
> Reporter: Veniamin Goldin
> Assigned To: Davanum Srinivas
> Priority: Critical
> Attachments: WSHandler.patch
>
>
> Method verifyTimestamp in the class org.apache.ws.security.handler.WSHandler.verifyTimestamp trying to use java.util.Calendar getTimeInMillis and
> java.util.Calendar setTimeInMillis methods which are protected in the JDK 1.3.1.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org
[jira] Updated: (WSS-35) WSHandler verifyTimestamp method is not
compativle with JDK 1.3
Posted by "Veniamin Goldin (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/WSS-35?page=all ]
Veniamin Goldin updated WSS-35:
-------------------------------
Attachment: WSHandler.patch
> WSHandler verifyTimestamp method is not compativle with JDK 1.3
> ---------------------------------------------------------------
>
> Key: WSS-35
> URL: http://issues.apache.org/jira/browse/WSS-35
> Project: WSS4J
> Issue Type: Bug
> Environment: Oracle 9iR2, Oracle JVM (Sun JDK 1.3.1 compatible)
> Reporter: Veniamin Goldin
> Assigned To: Davanum Srinivas
> Priority: Critical
> Attachments: WSHandler.patch
>
>
> Method verifyTimestamp in the class org.apache.ws.security.handler.WSHandler.verifyTimestamp trying to use java.util.Calendar getTimeInMillis and
> java.util.Calendar setTimeInMillis methods which are protected in the JDK 1.3.1.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org
[jira] Commented: (WSS-35) WSHandler verifyTimestamp method is not
compativle with JDK 1.3
Posted by "Veniamin Goldin (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/WSS-35?page=comments#action_12454633 ]
Veniamin Goldin commented on WSS-35:
------------------------------------
What I did is replace of:
// Calculate the time that is allowed for the message to travel
Calendar validCreation = Calendar.getInstance();
long currentTime = validCreation.getTimeInMillis();
currentTime -= timeToLive * 1000;
validCreation.setTimeInMillis(currentTime);
with:
// Calculate the time that is allowed for the message to travel
Calendar validCreation = Calendar.getInstance();
long currentTime = validCreation.getTime().getTime();
currentTime -= timeToLive * 1000;
validCreation.setTime(new Date(currentTime));
Regards,
Veniamin
> WSHandler verifyTimestamp method is not compativle with JDK 1.3
> ---------------------------------------------------------------
>
> Key: WSS-35
> URL: http://issues.apache.org/jira/browse/WSS-35
> Project: WSS4J
> Issue Type: Bug
> Environment: Oracle 9iR2, Oracle JVM (Sun JDK 1.3.1 compatible)
> Reporter: Veniamin Goldin
> Assigned To: Davanum Srinivas
> Priority: Critical
>
> Method verifyTimestamp in the class org.apache.ws.security.handler.WSHandler.verifyTimestamp trying to use java.util.Calendar getTimeInMillis and
> java.util.Calendar setTimeInMillis methods which are protected in the JDK 1.3.1.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org
[jira] Resolved: (WSS-35) WSHandler verifyTimestamp method is not
compativle with JDK 1.3
Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/WSS-35?page=all ]
Davanum Srinivas resolved WSS-35.
---------------------------------
Resolution: Fixed
this is already fixed in latest svn.
thanks,
dims
> WSHandler verifyTimestamp method is not compativle with JDK 1.3
> ---------------------------------------------------------------
>
> Key: WSS-35
> URL: http://issues.apache.org/jira/browse/WSS-35
> Project: WSS4J
> Issue Type: Bug
> Environment: Oracle 9iR2, Oracle JVM (Sun JDK 1.3.1 compatible)
> Reporter: Veniamin Goldin
> Assigned To: Davanum Srinivas
> Priority: Critical
> Attachments: WSHandler.patch
>
>
> Method verifyTimestamp in the class org.apache.ws.security.handler.WSHandler.verifyTimestamp trying to use java.util.Calendar getTimeInMillis and
> java.util.Calendar setTimeInMillis methods which are protected in the JDK 1.3.1.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org