0 Replies Latest reply on Oct 16, 2009 9:38 AM by Nikola Iva�i�

    Message fault is not signed or encrypted

    Nikola Iva�i� Newbie

      How do I sign or encrypt message fault?

      I know that this issue, has long ago been reported:
      http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4138308#4138308
      https://jira.jboss.org/jira/browse/JBWS-1119

      Has it been resolved? Can anybody help me configure jboss-wsse-server.xml.
      Everthing else works fine... Here is my config so far:

      <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">
       <key-store-file>some.jks</key-store-file>
       <key-store-password>password</key-store-password>
       <key-store-type>JKS</key-store-type>
       <trust-store-file>some.jks</trust-store-file>
       <trust-store-password>password</trust-store-password>
       <trust-store-type>JKS</trust-store-type>
      
       <config>
       <timestamp ttl="600"/>
       <sign type="x509v3" alias="ServerSideAlias" includeTimestamp="false"/>
       <encrypt type="x509v3" algorithm="aes-128" keyWrapAlgorithm="rsa_15" tokenReference="keyIdentifier"/>
       <authenticate>
       <signatureCertAuth certificatePrincipal="org.jboss.security.auth.certs.SubjectDNMapping"/>
       </authenticate>
       <authorize>
       <role>service</role>
       </authorize>
       <requires>
       <encryption />
       <signature/>
       <authentication />
       <authorization />
       </requires>
       </config>
      
      </jboss-ws-security>