Class SecurityTokenServiceClient

  • All Implemented Interfaces:
    org.apache.cxf.configuration.Configurable, org.apache.cxf.interceptor.InterceptorProvider

    public class SecurityTokenServiceClient
    extends org.apache.cxf.ws.security.trust.STSClient
    Since:
    5.1.0
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.apache.cxf.ws.security.trust.AbstractSTSClient

        org.apache.cxf.ws.security.trust.AbstractSTSClient.STSResponse
    • Field Summary

      • Fields inherited from class org.apache.cxf.ws.security.trust.AbstractSTSClient

        actAs, addressingNamespace, algorithmSuite, allowRenewing, allowRenewingAfterExpiry, bus, claims, claimsCallbackHandler, client, context, ctx, customContent, enableAppliesTo, enableLifetime, endpointName, features, in, inFault, isSecureConv, isSpnego, keySize, keyType, location, message, name, namespace, onBehalfOf, out, outFault, policy, requiresEntropy, sendKeyType, sendRenewing, serviceName, soapVersion, template, tlsClientParameters, tokenType, ttl, useCertificateForConfirmationKeyInfo, useKeyCertificate, wsdlLocation, wspNamespace
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.w3c.dom.Element requestSecurityTokenResponse​(java.lang.String appliesTo)
      Request security token response element.
      org.w3c.dom.Element requestSecurityTokenResponse​(java.lang.String appliesTo, java.lang.String action, java.lang.String requestType, org.apache.cxf.ws.security.tokenstore.SecurityToken target)
      Request security token response element.
      • Methods inherited from class org.apache.cxf.ws.security.trust.STSClient

        cancelSecurityToken, renewSecurityToken, requestSecurityToken, requestSecurityToken, requestSecurityToken, requestSecurityToken, validateSecurityToken, validateSecurityToken
      • Methods inherited from class org.apache.cxf.ws.security.trust.AbstractSTSClient

        addAppliesTo, addBinaryExchange, addClaims, addKeySize, addLifetime, addRequestType, addTokenType, cancel, configureViaEPR, createClient, createCrypto, createHandler, createSecurityToken, decryptKey, findID, findMEXLocation, findMEXLocation, findOperation, getActAsToken, getAddressingAssertion, getBeanName, getCert, getClaimsCallbackHandler, getClient, getContext, getCustomContent, getDelegationSecurityToken, getDocumentElement, getEndpointQName, getFeatures, getIDFromSTR, getInFaultInterceptors, getInInterceptors, getKeySize, getLocation, getOnBehalfOfToken, getOutFaultInterceptors, getOutInterceptors, getProperties, getProperty, getRequestContext, getServiceQName, getTokenType, getUseKeyCertificate, getWsdlLocation, getWspNamespace, isAllowRenewing, isAllowRenewingAfterExpiry, isEnableAppliesTo, isRequiresEntropy, isSecureConv, isSpnego, issue, isUseCertificateForConfirmationKeyInfo, renew, setActAs, setAddressingNamespace, setAlgorithmSuite, setAllowRenewing, setAllowRenewingAfterExpiry, setBeanName, setClaims, setClaimsCallbackHandler, setContext, setCustomContent, setEnableAppliesTo, setEnableLifetime, setEndpointName, setEndpointQName, setFeatures, setInFaultInterceptors, setInInterceptors, setKeySize, setKeyType, setLocation, setMessage, setNamespace, setOnBehalfOf, setOnBehalfOfElement, setOutFaultInterceptors, setOutInterceptors, setPolicy, setPolicyInternal, setPolicyInternal, setPolicyInternal, setProperties, setRequiresEntropy, setSecureConv, setSendKeyType, setSendRenewing, setServiceName, setServiceQName, setSoap11, setSoap11, setSoap12, setSpnego, setTemplate, setTlsClientParameters, setTokenType, setTrust, setTtl, setUseCertificateForConfirmationKeyInfo, setUseKeyCertificate, setWsdlLocation, setWspNamespace, useSecondaryParameters, validate, writeElementsForRSTPublicKey, writeElementsForRSTSymmetricKey, writeKeyType
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SecurityTokenServiceClient

        public SecurityTokenServiceClient​(org.apache.cxf.Bus b)
    • Method Detail

      • requestSecurityTokenResponse

        public org.w3c.dom.Element requestSecurityTokenResponse​(java.lang.String appliesTo)
                                                         throws java.lang.Exception
        Request security token response element.
        Parameters:
        appliesTo - the applies to
        Returns:
        the element
        Throws:
        java.lang.Exception - the exception
      • requestSecurityTokenResponse

        public org.w3c.dom.Element requestSecurityTokenResponse​(java.lang.String appliesTo,
                                                                java.lang.String action,
                                                                java.lang.String requestType,
                                                                org.apache.cxf.ws.security.tokenstore.SecurityToken target)
                                                         throws java.lang.Exception
        Request security token response element.
        Parameters:
        appliesTo - the applies to
        action - the action
        requestType - the request type
        target - the target
        Returns:
        the element
        Throws:
        java.lang.Exception - the exception