java.lang.Object
com.sun.xml.wss.impl.keyinfo.KeyInfoStrategy
com.sun.xml.wss.impl.keyinfo.KeyNameStrategy
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAlias()voidinsertKey(KeyInfoHeaderBlock keyInfo, SecurableSoapMessage secureMsg, String x509TokenId) insert the Key Information into a ds:KeyInfo using the appropriate schemevoidinsertKey(SecurityTokenReference tokenRef, SecurableSoapMessage secureMsg) insert the Key Information into a SecurityTokenReference using the appropriate schemevoidSets the certificate corresponding to the security operationvoidsetKeyName(String name) Methods inherited from class com.sun.xml.wss.impl.keyinfo.KeyInfoStrategy
getInstance
-
Field Details
-
log
-
-
Constructor Details
-
KeyNameStrategy
public KeyNameStrategy() -
KeyNameStrategy
-
-
Method Details
-
insertKey
Description copied from class:KeyInfoStrategyinsert the Key Information into a SecurityTokenReference using the appropriate scheme- Specified by:
insertKeyin classKeyInfoStrategy- Parameters:
tokenRef- the SecurityTokenReference into which the Key Information has to be inserted.secureMsg- the SecurableSoapMessage
-
insertKey
public void insertKey(KeyInfoHeaderBlock keyInfo, SecurableSoapMessage secureMsg, String x509TokenId) Description copied from class:KeyInfoStrategyinsert the Key Information into a ds:KeyInfo using the appropriate scheme- Specified by:
insertKeyin classKeyInfoStrategy- Parameters:
keyInfo- the KeyInfo block into which the Key Information has to be inserted.secureMsg- the SecurableSoapMessagex509TokenId- value of the <xwss:X509Token>/@id in config file
-
setCertificate
Description copied from class:KeyInfoStrategySets the certificate corresponding to the security operation- Specified by:
setCertificatein classKeyInfoStrategy
-
getKeyName
-
getAlias
- Specified by:
getAliasin classKeyInfoStrategy
-
setKeyName
-