Save This Page
Home » rampart-dist-1.4-src » org.apache » rahas » client » [javadoc | source]
org.apache.rahas.client
public class: STSClient [javadoc | source]
java.lang.Object
   org.apache.rahas.client.STSClient
Constructor:
 public STSClient(ConfigurationContext configCtx) throws TrustException 
Method from org.apache.rahas.client.STSClient Summary:
cancelToken,   renewToken,   requestSecurityToken,   setAction,   setAddressingNs,   setAlgorithmSuite,   setCryptoInfo,   setCryptoInfo,   setOptions,   setRstTemplate,   setSoapVersion,   setTrust10,   setTtl,   setVersion,   validateToken
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.rahas.client.STSClient Detail:
 public boolean cancelToken(String issuerAddress,
    String tokenId,
    String action) throws TrustException 
    Cancel a particular security token
 public boolean renewToken(String tokenId,
    String issuerAddress,
    Policy issuerPolicy) throws TrustException 
 public Token requestSecurityToken(Policy servicePolicy,
    String issuerAddress,
    Policy issuerPolicy,
    String appliesTo) throws TrustException 
 public  void setAction(String action) 
 public  void setAddressingNs(String addressingNs) 
 public  void setAlgorithmSuite(AlgorithmSuite algorithmSuite) 
    This can be used in the case where the AlgorithmSuite is not specified in the given policy. If the AlgorithmSuite exists in a binding in the policy then the value set will be overridden.
 public  void setCryptoInfo(Crypto crypto,
    CallbackHandler cbHandler) 
    Sets the crypto information required to process the RSTR.
 public  void setCryptoInfo(Crypto crypto,
    String privKeyPasswd) 
    Sets the crypto information required to process the RSTR.
 public  void setOptions(Options options) 
 public  void setRstTemplate(OMElement rstTemplate) 
 public  void setSoapVersion(String soapVersion) 
 public  void setTrust10(Trust10 trust10) 
    Set this to set the entropy configurations. If this is provided in the given policy it will be overridden.
 public  void setTtl(int ttl) 
 public  void setVersion(int version) 
 public boolean validateToken(String tokenId,
    String issuerAddress,
    Policy issuerPolicy) throws TrustException