Btw, what would be the relevant feature which should bundle wss4j. Rampart?


On Fri, Dec 5, 2014 at 12:45 AM, Sameera Jayasoma <[email protected]> wrote:

> Hi Johann,
>
> Yes our plan is to remove WSS4J dependency from RC2 build onwards. I've
> done some basic testing. So far so good.
>
> Thanks,
> Sameera.
>
> On Thu, Dec 4, 2014 at 11:37 PM, Johann Nallathamby <[email protected]>
> wrote:
>
>> Looks like this has been mistakenly removed. Its unfortunate that this
>> has gone uncaught until now. Right after this was done we tried running ESB
>> integration tests but some tests were commented out at the time and the
>> ones that were uncommented had other tests failing.
>>
>> @Kernel Team: WSS4J was shipped with Kernel because it embedded Bouncy
>> Castle within it. Now that we have removed the embedded Bouncy Castle from
>> WSS4J, Kernel should remove WSS4J dependency.
>>
>> Sorry for the inconvenience caused.
>>
>> Thanks,
>> Johann.
>>
>>
>> On Thu, Dec 4, 2014 at 7:50 PM, Kishanthan Thangarajah <
>> [email protected]> wrote:
>>
>>> The following commit has introduced this change :
>>> https://github.com/wso2/wso2-wss4j/commit/3185c3f155df48f6a666cd79873010f62b8c97a9
>>>
>>> @Pulasthi/Johann, the above commit has removed the
>>> "<DynamicImport-Package>" tag in the orbit bundle.
>>>
>>> This change has no impact on kernel, but since wss4j-1.5.11-wso2v7 is
>>> already released and bundled with kernel, we need to cancel the vote called
>>> for carbon-kernel RC1 release.
>>>
>>> @Jeewantha, you need to reply to the vote thread "[VOTE] Release WSO2
>>> Carbon Kernel 4.3.0 RC1" and CANCEL it with the explanation.
>>>
>>> We are currently looking for the possibilities of removing wss4j from
>>> kernel and call for kernel RC2 ASAP.
>>>
>>> @Jeewantha, at the same time you can quickly do a test by introducing
>>> <DynamicImport-Package>*</DynamicImport-Package> to the orbit pom of the
>>> release tag of wss4j :
>>> https://github.com/wso2/wso2-wss4j/releases/tag/wso2-wss4j-1.5.11-wso2v7 and
>>> build it and see. If this passes, we can do an immediate release of
>>> wss4j-1.5.11-wso2v8.
>>>
>>>
>>> On Thu, Dec 4, 2014 at 6:26 PM, Jeewantha Dharmaparakrama <
>>> [email protected]> wrote:
>>>
>>>> Hi IS team,
>>>>
>>>> Due to this Rampart fails to load custom Password Callback Handlers and
>>>> many ESB security related integration tests fail. wss4j uses
>>>> Class.forName() to load password callback handlers and therefor throws the
>>>> following exception. How should we deal with this ?
>>>>
>>>> org.apache.axis2.AxisFault: Cannot load password callback class: 
>>>> samples.userguide.PWCallback
>>>>    at 
>>>> org.apache.rampart.handler.RampartSender.invoke(RampartSender.java:76)
>>>>    at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340)
>>>>    at org.apache.axis2.engine.Phase.invoke(Phase.java:313)
>>>>    at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:262)
>>>>    at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:427)
>>>>    at 
>>>> org.apache.axis2.description.OutOnlyAxisOperationClient.executeImpl(OutOnlyAxisOperation.java:278)
>>>>    at 
>>>> org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
>>>>    at 
>>>> org.apache.axis2.client.ServiceClient.fireAndForget(ServiceClient.java:512)
>>>>    at 
>>>> org.apache.axis2.client.ServiceClient.fireAndForget(ServiceClient.java:489)
>>>>    at 
>>>> com.dimuthuupeksha.clients.OrderProcessingSecureClient.main(OrderProcessingSecureClient.java:127)
>>>> Caused by: org.apache.rampart.RampartException: Cannot load password 
>>>> callback class: samples.userguide.PWCallback
>>>>    at 
>>>> org.apache.rampart.util.RampartUtil.getPasswordCB(RampartUtil.java:144)
>>>>    at 
>>>> org.apache.rampart.util.RampartUtil.getPasswordCB(RampartUtil.java:118)
>>>>    at 
>>>> org.apache.rampart.builder.BindingBuilder.getSignatureBuilder(BindingBuilder.java:295)
>>>>    at 
>>>> org.apache.rampart.builder.BindingBuilder.getSignatureBuilder(BindingBuilder.java:252)
>>>>    at 
>>>> org.apache.rampart.builder.AsymmetricBindingBuilder.doSignature(AsymmetricBindingBuilder.java:762)
>>>>    at 
>>>> org.apache.rampart.builder.AsymmetricBindingBuilder.doSignBeforeEncrypt(AsymmetricBindingBuilder.java:419)
>>>>    at 
>>>> org.apache.rampart.builder.AsymmetricBindingBuilder.build(AsymmetricBindingBuilder.java:90)
>>>>    at org.apache.rampart.MessageBuilder.build(MessageBuilder.java:147)
>>>>    at 
>>>> org.apache.rampart.handler.RampartSender.invoke(RampartSender.java:65)
>>>>    ... 9 more
>>>> Caused by: java.lang.ClassNotFoundException: samples.userguide.PWCallback
>>>>    at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
>>>>    at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
>>>>    at java.security.AccessController.doPrivileged(Native Method)
>>>>    at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
>>>>    at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
>>>>    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
>>>>    at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>>>>    at java.lang.Class.forName0(Native Method)
>>>>    at java.lang.Class.forName(Class.java:190)
>>>>    at org.apache.ws.security.util.Loader.loadClass(Loader.java:243)
>>>>    at org.apache.ws.security.util.Loader.loadClass(Loader.java:161)
>>>>    at 
>>>> org.apache.rampart.util.RampartUtil.getPasswordCB(RampartUtil.java:142)
>>>>    ... 17 more
>>>>
>>>> Thanks,
>>>> Jeewantha
>>>>
>>>> --
>>>> Jeewantha Dharmaparakrama
>>>> Software Engineer; WSO2, Inc.; http://wso2.com/
>>>> Phone : (+94) 778403757
>>>> Blog: http://jeewanthad.blogspot.com/
>>>>
>>>
>>>
>>>
>>> --
>>> *Kishanthan Thangarajah*
>>> Senior Software Engineer,
>>> Platform Technologies Team,
>>> WSO2, Inc.
>>> lean.enterprise.middleware
>>>
>>> Mobile - +94773426635
>>> Blog - *http://kishanthan.wordpress.com
>>> <http://kishanthan.wordpress.com>*
>>> Twitter - *http://twitter.com/kishanthan
>>> <http://twitter.com/kishanthan>*
>>>
>>
>>
>>
>> --
>> Thanks & Regards,
>>
>> *Johann Dilantha Nallathamby*
>> Associate Technical Lead & Product Lead of WSO2 Identity Server
>> Integration Technologies Team
>> WSO2, Inc.
>> lean.enterprise.middleware
>>
>> Mobile - *+94777776950*
>> Blog - *http://nallaa.wordpress.com <http://nallaa.wordpress.com>*
>>
>
>
>
> --
> Sameera Jayasoma,
> Software Architect,
>
> WSO2, Inc. (http://wso2.com)
> email: [email protected]
> blog: http://sameera.adahas.org
> twitter: https://twitter.com/sameerajayasoma
> flickr: http://www.flickr.com/photos/sameera-jayasoma/collections
> Mobile: 0094776364456
>
> Lean . Enterprise . Middleware
>
>


-- 
Sameera Jayasoma,
Software Architect,

WSO2, Inc. (http://wso2.com)
email: [email protected]
blog: http://sameera.adahas.org
twitter: https://twitter.com/sameerajayasoma
flickr: http://www.flickr.com/photos/sameera-jayasoma/collections
Mobile: 0094776364456

Lean . Enterprise . Middleware
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to