public class SAML2TokenIssuer extends Object implements TokenIssuer
| Modifier and Type | Field and Description |
|---|---|
protected String |
audienceRestriction |
protected List<org.opensaml.xml.signature.Signature> |
signatureList |
| Constructor and Description |
|---|
SAML2TokenIssuer() |
| Modifier and Type | Method and Description |
|---|---|
protected static org.opensaml.xml.XMLObject |
buildXMLObject(QName objectQName)
This method is used to build the assertion elements
|
protected org.opensaml.saml2.core.Assertion |
createBearerAssersion(SAMLTokenIssuerConfig config,
Document doc,
org.apache.ws.security.components.crypto.Crypto crypto,
RahasData data)
Build SAML2.0 assertion as Bearer.
|
String |
getResponseAction(RahasData data)
Returns the
wsa:Action of the response. |
org.apache.axiom.soap.SOAPEnvelope |
issue(RahasData data)
Create the response
soap:Envelope for the given issue
request. |
void |
setConfigurationElement(org.apache.axiom.om.OMElement configElement)
Set the configuration element of this TokenIssuer.
|
void |
setConfigurationFile(String configFile)
Set the configuration file of this TokenIssuer.
|
void |
setConfigurationParamName(String configParamName)
Set the name of the configuration parameter.
|
org.opensaml.saml2.core.Assertion |
setSignature(org.opensaml.saml2.core.Assertion assertion,
SignKeyHolder cred)
This method is used to sign the assertion
|
protected List<org.opensaml.xml.signature.Signature> signatureList
protected String audienceRestriction
public org.apache.axiom.soap.SOAPEnvelope issue(RahasData data) throws TrustException
TokenIssuersoap:Envelope for the given issue
request.issue in interface TokenIssuerdata - A populated RahasData instancesoap:Envelope for the given issue
request.TrustExceptionpublic org.opensaml.saml2.core.Assertion setSignature(org.opensaml.saml2.core.Assertion assertion,
SignKeyHolder cred)
throws Exception
assertion - cred - Exceptionprotected static org.opensaml.xml.XMLObject buildXMLObject(QName objectQName) throws Exception
objectQName - Exceptionprotected org.opensaml.saml2.core.Assertion createBearerAssersion(SAMLTokenIssuerConfig config, Document doc, org.apache.ws.security.components.crypto.Crypto crypto, RahasData data) throws TrustException
config - doc - crypto - data - TrustExceptionpublic String getResponseAction(RahasData data) throws TrustException
TokenIssuerwsa:Action of the response.getResponseAction in interface TokenIssuerdata - A populated RahasData instancewsa:Action of the responseTrustExceptionpublic void setConfigurationFile(String configFile)
TokenIssuersetConfigurationFile in interface TokenIssuerpublic void setConfigurationElement(org.apache.axiom.om.OMElement configElement)
TokenIssuersetConfigurationElement in interface TokenIssuerconfigElement - OMElement representing the configurationpublic void setConfigurationParamName(String configParamName)
TokenIssuerorg.apache.axis2.description.Parameter object available in
the via the messageContext when the TokenIssuer is called.setConfigurationParamName in interface TokenIssuerParameterCopyright © 2005–2019 Apache Software Foundation. All rights reserved.