org.apache.ws.sandbox.security.trust
Class RSTRParser

java.lang.Object
  extended byorg.apache.ws.sandbox.security.trust.RSTRParser

public class RSTRParser
extends java.lang.Object

This class' functionality will be included in the RequestSecurityTokenResponse class itself :-) When a RequestSecurityTokenResponse instance is created with a corresponding DOM Element it will parse that element and populate its properties

Author:
Dimuthu Leelarathne. (muthulee@yahoo.com) This parses the RequestSecurityTokenResponse. This will be extremely useful for requestor classes.

Constructor Summary
RSTRParser()
           
 
Method Summary
 AppliesTo getAppto()
           
 BinarySecret getBinSecret()
           
 ComputedKey getCkey()
           
 Entropy getEntropy()
           
 Lifetime getLifeTime()
           
 RequestedProofToken getProofTok()
           
 RequestedSecurityToken getReqtedTok()
           
 void processRSTR(RequestSecurityTokenResponse rstr)
           
 void setAppto(AppliesTo to)
           
 void setBinSecret(BinarySecret secret)
           
 void setCkey(ComputedKey key)
           
 void setEntropy(Entropy entropy)
           
 void setLifeTime(Lifetime lifetime)
           
 void setProofTok(RequestedProofToken token)
           
 void setReqtedTok(RequestedSecurityToken token)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RSTRParser

public RSTRParser()
Method Detail

processRSTR

public void processRSTR(RequestSecurityTokenResponse rstr)
                 throws WSTrustException,
                        WSSecurityException
Throws:
WSTrustException
WSSecurityException

getAppto

public AppliesTo getAppto()
Returns:

getBinSecret

public BinarySecret getBinSecret()
Returns:

getCkey

public ComputedKey getCkey()
Returns:

getEntropy

public Entropy getEntropy()
Returns:

getLifeTime

public Lifetime getLifeTime()
Returns:

getProofTok

public RequestedProofToken getProofTok()
Returns:

getReqtedTok

public RequestedSecurityToken getReqtedTok()
Returns:

setAppto

public void setAppto(AppliesTo to)
Parameters:
to -

setBinSecret

public void setBinSecret(BinarySecret secret)
Parameters:
secret -

setCkey

public void setCkey(ComputedKey key)
Parameters:
key -

setEntropy

public void setEntropy(Entropy entropy)
Parameters:
entropy -

setLifeTime

public void setLifeTime(Lifetime lifetime)
Parameters:
lifetime -

setProofTok

public void setProofTok(RequestedProofToken token)
Parameters:
token -

setReqtedTok

public void setReqtedTok(RequestedSecurityToken token)
Parameters:
token -


Copyright © 2004-2008 Apache Web Services. All Rights Reserved.