| 1 | <?php |
||
| 4 | abstract class AbstractWsSecurityFilter |
||
| 5 | { |
||
| 6 | /** |
||
| 7 | * Web Services Security Utility namespace. |
||
| 8 | */ |
||
| 9 | const NS_WSU = 'http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd'; |
||
| 10 | |||
| 11 | /** |
||
| 12 | * Web Services Security Extension namespace. |
||
| 13 | */ |
||
| 14 | const NS_WSS = 'http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd'; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * Service SecurityKeyPair. |
||
| 18 | * |
||
| 19 | * @var SecurityKeyPair |
||
| 20 | */ |
||
| 21 | protected $serviceSecurityKey; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * User SecurityKeyPair. |
||
| 25 | * |
||
| 26 | * @var SecurityKeyPair |
||
| 27 | */ |
||
| 28 | protected $userSecurityKey; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * Set service security key. |
||
| 32 | * |
||
| 33 | * @param SecurityKeyPair $serviceSecurityKey Service security key |
||
| 34 | * |
||
| 35 | * @return void |
||
| 36 | */ |
||
| 37 | public function setServiceSecurityKeyObject(SecurityKeyPair $serviceSecurityKey) |
||
| 41 | |||
| 42 | /** |
||
| 43 | * Set user security key. |
||
| 44 | * |
||
| 45 | * @param SecurityKeyPair $userSecurityKey User security key |
||
| 46 | * |
||
| 47 | * @return void |
||
| 48 | */ |
||
| 49 | public function setUserSecurityKeyObject(SecurityKeyPair $userSecurityKey) |
||
| 53 | } |
||
| 54 |