final SecurityServiceConfig ss = getDefaultSecurityServiceConfig( domainRoot );
final Map<String,String> optional = new HashMap<String,String>();
final MessageSecurityConfig msc = ss.createMessageSecurityConfig( authLayer,
"ClientProvider", ProviderConfig.PROVIDER_TYPE_CLIENT,
"com.sun.xml.wss.provider.ClientSecurityAuthModul", optional );
msc.createProviderConfig( "ServerProvider",
ProviderConfig.PROVIDER_TYPE_SERVER, "com.sun.xml.wss.provider.ServerSecurityAuthModule", optional );
msc.createProviderConfig( "DummyProvider1",
ProviderConfig.PROVIDER_TYPE_SERVER, "AMX.TEST.DummySecurityAuthModule", optional );
msc.createProviderConfig( "DummyProvider2",
ProviderConfig.PROVIDER_TYPE_SERVER, "AMX.TEST.DummySecurityAuthModule", optional );
msc.removeProviderConfig( "DummyProvider1" );
msc.removeProviderConfig( "DummyProvider2" );
return msc;