|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.rahas.client.STSClient
Constructor Summary | |
STSClient(org.apache.axis2.context.ConfigurationContext configCtx)
|
Method Summary | |
boolean |
cancelToken(String issuerAddress,
String tokenId,
String action)
Cancel a particular security token |
Token |
requestSecurityToken(org.apache.neethi.Policy servicePolicy,
String issuerAddress,
org.apache.neethi.Policy issuerPolicy,
String appliesTo)
|
void |
setAction(String action)
|
void |
setAddressingNs(String addressingNs)
|
void |
setAlgorithmSuite(AlgorithmSuite algorithmSuite)
This can be used in the case where the AlgorithmSuite is not specified in the given policy. |
void |
setCryptoInfo(org.apache.ws.security.components.crypto.Crypto crypto,
CallbackHandler cbHandler)
Sets the crypto information required to process the RSTR. |
void |
setCryptoInfo(org.apache.ws.security.components.crypto.Crypto crypto,
String privKeyPasswd)
Sets the crypto information required to process the RSTR. |
void |
setOptions(org.apache.axis2.client.Options options)
|
void |
setRstTemplate(org.apache.axiom.om.OMElement rstTemplate)
|
void |
setSoapVersion(String soapVersion)
|
void |
setTrust10(Trust10 trust10)
Set this to set the entropy configurations. |
void |
setTtl(int ttl)
|
void |
setVersion(int version)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public STSClient(org.apache.axis2.context.ConfigurationContext configCtx) throws TrustException
Method Detail |
public Token requestSecurityToken(org.apache.neethi.Policy servicePolicy, String issuerAddress, org.apache.neethi.Policy issuerPolicy, String appliesTo) throws TrustException
TrustException
public boolean cancelToken(String issuerAddress, String tokenId, String action) throws TrustException
issuerAddress
- tokenId
-
TrustException
public void setTrust10(Trust10 trust10)
trust10
- The trust10 to set.public void setAlgorithmSuite(AlgorithmSuite algorithmSuite)
algorithmSuite
- The algorithmSuite to set.public void setAddressingNs(String addressingNs)
addressingNs
- The addressingNs to set.public void setTtl(int ttl)
ttl
- The ttl to set.public void setCryptoInfo(org.apache.ws.security.components.crypto.Crypto crypto, CallbackHandler cbHandler)
crypto
- Crypto informationcbHandler
- Callback handler to provide the private key password to
decryptpublic void setCryptoInfo(org.apache.ws.security.components.crypto.Crypto crypto, String privKeyPasswd)
crypto
- The crypto informationprivKeyPasswd
- Private key password to decryptpublic void setAction(String action)
action
- The action to set.public void setOptions(org.apache.axis2.client.Options options)
options
- The options to set.public void setRstTemplate(org.apache.axiom.om.OMElement rstTemplate)
rstTemplate
- The rstTemplate to set.public void setVersion(int version)
version
- The version to set.public void setSoapVersion(String soapVersion)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |