As you know, ws-security in jboss 5 was implemented with jboss-wsse-server.xml like below :
=== jboss-wsse-server.xml ======
<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>WEB-INF/wsse.keystore</key-store-file>
<key-store-password>jbossws</key-store-password>
<trust-store-file>WEB-INF/wsse.truststore</trust-store-file>
<trust-store-password>jbossws</trust-store-password>
<config>
<sign type="x509v3" alias="wsse"/>
<requires>
<signature/>
</requires>
</config>
</jboss-ws-security>
and,
@WebService
@EndpointConfig(configName = "Standard WSSecurity Endpoint")
public class HelloJavaBean
{
.....
I want to know how to migrate these jboss-5 ws-security settings to jboss 7. I guess 'endpoint-config' element of jboss-7 standalone.xml is related with these setting.
<subsystem xmlns="urn:jboss:domain:webservices:1.1">
<modify-wsdl-address>true</modify-wsdl-address>
<wsdl-host>${jboss.bind.address:127.0.0.1}</wsdl-host>
<endpoint-config name="Standard-Endpoint-Config"/>
<endpoint-config name="Recording-Endpoint-Config">
<pre-handler-chain name="recording-handlers" protocol-bindings="##SOAP11_HTTP ##SOAP11_HTTP_MTOM ##SOAP12_HTTP ##SOAP12_HTTP_MTOM">
<handler name="RecordingHandler" class="org.jboss.ws.common.invocation.RecordingServerHandler"/>
</pre-handler-chain>
</endpoint-config>
<endpoint-config name="Custom-Endpoint-Config"> <!-- I think element would be like this format, just guess!-->
<property name="key-store-file" value="WEB-INF/wsse.keystore"/>
<property name="key-store-password" value="jbossws"/>
</endpoint-config>
</subsystem>
@WebService
@EndpointConfig(configName = "Custom-Endpoint-Config">
public class HelloJavaBean
{
.....
If you know any document or reference site, kindly inform me.
Best regards.