开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜