[jboss-user] [JBoss Web Services] - Re: Policy not supported for UsernameTokenOverHTTPS error.
Igor JStarter
do-not-reply at jboss.com
Wed Jan 19 08:44:28 EST 2011
Igor JStarter [http://community.jboss.org/people/izgur] created the discussion
"Re: Policy not supported for UsernameTokenOverHTTPS error."
To view the discussion, visit: http://community.jboss.org/message/581472#581472
--------------------------------------------------------------
I have the exact same problem using jboss5.1. I imported the host key well but know I get an error:
org.jboss.ws.WSException: Policy not supported!
But after the readings I thought I must some specify sth like this:
<jboss-ws-security xmlns="http://www.jboss.com/ws-security/config"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.jboss.com/ws-security/config
http://www.jboss.com/ws-security/schema/jboss-ws-security_1_0.xsd">
(1) <key-store-file>WEB-INF/bob-sign_enc.jks</key-store-file>
<key-store-password>password</key-store-password>
<key-store-type>jks</key-store-type>
<trust-store-file>WEB-INF/wsse10.truststore</trust-store-file>
<trust-store-password>password</trust-store-password>
<config>
<timestamp ttl="300"/>
(2) <sign type="x509v3" alias="1" includeTimestamp="true"/>
(3) <encrypt type="x509v3"
alias="alice"
algorithm="aes-256"
keyWrapAlgorithm="rsa_oaep"
tokenReference="keyIdentifier" />
(4) <requires>
<signature/>
<encryption/>
</requires>
</config>
</jboss-ws-security>
Could someone help ?
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/581472#581472]
Start a new discussion in JBoss Web Services at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2044]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110119/fcf77377/attachment.html
More information about the jboss-user
mailing list