Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <wsp:Policy wsu:Id="UTOverTransport"
- xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
- <wsp:ExactlyOne>
- <wsp:All>
- <sp:TransportBinding xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
- <wsp:Policy>
- <sp:TransportToken>
- <wsp:Policy>
- <sp:HttpsToken RequireClientCertificate="false"/>
- </wsp:Policy>
- </sp:TransportToken>
- <sp:AlgorithmSuite>
- <wsp:Policy>
- <sp:Basic256/>
- </wsp:Policy>
- </sp:AlgorithmSuite>
- <sp:Layout>
- <wsp:Policy>
- <sp:Lax/>
- </wsp:Policy>
- </sp:Layout>
- </wsp:Policy>
- </sp:TransportBinding>
- <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/AlwaysToRecipient"/>
- </wsp:Policy>
- </sp:SignedSupportingTokens>
- </wsp:All>
- </wsp:ExactlyOne>
- <rampart:RampartConfig xmlns:rampart="http://ws.apache.org/rampart/policy">
- <rampart:user>wso2carbon</rampart:user>
- <rampart:encryptionUser>useReqSigCert</rampart:encryptionUser>
- <rampart:timestampPrecisionInMilliseconds>true</rampart:timestampPrecisionInMilliseconds>
- <rampart:timestampTTL>300</rampart:timestampTTL>
- <rampart:timestampMaxSkew>300</rampart:timestampMaxSkew>
- <rampart:timestampStrict>false</rampart:timestampStrict>
- <rampart:tokenStoreClass>org.wso2.carbon.security.util.SecurityTokenStore</rampart:tokenStoreClass>
- <rampart:nonceLifeTime>300</rampart:nonceLifeTime>
- </rampart:RampartConfig>
- <sec:CarbonSecConfig xmlns:sec="http://www.wso2.org/products/carbon/security">
- <sec:Authorization>
- <sec:property name="org.wso2.carbon.security.allowedroles">Internal/everyone</sec:property>
- </sec:Authorization>
- </sec:CarbonSecConfig>
- </wsp:Policy>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement