cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alessio (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-7219) prblem with WssX509v3Token10
Date Fri, 20 Jan 2017 09:42:26 GMT

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

Alessio commented on CXF-7219:
------------------------------

hi 
I followed this CXF-6497
I'm using  jboss eap 6.3 with cxf3.1.1 and wss4j 2.2.1 and certificate version V3, but I still
get this error:


Inbound policy verification failed: These policy alternatives can not be sati sfied: {http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}WssX509v3Token10.

this is wsdl's policy section:

<wsp:Policy wsu:Id="PoliticaSeguridad">
		<sp:AsymmetricBinding>
			<wsp:Policy>
                <sp:InitiatorToken>
                   <wsp:Policy>
                      <sp:X509Token sp:IncludeToken="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702/IncludeToken/Once">
                         <wsp:Policy>
                            <sp:WssX509V3Token10/>
                         </wsp:Policy>
                      </sp:X509Token>
                   </wsp:Policy>
                </sp:InitiatorToken>
				<sp:RecipientToken>
                   <wsp:Policy>
                      <sp:X509Token sp:IncludeToken="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702/IncludeToken/Once">
                           <wsp:Policy>
                              <sp:WssX509V3Token10/>
                           </wsp:Policy>
                      </sp:X509Token>
					</wsp:Policy>
				
				</sp:RecipientToken>
				
				<sp:AlgorithmSuite>
					<wsp:Policy>
						<sp:Basic128/>
					</wsp:Policy>
				</sp:AlgorithmSuite>
				<sp:Layout>
					<wsp:Policy>
						<sp:Strict/>
					</wsp:Policy>
				</sp:Layout>
				<sp:IncludeTimestamp/>
                <sp:OnlySignEntireHeadersAndBody/>
			</wsp:Policy>
		</sp:AsymmetricBinding>
		<sp:SignedParts>
			<sp:Body/>
		</sp:SignedParts>            
		<sp:SupportingTokens>
			<wsp:Policy>
				<sp:X509Token sp:IncludeToken="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702/IncludeToken/Never">
					<wsp:Policy>
						<sp:WssX509v3Token10/>
					</wsp:Policy>
				</sp:X509Token>
			</wsp:Policy>
		</sp:SupportingTokens>
	</wsp:Policy>

What I wrong?
please could you help me to understand? 

regards

Alessio



> prblem with WssX509v3Token10
> ----------------------------
>
>                 Key: CXF-7219
>                 URL: https://issues.apache.org/jira/browse/CXF-7219
>             Project: CXF
>          Issue Type: Bug
>          Components: Integration
>    Affects Versions: 3.1.1
>            Reporter: Alessio
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message