Apache CXF API

org.apache.cxf.ws.security.trust
Class STSClient

java.lang.Object
  extended by org.apache.cxf.ws.security.trust.STSClient
All Implemented Interfaces:
Configurable, InterceptorProvider

public class STSClient
extends java.lang.Object
implements Configurable, InterceptorProvider


Constructor Summary
STSClient(Bus b)
           
 
Method Summary
 void cancelSecurityToken(SecurityToken token)
           
 java.lang.String getBeanName()
          Get the configurable object's Bean name
 java.util.List<AbstractFeature> getFeatures()
           
 java.util.List<Interceptor> getInFaultInterceptors()
          Returns the list of interceptors attached to the incoming fault interceptor chain of the object.
 java.util.List<Interceptor> getInInterceptors()
          Returns the list of interceptors attached to the incoming interceptor chain of the object.
 java.util.List<Interceptor> getOutFaultInterceptors()
          Returns the list of interceptors attached to the outgoing fault interceptor chain of the object.
 java.util.List<Interceptor> getOutInterceptors()
          Returns the list of interceptors attached to the outgoing interceptor chain of the object.
 java.util.Map<java.lang.String,java.lang.Object> getProperties()
           
 java.util.Map<java.lang.String,java.lang.Object> getRequestContext()
           
 boolean isRequiresEntropy()
           
 boolean isSecureConv()
           
 void renewSecurityToken(SecurityToken tok)
           
 SecurityToken requestSecurityToken()
           
 SecurityToken requestSecurityToken(java.lang.String appliesTo)
           
 SecurityToken requestSecurityToken(java.lang.String appliesTo, java.lang.String action, java.lang.String requestType, SecurityToken target)
           
 void setAddressingNamespace(java.lang.String ad)
           
 void setAlgorithmSuite(AlgorithmSuite ag)
           
 void setBeanName(java.lang.String s)
           
 void setEndpointName(java.lang.String qn)
           
 void setEndpointQName(javax.xml.namespace.QName qn)
           
 void setFeatures(java.util.List<AbstractFeature> f)
           
 void setInFaultInterceptors(java.util.List<Interceptor> interceptors)
           
 void setInInterceptors(java.util.List<Interceptor> interceptors)
           
 void setLocation(java.lang.String location)
           
 void setOutFaultInterceptors(java.util.List<Interceptor> interceptors)
           
 void setOutInterceptors(java.util.List<Interceptor> interceptors)
           
 void setPolicy(org.w3c.dom.Element policy)
           
 void setPolicy(org.apache.neethi.Policy policy)
           
 void setProperties(java.util.Map<java.lang.String,java.lang.Object> p)
           
 void setRequiresEntropy(boolean requiresEntropy)
           
 void setSecureConv(boolean secureConv)
           
 void setServiceName(java.lang.String qn)
           
 void setServiceQName(javax.xml.namespace.QName qn)
           
 void setSoap11()
           
 void setSoap11(boolean b)
           
 void setSoap12()
           
 void setTemplate(org.w3c.dom.Element rstTemplate)
           
 void setTrust(Trust10 trust)
           
 void setTrust(Trust13 trust)
           
 void setWsdlLocation(java.lang.String wsdl)
           
 boolean validateSecurityToken(SecurityToken tok)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

STSClient

public STSClient(Bus b)
Method Detail

getBeanName

public java.lang.String getBeanName()
Description copied from interface: Configurable
Get the configurable object's Bean name

Specified by:
getBeanName in interface Configurable
Returns:
the bean name

setBeanName

public void setBeanName(java.lang.String s)

setLocation

public void setLocation(java.lang.String location)

setPolicy

public void setPolicy(org.apache.neethi.Policy policy)

setPolicy

public void setPolicy(org.w3c.dom.Element policy)

setSoap12

public void setSoap12()

setSoap11

public void setSoap11()

setSoap11

public void setSoap11(boolean b)

setAddressingNamespace

public void setAddressingNamespace(java.lang.String ad)

setTrust

public void setTrust(Trust10 trust)

setTrust

public void setTrust(Trust13 trust)

isRequiresEntropy

public boolean isRequiresEntropy()

setRequiresEntropy

public void setRequiresEntropy(boolean requiresEntropy)

isSecureConv

public boolean isSecureConv()

setSecureConv

public void setSecureConv(boolean secureConv)

setAlgorithmSuite

public void setAlgorithmSuite(AlgorithmSuite ag)

getRequestContext

public java.util.Map<java.lang.String,java.lang.Object> getRequestContext()

setProperties

public void setProperties(java.util.Map<java.lang.String,java.lang.Object> p)

getProperties

public java.util.Map<java.lang.String,java.lang.Object> getProperties()

setWsdlLocation

public void setWsdlLocation(java.lang.String wsdl)

setServiceName

public void setServiceName(java.lang.String qn)

setEndpointName

public void setEndpointName(java.lang.String qn)

setServiceQName

public void setServiceQName(javax.xml.namespace.QName qn)

setEndpointQName

public void setEndpointQName(javax.xml.namespace.QName qn)

requestSecurityToken

public SecurityToken requestSecurityToken()
                                   throws java.lang.Exception
Throws:
java.lang.Exception

requestSecurityToken

public SecurityToken requestSecurityToken(java.lang.String appliesTo)
                                   throws java.lang.Exception
Throws:
java.lang.Exception

requestSecurityToken

public SecurityToken requestSecurityToken(java.lang.String appliesTo,
                                          java.lang.String action,
                                          java.lang.String requestType,
                                          SecurityToken target)
                                   throws java.lang.Exception
Throws:
java.lang.Exception

renewSecurityToken

public void renewSecurityToken(SecurityToken tok)
                        throws java.lang.Exception
Throws:
java.lang.Exception

validateSecurityToken

public boolean validateSecurityToken(SecurityToken tok)
                              throws java.lang.Exception
Throws:
java.lang.Exception

cancelSecurityToken

public void cancelSecurityToken(SecurityToken token)
                         throws java.lang.Exception
Throws:
java.lang.Exception

setTemplate

public void setTemplate(org.w3c.dom.Element rstTemplate)

getOutFaultInterceptors

public java.util.List<Interceptor> getOutFaultInterceptors()
Description copied from interface: InterceptorProvider
Returns the list of interceptors attached to the outgoing fault interceptor chain of the object.

Specified by:
getOutFaultInterceptors in interface InterceptorProvider
Returns:
List outgoing fault interceptor chain

getInFaultInterceptors

public java.util.List<Interceptor> getInFaultInterceptors()
Description copied from interface: InterceptorProvider
Returns the list of interceptors attached to the incoming fault interceptor chain of the object.

Specified by:
getInFaultInterceptors in interface InterceptorProvider
Returns:
List incoming fault interceptor chain

getInInterceptors

public java.util.List<Interceptor> getInInterceptors()
Description copied from interface: InterceptorProvider
Returns the list of interceptors attached to the incoming interceptor chain of the object.

Specified by:
getInInterceptors in interface InterceptorProvider
Returns:
List incoming interceptor chain

getOutInterceptors

public java.util.List<Interceptor> getOutInterceptors()
Description copied from interface: InterceptorProvider
Returns the list of interceptors attached to the outgoing interceptor chain of the object.

Specified by:
getOutInterceptors in interface InterceptorProvider
Returns:
List outgoing interceptor chain

setInInterceptors

public void setInInterceptors(java.util.List<Interceptor> interceptors)

setInFaultInterceptors

public void setInFaultInterceptors(java.util.List<Interceptor> interceptors)

setOutInterceptors

public void setOutInterceptors(java.util.List<Interceptor> interceptors)

setOutFaultInterceptors

public void setOutFaultInterceptors(java.util.List<Interceptor> interceptors)

setFeatures

public void setFeatures(java.util.List<AbstractFeature> f)

getFeatures

public java.util.List<AbstractFeature> getFeatures()

Apache CXF API

Apache CXF