Package org.apache.cxf.ws.security.trust
Class STSClient
java.lang.Object
org.apache.cxf.ws.security.trust.AbstractSTSClient
org.apache.cxf.ws.security.trust.STSClient
- All Implemented Interfaces:
org.apache.cxf.configuration.Configurable,org.apache.cxf.interceptor.InterceptorProvider
A extension of AbstractSTSClient to communicate with an STS and return a SecurityToken
to the client.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.cxf.ws.security.trust.AbstractSTSClient
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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancancelSecurityToken(SecurityToken token) requestSecurityToken(String appliesTo) requestSecurityToken(String appliesTo, String binaryExchange) requestSecurityToken(String appliesTo, String action, String requestType, String binaryExchange) protected List<SecurityToken>validateSecurityToken(SecurityToken tok, String tokentype) 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, 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
-
Constructor Details
-
STSClient
public STSClient(org.apache.cxf.Bus b)
-
-
Method Details
-
requestSecurityToken
- Throws:
Exception
-
requestSecurityToken
- Throws:
Exception
-
requestSecurityToken
- Throws:
Exception
-
requestSecurityToken
public SecurityToken requestSecurityToken(String appliesTo, String action, String requestType, String binaryExchange) throws Exception - Throws:
Exception
-
renewSecurityToken
- Throws:
Exception
-
validateSecurityToken
- Throws:
Exception
-
validateSecurityToken
protected List<SecurityToken> validateSecurityToken(SecurityToken tok, String tokentype) throws Exception - Throws:
Exception
-
cancelSecurityToken
- Throws:
Exception
-