|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cxf.ws.security.trust.STSClient
public class STSClient
| Constructor Summary | |
|---|---|
STSClient(org.apache.cxf.Bus b)
|
|
| Method Summary | |
|---|---|
void |
cancelSecurityToken(SecurityToken token)
|
String |
getBeanName()
|
List<org.apache.cxf.feature.AbstractFeature> |
getFeatures()
|
List<org.apache.cxf.interceptor.Interceptor> |
getInFaultInterceptors()
|
List<org.apache.cxf.interceptor.Interceptor> |
getInInterceptors()
|
int |
getKeySize()
|
List<org.apache.cxf.interceptor.Interceptor> |
getOutFaultInterceptors()
|
List<org.apache.cxf.interceptor.Interceptor> |
getOutInterceptors()
|
Map<String,Object> |
getProperties()
|
Map<String,Object> |
getRequestContext()
|
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<org.apache.cxf.feature.AbstractFeature> f)
|
void |
setInFaultInterceptors(List<org.apache.cxf.interceptor.Interceptor> interceptors)
|
void |
setInInterceptors(List<org.apache.cxf.interceptor.Interceptor> interceptors)
|
void |
setKeySize(int i)
|
void |
setLocation(String location)
|
void |
setOutFaultInterceptors(List<org.apache.cxf.interceptor.Interceptor> interceptors)
|
void |
setOutInterceptors(List<org.apache.cxf.interceptor.Interceptor> interceptors)
|
void |
setPolicy(Element newPolicy)
Deprecated. This method and its overloaded counterpart setPolicy(Policy) will be removed in
future versions to facilitate configuration through inversion of control containers such as
the Spring Framework. Use setPolicy(Object) instead. |
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). |
void |
setPolicy(org.apache.neethi.Policy newPolicy)
Deprecated. This method and its overloaded counterpart setPolicy(Element) will be removed in
future versions to facilitate configuration through inversion of control containers such as
the Spring Framework. Use setPolicy(Object) instead. |
protected void |
setPolicyInternal(Element newPolicy)
|
protected void |
setPolicyInternal(org.apache.neethi.Policy newPolicy)
|
void |
setPolicyObject(Object newPolicy)
Deprecated. This method exists to allow the use of inversion of control containers such as the Spring Framework to configure an instance of this class while the overloaded and deprecated methods are still present. This method will be removed in future versions along with the previously existing deprecated methods. |
void |
setProperties(Map<String,Object> p)
|
void |
setRequiresEntropy(boolean requiresEntropy)
|
void |
setSecureConv(boolean secureConv)
|
void |
setServiceName(String qn)
|
void |
setServiceQName(QName qn)
|
void |
setSoap11()
|
void |
setSoap11(boolean b)
|
void |
setSoap12()
|
void |
setTemplate(Element rstTemplate)
|
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(org.apache.cxf.Bus b)
| Method Detail |
|---|
public String getBeanName()
getBeanName in interface org.apache.cxf.configuration.Configurablepublic 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.@Deprecated public void setPolicyObject(Object newPolicy)
setWsdlLocation(String).
newPolicy - the policy objectsetPolicy(Object),
setPolicy(Element),
setPolicy(Policy)@Deprecated public void setPolicy(org.apache.neethi.Policy newPolicy)
setPolicy(Element) will be removed in
future versions to facilitate configuration through inversion of control containers such as
the Spring Framework. Use setPolicy(Object) instead.
setWsdlLocation(String).
newPolicy - the policy objectpublic void setPolicy(Element newPolicy)
setPolicy(Policy) will be removed in
future versions to facilitate configuration through inversion of control containers such as
the Spring Framework. Use setPolicy(Object) instead.
setWsdlLocation(String).
newPolicy - the policy DOM structurepublic 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 void setServiceName(String qn)
public void setEndpointName(String qn)
public void setServiceQName(QName qn)
public void setEndpointQName(QName qn)
public void setActAs(Object actAs)
public void setKeySize(int i)
public int getKeySize()
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
Exceptionpublic void setTemplate(Element rstTemplate)
public List<org.apache.cxf.interceptor.Interceptor> getOutFaultInterceptors()
getOutFaultInterceptors in interface org.apache.cxf.interceptor.InterceptorProviderpublic List<org.apache.cxf.interceptor.Interceptor> getInFaultInterceptors()
getInFaultInterceptors in interface org.apache.cxf.interceptor.InterceptorProviderpublic List<org.apache.cxf.interceptor.Interceptor> getInInterceptors()
getInInterceptors in interface org.apache.cxf.interceptor.InterceptorProviderpublic List<org.apache.cxf.interceptor.Interceptor> getOutInterceptors()
getOutInterceptors in interface org.apache.cxf.interceptor.InterceptorProviderpublic void setInInterceptors(List<org.apache.cxf.interceptor.Interceptor> interceptors)
public void setInFaultInterceptors(List<org.apache.cxf.interceptor.Interceptor> interceptors)
public void setOutInterceptors(List<org.apache.cxf.interceptor.Interceptor> interceptors)
public void setOutFaultInterceptors(List<org.apache.cxf.interceptor.Interceptor> interceptors)
public void setFeatures(List<org.apache.cxf.feature.AbstractFeature> f)
public List<org.apache.cxf.feature.AbstractFeature> getFeatures()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||