开发者

Example of outMessagePolicy option in WSPolicy class in WSO2 WSF/PHP

开发者 https://www.devze.com 2023-03-30 14:53 出处:网络
i need some information on how to put data in this property. In docs there\'s no info, google is dumb about this. All i need is tiny little example how to initialize this:) My code looks like this:

i need some information on how to put data in this property. In docs there's no info, google is dumb about this. All i need is tiny little example how to initialize this:) My code looks like this:

$some_sec_array = array(); // h开发者_StackOverflow中文版ere, give my anything
$policy = new WSPolicy(array("outMessagePolicy"=>$some_sec_array));


outMessagePolicy accepts the same keys than the basic WSPolicy object, it's just a way to separate inbound and outbound policies. So you can use the keys defined in the API documentation:

sign
encrypt
algorithmSuite
layout
includeTimeStamp
protectionOrder
useUsernameToken
securityTokenReference
encryptSignature
binding
0

精彩评论

暂无评论...
验证码 换一张
取 消