public final class TokenProviderUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static Element |
encryptToken(Element element,
String id,
STSPropertiesMBean stsProperties,
EncryptionProperties encryptionProperties,
KeyRequirements keyRequirements,
Map<String,Object> messageContext)
Encrypt a Token element using the given arguments.
|
static String |
extractAddressFromParticipantsEPR(Object participants)
Extract an address from a Participants EPR DOM element
|
static X509Certificate |
getReqSigCert(Map<String,Object> messageContext)
Get the X509Certificate associated with the signature that was received.
|
public static String extractAddressFromParticipantsEPR(Object participants)
public static Element encryptToken(Element element, String id, STSPropertiesMBean stsProperties, EncryptionProperties encryptionProperties, KeyRequirements keyRequirements, Map<String,Object> messageContext) throws org.apache.wss4j.common.ext.WSSecurityException
org.apache.wss4j.common.ext.WSSecurityExceptionpublic static X509Certificate getReqSigCert(Map<String,Object> messageContext)
Apache CXF