Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: [WSS4J] latest CVS source doesnt' compile: msg#00201

apache.webservices.fx.devel

Subject: Re: [WSS4J] latest CVS source doesnt' compile

Yves,

seems to be a problem in the secure conversation modules (sorry, I can't
help
here ... the secure conversation module are from some other authors).

Regards,
Werner

----- Original Message -----
From: "Yves Langisch" <lists-iO7QwSo9/2sfv37vnLkPlQ@xxxxxxxxxxxxxxxx>
To: <fx-dev-28n8OjmUYWfNLxjTenLetw@xxxxxxxxxxxxxxxx>
Sent: Wednesday, August 25, 2004 6:18 PM
Subject: [WSS4J] latest CVS source doesnt' compile


> All,
>
> Just checked out the latest source from CVS and tried to build but the
> tests failed in the secconv component. Attached the test report. Any
ideas?
>
> Regards,
> Yves
>


----------------------------------------------------------------------------
----


<?xml version="1.0" encoding="UTF-8" ?>
<testsuite errors="2" failures="0" name="secconv.components.PackageTests"
tests="3" time="2.334">
<properties>
<property name="java.vendor" value="Sun Microsystems Inc."></property>
<property name="http.proxyPassword" value=""></property>
<property name="dir.libs" value="./lib"></property>
<property name="dir.dist" value="./dist"></property>
<property name="os.name" value="Linux"></property>
<property name="sun.boot.class.path"
value="/home/langisch/projects/itserve/ws-fx/wss4j/endorsed/dom3-xercesImpl-
2_6_2.jar:/home/langisch/projects/itserve/ws-fx/wss4j/endorsed/dom3-xml-apis
-2_6_2.jar:/usr/lib/SunJava2-1.4.2/jre/lib/rt.jar:/usr/lib/SunJava2-1.4.2/jr
e/lib/i18n.jar:/usr/lib/SunJava2-1.4.2/jre/lib/sunrsasign.jar:/usr/lib/SunJa
va2-1.4.2/jre/lib/jsse.jar:/usr/lib/SunJava2-1.4.2/jre/lib/jce.jar:/usr/lib/
SunJava2-1.4.2/jre/lib/charsets.jar:/usr/lib/SunJava2-1.4.2/jre/classes"></p
roperty>
<property name="TODAY" value="August 25 2004"></property>
<property name="sun.java2d.fontpath" value=""></property>
<property name="java.vm.specification.vendor" value="Sun Microsystems
Inc."></property>
<property name="ant.home" value="/usr/share/ant"></property>
<property name="java.runtime.version" value="1.4.2_03-b02"></property>
<property name="http.proxyPort" value=""></property>
<property name="user.name" value="langisch"></property>
<property name="dir.specs" value="./specs"></property>
<property name="build.dir" value="./build"></property>
<property name="user.language" value="en"></property>
<property name="build.javadoc" value="./build/doc/html/api"></property>
<property name="sun.boot.library.path"
value="/usr/lib/SunJava2-1.4.2/jre/lib/i386"></property>
<property name="product.Version" value="1.0.Beta"></property>
<property name="http.proxyUser" value=""></property>
<property name="ant.project.name" value="Web Services Security
(WSS4J)"></property>
<property name="DSTAMP" value="20040825"></property>
<property name="java.version" value="1.4.2_03"></property>
<property name="user.timezone" value=""></property>
<property name="sun.arch.data.model" value="32"></property>
<property name="dir.endorsed.libs" value="./endorsed"></property>
<property name="build.doc" value="./build/doc"></property>
<property name="http.nonProxyHosts" value="localhost"></property>
<property name="java.endorsed.dirs"
value="/home/langisch/projects/itserve/ws-fx/wss4j/endorsed"></property>
<property name="sun.cpu.isalist" value=""></property>
<property name="product.name" value="wss4j"></property>
<property name="file.encoding.pkg" value="sun.io"></property>
<property name="file.separator" value="/"></property>
<property name="java.specification.name" value="Java Platform API
Specification"></property>
<property name="javadoc.packages" value=" org.apache.ws.security,
org.apache.ws.security.components, org.apache.ws.security.components.crypto,
org.apache.ws.security.message, org.apache.ws.security.message.token,
org.apache.ws.security.util, org.apache.ws.axis,
org.apache.ws.axis.security, org.apache.ws.axis.security.util "></property>
<property name="java.class.version" value="48.0"></property>
<property name="user.country" value="US"></property>
<property name="dir.keys" value="./keys"></property>
<property name="java.home"
value="/usr/lib/SunJava2-1.4.2/jre"></property>
<property name="dir.webapp"
value="/home/langisch/projects/itserve/ws-fx/wss4j/webapps/axis"></property>
<property name="java.vm.info" value="mixed mode"></property>
<property name="ant.file"
value="/home/langisch/projects/itserve/ws-fx/wss4j/build.xml"></property>
<property name="build.junit.html"
value="./build/doc/html/junit"></property>
<property name="os.version" value="2.6.4-52-smp"></property>
<property name="product_version" value="1_0_Beta"></property>
<property name="product.version.major" value="1"></property>
<property name="path.separator" value=":"></property>
<property name="java.vm.version" value="1.4.2_03-b02"></property>
<property name="build.doc.xml" value="./build/doc/xml"></property>
<property name="java.util.prefs.PreferencesFactory"
value="java.util.prefs.FileSystemPreferencesFactory"></property>
<property name="classpath.test.as.string"
value="\home\langisch\projects\itserve\ws-fx\wss4j\build\classes;\home\langi
sch\projects\itserve\ws-fx\wss4j\build\wss4j.jar;\home\langisch\projects\its
erve\ws-fx\wss4j\lib\ant-junit.jar;\home\langisch\projects\itserve\ws-fx\wss
4j\lib\axis-ant.jar;\home\langisch\projects\itserve\ws-fx\wss4j\lib\axis.jar
;\home\langisch\projects\itserve\ws-fx\wss4j\lib\commons-codec-1.2.jar;\home
\langisch\projects\itserve\ws-fx\wss4j\lib\commons-discovery.jar;\home\langi
sch\projects\itserve\ws-fx\wss4j\lib\commons-httpclient-3.0-alpha1.jar;\home
\langisch\projects\itserve\ws-fx\wss4j\lib\commons-logging.jar;\home\langisc
h\projects\itserve\ws-fx\wss4j\lib\jaxrpc.jar;\home\langisch\projects\itserv
e\ws-fx\wss4j\lib\jce-jdk13-123.jar;\home\langisch\projects\itserve\ws-fx\ws
s4j\lib\junit-3.8.1.jar;\home\langisch\projects\itserve\ws-fx\wss4j\lib\log4
j-1.2.8.jar;\home\langisch\projects\itserve\ws-fx\wss4j\lib\opensaml.jar;\ho
me\langisch\projects\itserve\ws-fx\wss4j\lib\saaj.jar;\home\langisch\project
s\itserve\ws-fx\wss4j\lib\wsdl4j.jar;\home\langisch\projects\itserve\ws-fx\w
ss4j\lib\xalan.jar;\home\langisch\projects\itserve\ws-fx\wss4j\lib\xmlsec.ja
r;\home\langisch\projects\itserve\ws-fx\wss4j\endorsed\dom3-xercesImpl-2_6_2
.jar;\home\langisch\projects\itserve\ws-fx\wss4j\endorsed\dom3-xml-apis-2_6_
2.jar;\usr\share\ant\lib\ant-launcher.jar;\usr\share\ant\lib\ant-jai.jar;\us
r\share\ant\lib\ant-antlr.jar;\usr\share\ant\lib\ant-starteam.jar;\usr\share
\ant\lib\ant-icontract.jar;\usr\share\ant\lib\ant-jdepend.jar;\usr\share\ant
\lib\ant-jakarta-oro.jar;\usr\share\ant\lib\ant-trax.jar;\usr\share\ant\lib\
ant-jakarta-bcel.jar;\usr\share\ant\lib\ant-jmf.jar;\usr\share\ant\lib\ant-j
sch.jar;\usr\share\ant\lib\ant-apache-bsf.jar;\usr\share\ant\lib\ant-netrexx
.jar;\usr\share\ant\lib\ant-swing.jar;\usr\share\ant\lib\ant-jakarta-log4j.j
ar;\usr\share\ant\lib\xercesImpl.jar;\usr\share\ant\lib\ant-stylebook.jar;\u
sr\share\ant\lib\ant-jakarta-regexp.jar;\usr\share\ant\lib\ant-javamail.jar;
\usr\share\ant\lib\ant-junit.jar;\usr\share\ant\lib\ant-xalan1.jar;\usr\shar
e\ant\lib\ant-xalan2.jar;\usr\share\ant\lib\ant-commons-net.jar;\usr\share\a
nt\lib\ant-commons-logging.jar;\usr\share\ant\lib\ant-weblogic.jar;\usr\shar
e\ant\lib\ant.jar;\usr\share\ant\lib\xml-apis.jar;\usr\share\ant\lib\ant-vaj
.jar;\usr\share\ant\lib\ant-xslp.jar;\usr\share\ant\lib\ant-nodeps.jar;\usr\
share\ant\lib\junit-3.8.1.jar;\usr\share\ant\lib\junit.jar;\usr\share\ant\li
b\ant-apache-resolver.jar;\usr\lib\SunJava2-1.4.2\lib\tools.jar"></property>
<property name="build.webapp"
value="/home/langisch/projects/itserve/ws-fx/wss4j/build/webapps/axis"></pro
perty>
<property name="product.Name" value="Apache-WS-Security-J"></property>
<property name="java.awt.printerjob"
value="sun.print.PSPrinterJob"></property>
<property name="product.version.minor" value="0"></property>
<property name="sun.io.unicode.encoding"
value="UnicodeLittle"></property>
<property name="jar.library" value="wss4j.jar"></property>
<property name="product.version" value="1.0.Beta"></property>
<property name="user.home" value="/home/langisch"></property>
<property name="dir.samples" value="./samples"></property>
<property name="java.specification.vendor" value="Sun Microsystems
Inc."></property>
<property name="dir.test" value="./test"></property>
<property name="dir.doc" value="./doc"></property>
<property name="java.library.path"
value="/usr/lib/SunJava2-1.4.2/jre/lib/i386/client:/usr/lib/SunJava2-1.4.2/j
re/lib/i386:/usr/lib/SunJava2-1.4.2/jre/../lib/i386"></property>
<property name="java.vendor.url"
value="http://java.sun.com/";></property>
<property name="java.vm.vendor" value="Sun Microsystems
Inc."></property>
<property name="dir.src" value="./src"></property>
<property name="copyright" value="Copyright © 2004 Apache WS-Security
Project. All Rights Reserved."></property>
<property name="java.runtime.name" value="Java(TM) 2 Runtime
Environment, Standard Edition"></property>
<property name="ant.version" value="Apache Ant version 1.6.0 compiled on
April 6 2004"></property>
<property name="java.class.path"
value="/home/langisch/projects/itserve/ws-fx/wss4j/build/classes:/home/langi
sch/projects/itserve/ws-fx/wss4j/lib/ant-junit.jar:/home/langisch/projects/i
tserve/ws-fx/wss4j/lib/axis-ant.jar:/home/langisch/projects/itserve/ws-fx/ws
s4j/lib/axis.jar:/home/langisch/projects/itserve/ws-fx/wss4j/lib/commons-cod
ec-1.2.jar:/home/langisch/projects/itserve/ws-fx/wss4j/lib/commons-discovery
.jar:/home/langisch/projects/itserve/ws-fx/wss4j/lib/commons-httpclient-3.0-
alpha1.jar:/home/langisch/projects/itserve/ws-fx/wss4j/lib/commons-logging.j
ar:/home/langisch/projects/itserve/ws-fx/wss4j/lib/jaxrpc.jar:/home/langisch
/projects/itserve/ws-fx/wss4j/lib/jce-jdk13-123.jar:/home/langisch/projects/
itserve/ws-fx/wss4j/lib/junit-3.8.1.jar:/home/langisch/projects/itserve/ws-f
x/wss4j/lib/log4j-1.2.8.jar:/home/langisch/projects/itserve/ws-fx/wss4j/lib/
opensaml.jar:/home/langisch/projects/itserve/ws-fx/wss4j/lib/saaj.jar:/home/
langisch/projects/itserve/ws-fx/wss4j/lib/wsdl4j.jar:/home/langisch/projects
/itserve/ws-fx/wss4j/lib/xalan.jar:/home/langisch/projects/itserve/ws-fx/wss
4j/lib/xmlsec.jar:/home/langisch/projects/itserve/ws-fx/wss4j/endorsed/dom3-
xercesImpl-2_6_2.jar:/home/langisch/projects/itserve/ws-fx/wss4j/endorsed/do
m3-xml-apis-2_6_2.jar:/usr/share/ant/lib/ant-launcher.jar:/usr/share/ant/lib
/ant-jai.jar:/usr/share/ant/lib/ant-antlr.jar:/usr/share/ant/lib/ant-startea
m.jar:/usr/share/ant/lib/ant-icontract.jar:/usr/share/ant/lib/ant-jdepend.ja
r:/usr/share/ant/lib/ant-jakarta-oro.jar:/usr/share/ant/lib/ant-trax.jar:/us
r/share/ant/lib/ant-jakarta-bcel.jar:/usr/share/ant/lib/ant-jmf.jar:/usr/sha
re/ant/lib/ant-jsch.jar:/usr/share/ant/lib/ant-apache-bsf.jar:/usr/share/ant
/lib/ant-netrexx.jar:/usr/share/ant/lib/ant-swing.jar:/usr/share/ant/lib/ant
-jakarta-log4j.jar:/usr/share/ant/lib/xercesImpl.jar:/usr/share/ant/lib/ant-
stylebook.jar:/usr/share/ant/lib/ant-jakarta-regexp.jar:/usr/share/ant/lib/a
nt-javamail.jar:/usr/share/ant/lib/ant-junit.jar:/usr/share/ant/lib/ant-xala
n1.jar:/usr/share/ant/lib/ant-xalan2.jar:/usr/share/ant/lib/ant-commons-net.
jar:/usr/share/ant/lib/ant-commons-logging.jar:/usr/share/ant/lib/ant-weblog
ic.jar:/usr/share/ant/lib/ant.jar:/usr/share/ant/lib/xml-apis.jar:/usr/share
/ant/lib/ant-vaj.jar:/usr/share/ant/lib/ant-xslp.jar:/usr/share/ant/lib/ant-
nodeps.jar:/usr/share/ant/lib/junit-3.8.1.jar:/usr/share/ant/lib/junit.jar:/
usr/share/ant/lib/ant-apache-resolver.jar:/usr/lib/SunJava2-1.4.2/lib/tools.
jar"></property>
<property name="year" value="2004"></property>
<property name="build.clonevm" value="true"></property>
<property name="TSTAMP" value="1811"></property>
<property name="build.doc.html" value="./build/doc/html"></property>
<property name="java.vm.specification.name" value="Java Virtual Machine
Specification"></property>
<property name="java.vm.specification.version" value="1.0"></property>
<property name="build.junit.xml"
value="./build/doc/xml/junit"></property>
<property name="build.classes" value="./build/classes"></property>
<property name="sun.os.patch.level" value="unknown"></property>
<property name="sun.cpu.endian" value="little"></property>
<property name="java.io.tmpdir" value="/tmp"></property>
<property name="junit.present" value="true"></property>
<property name="java.vendor.url.bug"
value="http://java.sun.com/cgi-bin/bugreport.cgi";></property>
<property name="http.proxyHost" value=""></property>
<property name="java.awt.graphicsenv"
value="sun.awt.X11GraphicsEnvironment"></property>
<property name="os.arch" value="i386"></property>
<property name="ant.file.Web Services Security (WSS4J)"
value="/home/langisch/projects/itserve/ws-fx/wss4j/build.xml"></property>
<property name="java.ext.dirs"
value="/usr/lib/SunJava2-1.4.2/jre/lib/ext"></property>
<property name="user.dir"
value="/home/langisch/projects/itserve/ws-fx/wss4j"></property>
<property name="line.separator" value="
"></property>
<property name="java.vm.name" value="Java HotSpot(TM) Client
VM"></property>
<property name="dir.interop" value="./interop"></property>
<property name="basedir"
value="/home/langisch/projects/itserve/ws-fx/wss4j"></property>
<property name="bc.present" value="true"></property>
<property name="product.shortname" value="wss4j"></property>
<property name="ant.java.version" value="1.4"></property>
<property name="file.encoding" value="UTF-8"></property>
<property name="build.work" value="./build/work"></property>
<property name="jdk14.present" value="true"></property>
<property name="java.specification.version" value="1.4"></property>
<property name="product.version.level" value="Beta"></property>
</properties>
<testcase classname="secconv.components.TestDkSign"
name="testPerformDkSign" time="0.886">
<error message="Undefined &apos;Invalid Data&apos; resource property"
type="java.lang.RuntimeException">java.lang.RuntimeException: Undefined
&apos;Invalid Data&apos; resource property
at
org.apache.ws.security.WSSecurityException.getMessage(WSSecurityException.ja
va:129)
at
org.apache.ws.security.WSSecurityException.&lt;init&gt;(WSSecurityException.
java:77)
at
org.apache.ws.security.conversation.ConversationManager.build(ConversationMa
nager.java:266)
at
org.apache.ws.security.conversation.ConversationManager.performDK_Sign(Conve
rsationManager.java:231)
at secconv.components.TestDkSign.testPerformDkSign(TestDkSign.java:211)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
</error>
</testcase>
<testcase classname="secconv.components.TestRSTR" name="testPerformRSTR"
time="1.331"></testcase>
<testcase classname="secconv.components.TestDkEncrypt"
name="testPerformDkEncrypt" time="0.102">
<error message="ConversationManager :: Encryption: error during message
processing"
type="org.apache.ws.security.conversation.ConversationException">org.apache.
ws.security.conversation.ConversationException: ConversationManager ::
Encryption: error during message processing
at
org.apache.ws.security.conversation.ConversationManager.performDK_ENCR(Conve
rsationManager.java:194)
at
secconv.components.TestDkEncrypt.testPerformDkEncrypt(TestDkEncrypt.java:213
)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
</error>
</testcase>
<system-out><![CDATA[<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:xenc="http://www.w3.org/2001/04/xmlenc#";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>

<soapenv:Header>

<wsse:Security
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecuri
ty-secext-1.0.xsd">
<wsse:BinarySecurityToken
EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-m
essage-security-1.0#Base64Binary"
ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-toke
n-profile-1.0#X509v3" wsu:Id="EncCertId-605423"
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurit
y-utility-1.0.xsd">
MIIBYjCCAQygAwIBAgIQIWFO9wjTxZJOxcgGtBqGVTANBgkqhkiG9w0BAQQFADAPMQ0wCwYDVQQD
EwRkaW1zMB4XDTAzMDUxMjE2NDExN1oXDTM5MTIzMTIzNTk1OVowDzENMAsGA1UEAxMEZGltczBc
MA0GCSqGSIb3DQEBAQUAA0sAMEgCQQDrmZ7T2MFQNwloGughSRoapkmvbtPAwBXt+21bFzqfXJ1S
pliN6CCRczIflSQCCCyBZ2j0dA51n/ZDWDizdNenAgMBAAGjRDBCMEAGA1UdAQQ5MDeAEBsIiVES
xf6DrjkLYXayxmKhETAPMQ0wCwYDVQQDEwRkaW1zghAhYU73CNPFkk7FyAa0GoZVMA0GCSqGSIb3
DQEBBAUAA0EAxSGwjZ/FOScVLlVTxic1FKmPd8WTg1DrJFDWuxMTx6n0Zxn4N8ZxkAl7TNx/JcIl
G+dlnyWZ0in3dOEtF0g5mA== </wsse:BinarySecurityToken>

<wst:RequestSecurityTokenResponse
xmlns:wst="http://schemas.xmlsoap.org/ws/2004/04/trust";>
<wst:RequestedSecurityToken>
<wsc:SecurityContextToken
xmlns:wsc="http://schemas.xmlsoap.org/ws/2004/04/sc";>
<wsc:Identifier>
2B2vf3jtT5ejLgRiLOmhKO/aslr6SwMXIvzBaUWIPfw= </wsc:Identifier>
</wsc:SecurityContextToken>
</wst:RequestedSecurityToken>
<wst:RequestedProofToken>

<xenc:EncryptedKey>

<xenc:EncryptionMethod
Algorithm="http://www.w3.org/2001/04/xmlenc#rsa-1_5"/>

<ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#";>

<wsse:SecurityTokenReference>
<wsse:Reference URI="#EncCertId-605423"/>
</wsse:SecurityTokenReference>

</ds:KeyInfo>

<xenc:CipherData>
<xenc:CipherValue>
OrhZiexUiCPuJ8EFNWCKIiBu04/FxqezSn2M1A+fsXAhXxK7F01D01BLohQTE6j3iYp2EvQU9s3h
T46WbCTQPg== </xenc:CipherValue>
</xenc:CipherData>

<xenc:ReferenceList>
<xenc:DataReference URI="#EncDataId-114148"/>
</xenc:ReferenceList>
</xenc:EncryptedKey>
</wst:RequestedProofToken>
</wst:RequestSecurityTokenResponse>
</wsse:Security>
</soapenv:Header>
<soapenv:Body>
<xenc:EncryptedData Id="EncDataId-114148"
Type="http://www.w3.org/2001/04/xmlenc#Content";>
<xenc:EncryptionMethod
Algorithm="http://www.w3.org/2001/04/xmlenc#tripledes-cbc"/>
<xenc:CipherData>
<xenc:CipherValue>
o285Ty+e/mMiOZkJks7g7ZTvmZnX3RE9yMFx2OZ/gPTUP6APEmSpYUGT9yfVa+Uy/rVLc7rKnC+1
znWRuUEoKNtCMkrGK6SmstiJMg/dqTmSI5BcU7cY0qkEc7TVeZgil17DH9JXePYG9z1nXFWkaBxj
DQQ2ag/A6XJQZ2yWI2PNkcRVRqIT9A4If5yj3pFG4acBsp3KqtCDZy0ibxHGGmsKgCchLzmyPLLB
Js348X8Z4OaITqjyiSALck1oha9AALfmXdpWATC/2LXzCMdgzxwb9qHm3j8bccMF21RfXksrP+L7
g7rGPF0A2AaRmkDBKa7eElLuhDbfrynhQr4YUhAEWZutnttBS2ScYAm3c1dCrf5Jd6No3vS+uLqj
LvXqzcGVqmcW+kUh26TZTVFSCZghFb8PeXS6qB/TNdMmu9M= </xenc:CipherValue>
</xenc:CipherData>
</xenc:EncryptedData>
</soapenv:Body>
</soapenv:Envelope>
unknown attr1.3.6.1.4.1.311.17.1
]]></system-out>

<system-err><![CDATA[org.apache.ws.security.conversation.ConversationExcepti
on: Key Derivation : P_SHA-1: String index out of range: 24
at
org.apache.ws.security.conversation.dkAlgo.P_SHA1.createKey(P_SHA1.java:64)
at
org.apache.ws.security.conversation.KeyDerivator.deriveTokenFromContext(KeyD
erivator.java:135)
at
org.apache.ws.security.conversation.KeyDerivator.deriveKey(KeyDerivator.java
:111)
at
org.apache.ws.security.conversation.KeyDerivator.generateKey(KeyDerivator.ja
va:57)
at
org.apache.ws.security.conversation.DerivedKeyCallbackHandler.handle(Derived
KeyCallbackHandler.java:163)
at
org.apache.ws.security.conversation.ConversationManager.performDK_Sign(Conve
rsationManager.java:225)
at secconv.components.TestDkSign.testPerformDkSign(TestDkSign.java:211)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRu
nner.java:326)
at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestR
unner.java:560)
org.apache.ws.security.conversation.ConversationException: Key Derivation :
P_SHA-1: String index out of range: 24
at
org.apache.ws.security.conversation.dkAlgo.P_SHA1.createKey(P_SHA1.java:64)
at
org.apache.ws.security.conversation.KeyDerivator.deriveTokenFromContext(KeyD
erivator.java:135)
at
org.apache.ws.security.conversation.KeyDerivator.deriveKey(KeyDerivator.java
:111)
at
org.apache.ws.security.conversation.KeyDerivator.generateKey(KeyDerivator.ja
va:57)
at
org.apache.ws.security.conversation.DerivedKeyCallbackHandler.handle(Derived
KeyCallbackHandler.java:163)
at
org.apache.ws.security.conversation.ConversationManager.performDK_ENCR(Conve
rsationManager.java:179)
at
secconv.components.TestDkEncrypt.testPerformDkEncrypt(TestDkEncrypt.java:213
)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRu
nner.java:326)
at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestR
unner.java:560)
]]></system-err>
</testsuite>





<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
hardware.arm.at...    cms.citadel.dev...    video.gstreamer...    java.facelets.u...    misc.basics.qna...    web.wiki.instik...    network.uip.use...    xdg.devel/2003-...    tex.bibtex.bibd...    finance.quotesp...    ietf.zeroconf/2...    redhat.blinux.g...    suse.db2/2003-0...    php.phpesp/2004...    uml.devel/2003-...    gnome.labyrinth...    qnx.openqnx.dev...    boot-loaders.gr...    db.dataperfect....    audio.audacity....    linux.uclinux.m...    editors.j.devel...    os.openbsd.tech...    kde.users.multi...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation