You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wss4j-dev@ws.apache.org by "Naresh Kumar Sampath (JIRA)" <ji...@apache.org> on 2009/09/03 15:22:57 UTC

[jira] Created: (WSS-207) The Soap Message is not getting encrypted.

The Soap Message is not getting encrypted.
------------------------------------------

                 Key: WSS-207
                 URL: https://issues.apache.org/jira/browse/WSS-207
             Project: WSS4J
          Issue Type: Test
          Components: WSS4J Handlers
         Environment: Windows Machine
            Reporter: Naresh Kumar Sampath
            Assignee: Ruchith Udayanga Fernando
            Priority: Critical


Hi,

I am using  WSS4j - 1.5.8 and XML sec - 1.3.0 .

I have added the WSDoAllSender handler in the Requestflow. The soap message is being created and transfered to the server and I am gettign the response from the server with out any exception.

But when i look in to the soap message the message is being transfered as plain text. In the header part the symmetric key is encrypted where as the soap body is not getting encrypted.

I assume that i am missing out a configuration. Please help me to resolve this issue.

Thanks
Naresh

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org


Re: [jira] Updated: (WSS-207) The Soap Message is not getting encrypted.

Posted by R1ch <ri...@gmail.com>.
Naresh,
This may not be it but just in case

in the doc step 12, you have the encryptionPropFile set to client.properties
and the encryptionUser set to server, however the client.properties has an
alias=client


On Thu, Sep 3, 2009 at 9:26 AM, Naresh Kumar Sampath (JIRA) <jira@apache.org
> wrote:

>
>     [
> https://issues.apache.org/jira/browse/WSS-207?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel]
>
> Naresh Kumar Sampath updated WSS-207:
> -------------------------------------
>
>    Attachment: Steps followed for wss4j.zip
>
> Please find attached the document with the steps i am following to encrypt
> the soap message.
>
> > The Soap Message is not getting encrypted.
> > ------------------------------------------
> >
> >                 Key: WSS-207
> >                 URL: https://issues.apache.org/jira/browse/WSS-207
> >             Project: WSS4J
> >          Issue Type: Test
> >          Components: WSS4J Handlers
> >         Environment: Windows Machine
> >            Reporter: Naresh Kumar Sampath
> >            Assignee: Ruchith Udayanga Fernando
> >            Priority: Critical
> >         Attachments: Steps followed for wss4j.zip
> >
> >
> > Hi,
> > I am using  WSS4j - 1.5.8 and XML sec - 1.3.0 .
> > I have added the WSDoAllSender handler in the Requestflow. The soap
> message is being created and transfered to the server and I am gettign the
> response from the server with out any exception.
> > But when i look in to the soap message the message is being transfered as
> plain text. In the header part the symmetric key is encrypted where as the
> soap body is not getting encrypted.
> > I assume that i am missing out a configuration. Please help me to resolve
> this issue.
> > Thanks
> > Naresh
>
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: wss4j-dev-help@ws.apache.org
>
>

[jira] Updated: (WSS-207) The Soap Message is not getting encrypted.

Posted by "Naresh Kumar Sampath (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WSS-207?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Naresh Kumar Sampath updated WSS-207:
-------------------------------------

    Attachment: Steps followed for wss4j.zip

Please find attached the document with the steps i am following to encrypt the soap message.

> The Soap Message is not getting encrypted.
> ------------------------------------------
>
>                 Key: WSS-207
>                 URL: https://issues.apache.org/jira/browse/WSS-207
>             Project: WSS4J
>          Issue Type: Test
>          Components: WSS4J Handlers
>         Environment: Windows Machine
>            Reporter: Naresh Kumar Sampath
>            Assignee: Ruchith Udayanga Fernando
>            Priority: Critical
>         Attachments: Steps followed for wss4j.zip
>
>
> Hi,
> I am using  WSS4j - 1.5.8 and XML sec - 1.3.0 .
> I have added the WSDoAllSender handler in the Requestflow. The soap message is being created and transfered to the server and I am gettign the response from the server with out any exception.
> But when i look in to the soap message the message is being transfered as plain text. In the header part the symmetric key is encrypted where as the soap body is not getting encrypted.
> I assume that i am missing out a configuration. Please help me to resolve this issue.
> Thanks
> Naresh

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org


[jira] Commented: (WSS-207) The Soap Message is not getting encrypted.

Posted by "R1ch (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WSS-207?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12751137#action_12751137 ] 

R1ch commented on WSS-207:
--------------------------

Naresh,
This may not be it but just in case

in the doc step 12, you have the encryptionPropFile set to client.properties
and the encryptionUser set to server, however the client.properties has an
alias=client


On Thu, Sep 3, 2009 at 9:26 AM, Naresh Kumar Sampath (JIRA) <jira@apache.org



> The Soap Message is not getting encrypted.
> ------------------------------------------
>
>                 Key: WSS-207
>                 URL: https://issues.apache.org/jira/browse/WSS-207
>             Project: WSS4J
>          Issue Type: Test
>          Components: WSS4J Handlers
>         Environment: Windows Machine
>            Reporter: Naresh Kumar Sampath
>            Assignee: Ruchith Udayanga Fernando
>            Priority: Critical
>         Attachments: Steps followed for wss4j.zip
>
>
> Hi,
> I am using  WSS4j - 1.5.8 and XML sec - 1.3.0 .
> I have added the WSDoAllSender handler in the Requestflow. The soap message is being created and transfered to the server and I am gettign the response from the server with out any exception.
> But when i look in to the soap message the message is being transfered as plain text. In the header part the symmetric key is encrypted where as the soap body is not getting encrypted.
> I assume that i am missing out a configuration. Please help me to resolve this issue.
> Thanks
> Naresh

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org


[jira] Updated: (WSS-207) The Soap Message is not getting encrypted.

Posted by "Naresh Kumar Sampath (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WSS-207?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Naresh Kumar Sampath updated WSS-207:
-------------------------------------


Hi all,

I have figured out where I am wrong.

I was using SOAPMonitor of AXIS to view the soap message. In the Web service deployment descriper , I have included the WSDoAllReceiver handler and then followed by the SOAPMonitor handler. By the time the control reaches the soapmonitor handler, the soap message is decrypted. So in the SOAPMonitor the decrypted message is being displayed.

Regret for the inconvenience. I appreciate the effort of colm and R1ch. Thanks a lot.

Regards,
Naresh

> The Soap Message is not getting encrypted.
> ------------------------------------------
>
>                 Key: WSS-207
>                 URL: https://issues.apache.org/jira/browse/WSS-207
>             Project: WSS4J
>          Issue Type: Test
>          Components: WSS4J Handlers
>         Environment: Windows Machine
>            Reporter: Naresh Kumar Sampath
>            Assignee: Ruchith Udayanga Fernando
>            Priority: Critical
>         Attachments: Steps followed for wss4j.zip
>
>
> Hi,
> I am using  WSS4j - 1.5.8 and XML sec - 1.3.0 .
> I have added the WSDoAllSender handler in the Requestflow. The soap message is being created and transfered to the server and I am gettign the response from the server with out any exception.
> But when i look in to the soap message the message is being transfered as plain text. In the header part the symmetric key is encrypted where as the soap body is not getting encrypted.
> I assume that i am missing out a configuration. Please help me to resolve this issue.
> Thanks
> Naresh

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org


[jira] Resolved: (WSS-207) The Soap Message is not getting encrypted.

Posted by "Colm O hEigeartaigh (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WSS-207?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Colm O hEigeartaigh resolved WSS-207.
-------------------------------------

    Resolution: Won't Fix


Won't fix as per the comment.

Colm.

> The Soap Message is not getting encrypted.
> ------------------------------------------
>
>                 Key: WSS-207
>                 URL: https://issues.apache.org/jira/browse/WSS-207
>             Project: WSS4J
>          Issue Type: Test
>          Components: WSS4J Handlers
>         Environment: Windows Machine
>            Reporter: Naresh Kumar Sampath
>            Assignee: Ruchith Udayanga Fernando
>            Priority: Critical
>         Attachments: Steps followed for wss4j.zip
>
>
> Hi,
> I am using  WSS4j - 1.5.8 and XML sec - 1.3.0 .
> I have added the WSDoAllSender handler in the Requestflow. The soap message is being created and transfered to the server and I am gettign the response from the server with out any exception.
> But when i look in to the soap message the message is being transfered as plain text. In the header part the symmetric key is encrypted where as the soap body is not getting encrypted.
> I assume that i am missing out a configuration. Please help me to resolve this issue.
> Thanks
> Naresh

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org


[jira] Commented: (WSS-207) The Soap Message is not getting encrypted.

Posted by "Colm O hEigeartaigh (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WSS-207?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12753649#action_12753649 ] 

Colm O hEigeartaigh commented on WSS-207:
-----------------------------------------


Can you attach an eclipse project that corresponds to the steps you've outlined in your doc?

Colm.

> The Soap Message is not getting encrypted.
> ------------------------------------------
>
>                 Key: WSS-207
>                 URL: https://issues.apache.org/jira/browse/WSS-207
>             Project: WSS4J
>          Issue Type: Test
>          Components: WSS4J Handlers
>         Environment: Windows Machine
>            Reporter: Naresh Kumar Sampath
>            Assignee: Ruchith Udayanga Fernando
>            Priority: Critical
>         Attachments: Steps followed for wss4j.zip
>
>
> Hi,
> I am using  WSS4j - 1.5.8 and XML sec - 1.3.0 .
> I have added the WSDoAllSender handler in the Requestflow. The soap message is being created and transfered to the server and I am gettign the response from the server with out any exception.
> But when i look in to the soap message the message is being transfered as plain text. In the header part the symmetric key is encrypted where as the soap body is not getting encrypted.
> I assume that i am missing out a configuration. Please help me to resolve this issue.
> Thanks
> Naresh

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org


[jira] Closed: (WSS-207) The Soap Message is not getting encrypted.

Posted by "Colm O hEigeartaigh (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WSS-207?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Colm O hEigeartaigh closed WSS-207.
-----------------------------------


> The Soap Message is not getting encrypted.
> ------------------------------------------
>
>                 Key: WSS-207
>                 URL: https://issues.apache.org/jira/browse/WSS-207
>             Project: WSS4J
>          Issue Type: Test
>          Components: WSS4J Handlers
>         Environment: Windows Machine
>            Reporter: Naresh Kumar Sampath
>            Assignee: Ruchith Udayanga Fernando
>            Priority: Critical
>         Attachments: Steps followed for wss4j.zip
>
>
> Hi,
> I am using  WSS4j - 1.5.8 and XML sec - 1.3.0 .
> I have added the WSDoAllSender handler in the Requestflow. The soap message is being created and transfered to the server and I am gettign the response from the server with out any exception.
> But when i look in to the soap message the message is being transfered as plain text. In the header part the symmetric key is encrypted where as the soap body is not getting encrypted.
> I assume that i am missing out a configuration. Please help me to resolve this issue.
> Thanks
> Naresh

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org