|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cxf.ws.security.trust.STSClient
public class STSClient
Constructor Summary | |
---|---|
STSClient(Bus b)
|
Method Summary | |
---|---|
void |
cancelSecurityToken(SecurityToken token)
|
String |
getBeanName()
Get the configurable object's Bean name |
QName |
getEndpointQName()
|
List<AbstractFeature> |
getFeatures()
|
List<Interceptor<? extends Message>> |
getInFaultInterceptors()
Returns the list of interceptors attached to the incoming fault interceptor chain of the object. |
List<Interceptor<? extends Message>> |
getInInterceptors()
Returns the list of interceptors attached to the incoming interceptor chain of the object. |
int |
getKeySize()
|
List<Interceptor<? extends Message>> |
getOutFaultInterceptors()
Returns the list of interceptors attached to the outgoing fault interceptor chain of the object. |
List<Interceptor<? extends Message>> |
getOutInterceptors()
Returns the list of interceptors attached to the outgoing interceptor chain of the object. |
Map<String,Object> |
getProperties()
|
Map<String,Object> |
getRequestContext()
|
QName |
getServiceQName()
|
String |
getWsdlLocation()
|
boolean |
isRequiresEntropy()
|
boolean |
isSecureConv()
|
boolean |
isUseCertificateForConfirmationKeyInfo()
|
void |
renewSecurityToken(SecurityToken tok)
|
SecurityToken |
requestSecurityToken()
|
SecurityToken |
requestSecurityToken(String appliesTo)
|
SecurityToken |
requestSecurityToken(String appliesTo,
String action,
String requestType,
SecurityToken target)
|
void |
setActAs(Object actAs)
|
void |
setAddressingNamespace(String ad)
|
void |
setAlgorithmSuite(AlgorithmSuite ag)
|
void |
setBeanName(String s)
|
void |
setEndpointName(String qn)
|
void |
setEndpointQName(QName qn)
|
void |
setFeatures(List<AbstractFeature> f)
|
void |
setInFaultInterceptors(List<Interceptor<? extends Message>> interceptors)
|
void |
setInInterceptors(List<Interceptor<? extends Message>> interceptors)
|
void |
setKeySize(int i)
|
void |
setKeyType(String keyType)
|
void |
setLocation(String location)
|
void |
setOnBehalfOfElement(Element onBehalfOfElement)
|
void |
setOutFaultInterceptors(List<Interceptor<? extends Message>> interceptors)
|
void |
setOutInterceptors(List<Interceptor<? extends Message>> interceptors)
|
void |
setPolicy(Object newPolicy)
Sets the WS-P policy that is applied to communications between this client and the remote server if no value is supplied for setWsdlLocation(String) . |
protected void |
setPolicyInternal(Element newPolicy)
|
protected void |
setPolicyInternal(org.apache.neethi.Policy newPolicy)
|
void |
setProperties(Map<String,Object> p)
|
void |
setRequiresEntropy(boolean requiresEntropy)
|
void |
setSecureConv(boolean secureConv)
|
void |
setSendKeyType(boolean sendKeyType)
|
void |
setServiceName(String qn)
|
void |
setServiceQName(QName qn)
|
void |
setSoap11()
|
void |
setSoap11(boolean b)
|
void |
setSoap12()
|
void |
setTemplate(Element rstTemplate)
|
void |
setTokenType(String tokenType)
|
void |
setTrust(Trust10 trust)
|
void |
setTrust(Trust13 trust)
|
void |
setUseCertificateForConfirmationKeyInfo(boolean useCertificate)
Indicate whether to use the signer's public X509 certificate for the subject confirmation key info when creating a RequestsSecurityToken message. |
void |
setWsdlLocation(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 |
---|
public STSClient(Bus b)
Method Detail |
---|
public String getBeanName()
Configurable
getBeanName
in interface Configurable
public void setBeanName(String s)
public void setLocation(String location)
public void setPolicy(Object newPolicy)
setWsdlLocation(String)
.
Accepts Policy
or Element
as input.
newPolicy
- the policy object
IllegalArgumentException
- if newPolicy
is not one of the supported types.public void setSoap12()
public void setSoap11()
public void setSoap11(boolean b)
public void setAddressingNamespace(String ad)
public void setTrust(Trust10 trust)
public void setTrust(Trust13 trust)
public boolean isRequiresEntropy()
public void setRequiresEntropy(boolean requiresEntropy)
public boolean isSecureConv()
public void setSecureConv(boolean secureConv)
public void setAlgorithmSuite(AlgorithmSuite ag)
public Map<String,Object> getRequestContext()
public void setProperties(Map<String,Object> p)
public Map<String,Object> getProperties()
public void setWsdlLocation(String wsdl)
public String getWsdlLocation()
public void setServiceName(String qn)
public void setEndpointName(String qn)
public void setServiceQName(QName qn)
public QName getServiceQName()
public void setEndpointQName(QName qn)
public QName getEndpointQName()
public void setActAs(Object actAs)
public void setKeySize(int i)
public int getKeySize()
public void setTokenType(String tokenType)
public void setSendKeyType(boolean sendKeyType)
public void setKeyType(String keyType)
public void setOnBehalfOfElement(Element onBehalfOfElement)
public void setUseCertificateForConfirmationKeyInfo(boolean useCertificate)
public boolean isUseCertificateForConfirmationKeyInfo()
protected void setPolicyInternal(org.apache.neethi.Policy newPolicy)
protected void setPolicyInternal(Element newPolicy)
public SecurityToken requestSecurityToken() throws Exception
Exception
public SecurityToken requestSecurityToken(String appliesTo) throws Exception
Exception
public SecurityToken requestSecurityToken(String appliesTo, String action, String requestType, SecurityToken target) throws Exception
Exception
public void renewSecurityToken(SecurityToken tok) throws Exception
Exception
public boolean validateSecurityToken(SecurityToken tok) throws Exception
Exception
public void cancelSecurityToken(SecurityToken token) throws Exception
Exception
public void setTemplate(Element rstTemplate)
public List<Interceptor<? extends Message>> getOutFaultInterceptors()
InterceptorProvider
getOutFaultInterceptors
in interface InterceptorProvider
List
outgoing fault interceptor chainpublic List<Interceptor<? extends Message>> getInFaultInterceptors()
InterceptorProvider
getInFaultInterceptors
in interface InterceptorProvider
List
incoming fault interceptor chainpublic List<Interceptor<? extends Message>> getInInterceptors()
InterceptorProvider
getInInterceptors
in interface InterceptorProvider
List
incoming interceptor chainpublic List<Interceptor<? extends Message>> getOutInterceptors()
InterceptorProvider
getOutInterceptors
in interface InterceptorProvider
List
outgoing interceptor chainpublic void setInInterceptors(List<Interceptor<? extends Message>> interceptors)
public void setInFaultInterceptors(List<Interceptor<? extends Message>> interceptors)
public void setOutInterceptors(List<Interceptor<? extends Message>> interceptors)
public void setOutFaultInterceptors(List<Interceptor<? extends Message>> interceptors)
public void setFeatures(List<AbstractFeature> f)
public List<AbstractFeature> getFeatures()
|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |