Author: dims Date: Sun Oct 16 08:29:07 2005 New Revision: 322484 URL: http://svn.apache.org/viewcvs?rev=322484&view=rev Log: BC can't be the first..."ant clean test" fails in jdk14 and jdk15. See url's below for more info.
http://lists.apple.com/archives/Java-dev/2004/Apr/msg00557.html http://forum.java.sun.com/thread.jspa?forumID=60&messageID=1662855&threadID=386531 Modified: webservices/wss4j/trunk/src/org/apache/ws/security/WSSConfig.java Modified: webservices/wss4j/trunk/src/org/apache/ws/security/WSSConfig.java URL: http://svn.apache.org/viewcvs/webservices/wss4j/trunk/src/org/apache/ws/security/WSSConfig.java?rev=322484&r1=322483&r2=322484&view=diff ============================================================================== --- webservices/wss4j/trunk/src/org/apache/ws/security/WSSConfig.java (original) +++ webservices/wss4j/trunk/src/org/apache/ws/security/WSSConfig.java Sun Oct 16 08:29:07 2005 @@ -236,8 +236,12 @@ log.debug("The provider " + id + " had to be added to the java.security.Security"); } + int pos = 1; + if(id.equalsIgnoreCase("BC")) { + pos = 2; + } java.security.Security.insertProviderAt((java.security.Provider) c - .newInstance(), 1); + .newInstance(), pos); } return true; } catch (Throwable t) { --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
