| <service name="sec_echo"> |
| <parameter name="ServiceClass" locked="xsd:false">sec_echo</parameter> |
| |
| <description> |
| This is a testing service , to test the system is working or not |
| </description> |
| <module ref="rampart"/> |
| <operation name="echoString"> |
| <parameter name="wsamapping">http://example.com/ws/2004/09/policy/Test/EchoRequest</parameter> |
| </operation> |
| |
| <wsp:Policy xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"> |
| <wsp:ExactlyOne> |
| <wsp:All> |
| <sp:SymmetricBinding xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"> |
| <wsp:Policy> |
| <sp:ProtectionToken> |
| <wsp:Policy> |
| <sp:SecurityContextToken sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/Never"> |
| <wsp:Policy> |
| <sp:SC10SecurityContextToken/> |
| </wsp:Policy> |
| </sp:SecurityContextToken> |
| </wsp:Policy> |
| </sp:ProtectionToken> |
| <sp:AlgorithmSuite> |
| <wsp:Policy> |
| <sp:Basic256/> |
| </wsp:Policy> |
| </sp:AlgorithmSuite> |
| <sp:Layout> |
| <wsp:Policy> |
| <sp:Strict/> |
| </wsp:Policy> |
| </sp:Layout> |
| <sp:IncludeTimestamp/> |
| <sp:OnlySignEntireHeadersAndBody/> |
| </wsp:Policy> |
| </sp:SymmetricBinding> |
| <sp:SignedSupportingTokens xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"> |
| <wsp:Policy> |
| <sp:UsernameToken sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/Always"/> |
| </wsp:Policy> |
| </sp:SignedSupportingTokens> |
| <sp:Wss10 xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"> |
| <wsp:Policy> |
| <sp:MustSupportRefKeyIdentifier/> |
| <sp:MustSupportRefEmbeddedToken/> |
| <sp:MustSupportRefIssuerSerial/> |
| </wsp:Policy> |
| </sp:Wss10> |
| <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"> |
| <sp:Body/> |
| </sp:EncryptedParts> |
| <rampc:RampartConfig xmlns:rampc="http://ws.apache.org/rampart/c/policy"> |
| <rampc:User>Bob</rampc:User> |
| <rampc:PasswordType>Digest</rampc:PasswordType> |
| <rampc:PasswordCallbackClass>AXIS2C_HOME/samples/lib/rampartc/libpwcb.so</rampc:PasswordCallbackClass> |
| <rampc:SecurityContextTokenProvider>AXIS2C_HOME/samples/lib/rampartc/libsctprovider.so</rampc:SecurityContextTokenProvider> |
| </rampc:RampartConfig> |
| </wsp:All> |
| </wsp:ExactlyOne> |
| </wsp:Policy> |
| </service> |