public final class WSSecuritySupport extends Object
| Modifier | Constructor and Description |
|---|---|
private |
WSSecuritySupport()
Private constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
addWSSE11TokenType(org.opensaml.core.xml.XMLObject soapObject,
String tokenType)
Adds a
wsse11:TokenType attribute to the given SOAP object. |
static void |
addWSSEUsage(org.opensaml.core.xml.XMLObject soapObject,
String usage)
Adds a single
wsse:Usage value to the given SOAP object. |
static void |
addWSSEUsages(org.opensaml.core.xml.XMLObject soapObject,
List<String> usages)
Adds a
wsse:Usage attribute to the given SOAP object. |
static void |
addWSUId(org.opensaml.core.xml.XMLObject soapObject,
String id)
Adds a
wsu:Id attribute to the given SOAP object. |
static String |
getWSSE11TokenType(org.opensaml.core.xml.XMLObject soapObject)
Gets the
wsse11:TokenType attribute from a given SOAP object. |
static List<String> |
getWSSEUsages(org.opensaml.core.xml.XMLObject soapObject)
Gets the list value of the
wsse:Usage attribute from the given SOAP object. |
static String |
getWSUId(org.opensaml.core.xml.XMLObject soapObject)
Gets the
wsu:Id attribute from a given SOAP object. |
public static void addWSUId(org.opensaml.core.xml.XMLObject soapObject,
String id)
wsu:Id attribute to the given SOAP object.soapObject - the SOAP object to add the attribute toid - the Id valuepublic static String getWSUId(org.opensaml.core.xml.XMLObject soapObject)
wsu:Id attribute from a given SOAP object.soapObject - the SOAP object to add the attribute topublic static void addWSSE11TokenType(org.opensaml.core.xml.XMLObject soapObject,
String tokenType)
wsse11:TokenType attribute to the given SOAP object.soapObject - the SOAP object to add the attribute totokenType - the tokenType valuepublic static String getWSSE11TokenType(org.opensaml.core.xml.XMLObject soapObject)
wsse11:TokenType attribute from a given SOAP object.soapObject - the SOAP object to add the attribute topublic static void addWSSEUsage(org.opensaml.core.xml.XMLObject soapObject,
String usage)
wsse:Usage value to the given SOAP object. If an existing wsse:Usage
attribute is present, the given usage will be added to the existing list.soapObject - the SOAP object to add the attribute tousage - the usage to addpublic static void addWSSEUsages(org.opensaml.core.xml.XMLObject soapObject,
List<String> usages)
wsse:Usage attribute to the given SOAP object.soapObject - the SOAP object to add the attribute tousages - the list of usages to addCopyright © 1999–2017 Shibboleth Consortium. All rights reserved.