public class SAML2TokenRenewer extends Object implements TokenRenewer
| Modifier and Type | Field and Description |
|---|---|
protected List<org.opensaml.xmlsec.signature.Signature> |
signatureList |
| Constructor and Description |
|---|
SAML2TokenRenewer() |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.axiom.om.OMElement |
buildResponse(org.apache.axis2.context.MessageContext inMsgCtx,
RahasData data,
org.apache.axiom.soap.SOAPEnvelope env,
String tokenType)
create the RSTR element with the token type
|
protected static org.opensaml.core.xml.XMLObject |
buildXMLObject(QName objectQName)
This method is used to build the assertion elements
|
protected org.apache.ws.security.components.crypto.Crypto |
getCrypto(org.apache.axis2.context.MessageContext inMsgCtx,
SAMLTokenIssuerConfig config)
create the crypto from configuration.
|
org.apache.axiom.soap.SOAPEnvelope |
renew(RahasData data)
Renew the token specified in the given request.
|
protected SAMLTokenIssuerConfig |
setConfig(org.apache.axis2.context.MessageContext inMsgCtx)
set the configuration for SAML 1.1 and 2.0 renewing
|
void |
setConfigurationElement(org.apache.axiom.om.OMElement configElement)
Set the configuration element of TokenRenewer.
|
void |
setConfigurationFile(String configFile)
Set the configuration file of this TokenRenewer.
|
void |
setConfigurationParamName(String configParamName)
Set the name of the configuration parameter.
|
protected List<org.opensaml.xmlsec.signature.Signature> signatureList
public org.apache.axiom.soap.SOAPEnvelope renew(RahasData data) throws TrustException
TokenRenewerrenew in interface TokenRenewerdata - A populated RahasData instanceTrustExceptionprotected static org.opensaml.core.xml.XMLObject buildXMLObject(QName objectQName) throws Exception
objectQName - Exceptionprotected SAMLTokenIssuerConfig setConfig(org.apache.axis2.context.MessageContext inMsgCtx) throws TrustException
inMsgCtx - TrustExceptionprotected org.apache.axiom.om.OMElement buildResponse(org.apache.axis2.context.MessageContext inMsgCtx,
RahasData data,
org.apache.axiom.soap.SOAPEnvelope env,
String tokenType)
throws TrustException
inMsgCtx - data - env - tokenType - TrustExceptionprotected org.apache.ws.security.components.crypto.Crypto getCrypto(org.apache.axis2.context.MessageContext inMsgCtx,
SAMLTokenIssuerConfig config)
inMsgCtx - config - public void setConfigurationFile(String configFile)
setConfigurationFile in interface TokenRenewerpublic void setConfigurationElement(org.apache.axiom.om.OMElement configElement)
setConfigurationElement in interface TokenRenewerconfigElement - OMElement representing the configurationpublic void setConfigurationParamName(String configParamName)
org.apache.axis2.description.Parameter object available in
the via the messageContext when the TokenIssuer is called.setConfigurationParamName in interface TokenRenewerParameterCopyright © 2005–2022 Apache Software Foundation. All rights reserved.