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