org.apache.cxf.ws.security.trust
Class STSClient
java.lang.Object
org.apache.cxf.ws.security.trust.STSClient
- All Implemented Interfaces:
- Configurable, InterceptorProvider
public class STSClient
- extends Object
- implements Configurable, InterceptorProvider
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
STSClient
public STSClient(Bus b)
getBeanName
public 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(String s)
setLocation
public void setLocation(String location)
setPolicy
public void setPolicy(org.apache.neethi.Policy policy)
setPolicy
public void setPolicy(Element policy)
setSoap12
public void setSoap12()
setSoap11
public void setSoap11()
setSoap11
public void setSoap11(boolean b)
setAddressingNamespace
public void setAddressingNamespace(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 Map<String,Object> getRequestContext()
setProperties
public void setProperties(Map<String,Object> p)
getProperties
public Map<String,Object> getProperties()
setWsdlLocation
public void setWsdlLocation(String wsdl)
setServiceName
public void setServiceName(String qn)
setEndpointName
public void setEndpointName(String qn)
setServiceQName
public void setServiceQName(QName qn)
setEndpointQName
public void setEndpointQName(QName qn)
setKeySize
public void setKeySize(int i)
getKeySize
public int getKeySize()
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 action,
String requestType,
SecurityToken target)
throws Exception
- Throws:
Exception
renewSecurityToken
public void renewSecurityToken(SecurityToken tok)
throws Exception
- Throws:
Exception
validateSecurityToken
public boolean validateSecurityToken(SecurityToken tok)
throws Exception
- Throws:
Exception
cancelSecurityToken
public void cancelSecurityToken(SecurityToken token)
throws Exception
- Throws:
Exception
setTemplate
public void setTemplate(Element rstTemplate)
getOutFaultInterceptors
public 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 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 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 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(List<Interceptor> interceptors)
setInFaultInterceptors
public void setInFaultInterceptors(List<Interceptor> interceptors)
setOutInterceptors
public void setOutInterceptors(List<Interceptor> interceptors)
setOutFaultInterceptors
public void setOutFaultInterceptors(List<Interceptor> interceptors)
setFeatures
public void setFeatures(List<AbstractFeature> f)
getFeatures
public List<AbstractFeature> getFeatures()
Apache CXF