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
public class STSClient
- extends AbstractSTSClient
A extension of AbstractSTSClient to communicate with an STS and return a SecurityToken
to the client.
| Fields inherited from class org.apache.cxf.ws.security.trust.AbstractSTSClient |
actAs, addressingNamespace, algorithmSuite, allowRenewing, allowRenewingAfterExpiry, bus, claims, claimsCallbackHandler, client, context, ctx, enableAppliesTo, enableLifetime, endpointName, features, in, inFault, isSecureConv, isSpnego, keySize, keyType, location, message, name, namespace, onBehalfOf, out, outFault, policy, requiresEntropy, sendKeyType, sendRenewing, serviceName, soapVersion, template, tokenType, ttl, useCertificateForConfirmationKeyInfo, useKeyCertificate, wsdlLocation, wspNamespace |
|
Constructor Summary |
STSClient(org.apache.cxf.Bus b)
|
| 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, getClaims, getClaimsCallbackHandler, getClient, getContext, 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, setEnableAppliesTo, setEnableLifetime, setEndpointName, setEndpointQName, setFeatures, setInFaultInterceptors, setInInterceptors, setKeySize, setKeyType, setLocation, setMessage, setOnBehalfOf, setOnBehalfOfElement, setOutFaultInterceptors, setOutInterceptors, setPolicy, setPolicyInternal, setPolicyInternal, setPolicyInternal, setProperties, setRequiresEntropy, setSecureConv, setSendKeyType, setSendRenewing, setServiceName, setServiceQName, setSoap11, setSoap11, setSoap12, setSpnego, setTemplate, setTokenType, setTrust, 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 |
STSClient
public STSClient(org.apache.cxf.Bus b)
requestSecurityToken
public SecurityToken requestSecurityToken()
throws Exception
- Throws:
Exception
requestSecurityToken
public SecurityToken requestSecurityToken(String appliesTo)
throws Exception
- Throws:
Exception
requestSecurityToken
public SecurityToken requestSecurityToken(String appliesTo,
String binaryExchange)
throws Exception
- Throws:
Exception
requestSecurityToken
public SecurityToken requestSecurityToken(String appliesTo,
String action,
String requestType,
String binaryExchange)
throws Exception
- Throws:
Exception
renewSecurityToken
public SecurityToken renewSecurityToken(SecurityToken tok)
throws Exception
- Throws:
Exception
validateSecurityToken
public List<SecurityToken> validateSecurityToken(SecurityToken tok)
throws Exception
- Throws:
Exception
validateSecurityToken
protected List<SecurityToken> validateSecurityToken(SecurityToken tok,
String tokentype)
throws Exception
- Throws:
Exception
cancelSecurityToken
public boolean cancelSecurityToken(SecurityToken token)
throws Exception
- Throws:
Exception
Apache CXF