You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Jason Pell (JIRA)" <ji...@apache.org> on 2012/10/23 09:17:12 UTC

[jira] [Comment Edited] (CXF-4595) RequireClientCertificate is not validated

    [ https://issues.apache.org/jira/browse/CXF-4595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13482170#comment-13482170 ] 

Jason Pell edited comment on CXF-4595 at 10/23/12 7:16 AM:
-----------------------------------------------------------

I can see that the HttpsTokenOutInterceptor actually throwns an exception upon a policy error.  So should this bit of code be at the bottom of the the assertHttps in HttpsTokenInInterceptor?

if (!ai.isAsserted()) {
    throw new PolicyException(ai);
}



                
      was (Author: pellcorp):
    I can see that the HttpsTokenOutInterceptor actually throwns an exception upon a policy error.  So should this bit of code be at the bottom of the the handleMessage in HttpsTokenInInterceptor?

if (!ai.isAsserted()) {
    throw new PolicyException(ai);
}



                  
> RequireClientCertificate is not validated
> -----------------------------------------
>
>                 Key: CXF-4595
>                 URL: https://issues.apache.org/jira/browse/CXF-4595
>             Project: CXF
>          Issue Type: Bug
>          Components: WS-* Components
>    Affects Versions: 2.7.0
>            Reporter: Jason Pell
>         Attachments: PolicySample.tar.gz
>
>
> I can execute a web service which has a RequireClientCertificate="true" policy in the transport binding, the problem is that my client is not providing a certificate.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira