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 WSSecurityException
WSSecurityException
public static X509Certificate getReqSigCert(Map<String,Object> messageContext)
Copyright © 2019 JBoss by Red Hat. All rights reserved.