org.eclipse.higgins.sts.common
Class RequestSecurityToken

java.lang.Object
  extended byorg.eclipse.higgins.sts.common.RequestSecurityToken
All Implemented Interfaces:
org.eclipse.higgins.sts.api.IRequestSecurityToken

public class RequestSecurityToken
extends java.lang.Object
implements org.eclipse.higgins.sts.api.IRequestSecurityToken

Framework independent encapsulation of the WS-Trust RequestSecurityToken contents

Author:
mikemci at us dot ibm dot com

Constructor Summary
RequestSecurityToken()
           
 
Method Summary
 org.eclipse.higgins.sts.api.IElement getAllowPostdating()
           
 java.util.List getAnyOtherElements()
           
 org.eclipse.higgins.sts.api.IAppliesTo getAppliesTo()
           
 java.net.URI getAuthenticationType()
           
 org.eclipse.higgins.sts.api.IElement getBase()
           
 org.eclipse.higgins.sts.api.IElement getCancelTarget()
           
 java.net.URI getCanonicalizationAlgorithm()
           
 org.eclipse.higgins.sts.api.IElement getClaims()
           
 org.eclipse.higgins.sts.api.IElement getClientPseudonym()
           
 java.net.URI getComputedKeyAlgorithm()
           
 java.lang.String getContext()
           
 java.lang.Object getData()
           
 java.lang.Boolean getDelegatable()
           
 org.eclipse.higgins.sts.api.IElement getDelegateTo()
           
 org.eclipse.higgins.sts.api.IDigitalIdentity getDigitalIdentity()
           
 org.eclipse.higgins.sts.api.IElement getEncryption()
           
 java.net.URI getEncryptionAlgorithm()
           
 java.net.URI getEncryptWith()
           
 org.eclipse.higgins.sts.api.IElement getEntropy()
           
 java.lang.Boolean getForwardable()
           
 org.eclipse.higgins.sts.api.IInformationCardReference getInformationCardReference()
           
 org.eclipse.higgins.sts.api.IEndpointReference getIssuer()
           
 java.lang.Integer getKeySize()
           
 java.net.URI getKeyType()
           
 org.eclipse.higgins.sts.api.ILifetime getLifetime()
           
 org.eclipse.higgins.sts.api.IElement getOnBehalfOf()
           
 org.eclipse.higgins.sts.api.IElement getPolicy()
           
 org.eclipse.higgins.sts.api.IElement getPolicyReference()
           
 org.eclipse.higgins.sts.api.IElement getProofEncryption()
           
 org.eclipse.higgins.sts.api.IElement getRenewing()
           
 org.eclipse.higgins.sts.api.IElement getRenewTarget()
           
 org.eclipse.higgins.sts.api.IElement getRequestDisplayToken()
           
 java.net.URI getRequestType()
           
 java.net.URI getSignatureAlgorithm()
           
 java.net.URI getSignWith()
           
 java.net.URI getTokenType()
           
 org.eclipse.higgins.sts.api.IElement getUseKey()
           
 org.eclipse.higgins.sts.api.IElement getValidateTarget()
           
 void setAllowPostdating(org.eclipse.higgins.sts.api.IElement elemAllowPostdating)
           
 void setAppliesTo(org.eclipse.higgins.sts.api.IAppliesTo appliesTo)
           
 void setAuthenticationType(java.net.URI uriAuthenticationType)
           
 void setBase(org.eclipse.higgins.sts.api.IElement elemBase)
           
 void setCancelTarget(org.eclipse.higgins.sts.api.IElement elemCancelTarget)
           
 void setCanonicalizationAlgorithm(java.net.URI uriCanonicalizationAlgorithm)
           
 void setClaims(org.eclipse.higgins.sts.api.IElement elemClaims)
           
 void setClientPseudonym(org.eclipse.higgins.sts.api.IElement elemClientPseudonym)
           
 void setComputedKeyAlgorithm(java.net.URI uriComputedKeyAlgorithm)
           
 void setContext(java.lang.String strContext)
           
 void setData(java.lang.Object objectData)
           
 void setDelegatable(boolean bDelegatable)
           
 void setDelegateTo(org.eclipse.higgins.sts.api.IElement elemDelegateTo)
           
 void setDigitalIdentity(org.eclipse.higgins.sts.api.IDigitalIdentity digitalIdentity)
           
 void setEncryption(org.eclipse.higgins.sts.api.IElement elemEncryption)
           
 void setEncryptionAlgorithm(java.net.URI uriEncryptionAlgorithm)
           
 void setEncryptWith(java.net.URI uriEncryptWith)
           
 void setEntropy(org.eclipse.higgins.sts.api.IElement elemEntropy)
           
 void setForwardable(boolean bForwardable)
           
 void setInformationCardReference(org.eclipse.higgins.sts.api.IInformationCardReference informationCardReference)
           
 void setIssuer(org.eclipse.higgins.sts.api.IEndpointReference eprIssuer)
           
 void setKeySize(int nKeySize)
           
 void setKeyType(java.net.URI uriKeyType)
           
 void setLifetime(org.eclipse.higgins.sts.api.ILifetime ltLifetime)
           
 void setOnBehalfOf(org.eclipse.higgins.sts.api.IElement elemOnBehalfOf)
           
 void setPolicy(org.eclipse.higgins.sts.api.IElement elemPolicy)
           
 void setPolicyReference(org.eclipse.higgins.sts.api.IElement elemPolicyReference)
           
 void setProofEncryption(org.eclipse.higgins.sts.api.IElement elemProofEncryption)
           
 void setRenewing(org.eclipse.higgins.sts.api.IElement elemRenewing)
           
 void setRenewTarget(org.eclipse.higgins.sts.api.IElement elemRenewTarget)
           
 void setRequestDisplayToken(org.eclipse.higgins.sts.api.IElement elemRequestDisplayToken)
           
 void setRequestType(java.net.URI uriRequestType)
           
 void setSignatureAlgorithm(java.net.URI uriSignatureAlgorithm)
           
 void setSignWith(java.net.URI uriSignWith)
           
 void setTokenType(java.net.URI uriTokenType)
           
 void setUseKey(org.eclipse.higgins.sts.api.IElement elemUseKey)
           
 void setValidateTarget(org.eclipse.higgins.sts.api.IElement elemValidateTarget)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RequestSecurityToken

public RequestSecurityToken()
Method Detail

getClientPseudonym

public org.eclipse.higgins.sts.api.IElement getClientPseudonym()
Specified by:
getClientPseudonym in interface org.eclipse.higgins.sts.api.IRequestSecurityToken
Returns:
the elemClientPseudonym

setClientPseudonym

public void setClientPseudonym(org.eclipse.higgins.sts.api.IElement elemClientPseudonym)
Specified by:
setClientPseudonym in interface org.eclipse.higgins.sts.api.IRequestSecurityToken
Parameters:
elemClientPseudonym - the elemClientPseudonym to set

getInformationCardReference

public org.eclipse.higgins.sts.api.IInformationCardReference getInformationCardReference()
Specified by:
getInformationCardReference in interface org.eclipse.higgins.sts.api.IRequestSecurityToken
Returns:
the informationCardReference

setInformationCardReference

public void setInformationCardReference(org.eclipse.higgins.sts.api.IInformationCardReference informationCardReference)
Specified by:
setInformationCardReference in interface org.eclipse.higgins.sts.api.IRequestSecurityToken
Parameters:
informationCardReference - the informationCardReference to set

getDigitalIdentity

public org.eclipse.higgins.sts.api.IDigitalIdentity getDigitalIdentity()
Specified by:
getDigitalIdentity in interface org.eclipse.higgins.sts.api.IRequestSecurityToken

setDigitalIdentity

public void setDigitalIdentity(org.eclipse.higgins.sts.api.IDigitalIdentity digitalIdentity)
Specified by:
setDigitalIdentity in interface org.eclipse.higgins.sts.api.IRequestSecurityToken

getContext

public java.lang.String getContext()
Specified by:
getContext in interface org.eclipse.higgins.sts.api.IRequestSecurityToken

getBase

public org.eclipse.higgins.sts.api.IElement getBase()
Specified by:
getBase in interface org.eclipse.higgins.sts.api.IRequestSecurityToken

getComputedKeyAlgorithm

public java.net.URI getComputedKeyAlgorithm()
Specified by:
getComputedKeyAlgorithm in interface org.eclipse.higgins.sts.api.IRequestSecurityToken

getTokenType

public java.net.URI getTokenType()
Specified by:
getTokenType in interface org.eclipse.higgins.sts.api.IRequestSecurityToken

getRequestDisplayToken

public org.eclipse.higgins.sts.api.IElement getRequestDisplayToken()
Specified by:
getRequestDisplayToken in interface org.eclipse.higgins.sts.api.IRequestSecurityToken

getRequestType

public java.net.URI getRequestType()
Specified by:
getRequestType in interface org.eclipse.higgins.sts.api.IRequestSecurityToken

getAppliesTo

public org.eclipse.higgins.sts.api.IAppliesTo getAppliesTo()
Specified by:
getAppliesTo in interface org.eclipse.higgins.sts.api.IRequestSecurityToken

getCancelTarget

public org.eclipse.higgins.sts.api.IElement getCancelTarget()
Specified by:
getCancelTarget in interface org.eclipse.higgins.sts.api.IRequestSecurityToken

getValidateTarget

public org.eclipse.higgins.sts.api.IElement getValidateTarget()
Specified by:
getValidateTarget in interface org.eclipse.higgins.sts.api.IRequestSecurityToken

getRenewTarget

public org.eclipse.higgins.sts.api.IElement getRenewTarget()
Specified by:
getRenewTarget in interface org.eclipse.higgins.sts.api.IRequestSecurityToken

getClaims

public org.eclipse.higgins.sts.api.IElement getClaims()
Specified by:
getClaims in interface org.eclipse.higgins.sts.api.IRequestSecurityToken

getEntropy

public org.eclipse.higgins.sts.api.IElement getEntropy()
Specified by:
getEntropy in interface org.eclipse.higgins.sts.api.IRequestSecurityToken

getLifetime

public org.eclipse.higgins.sts.api.ILifetime getLifetime()
Specified by:
getLifetime in interface org.eclipse.higgins.sts.api.IRequestSecurityToken

getAllowPostdating

public org.eclipse.higgins.sts.api.IElement getAllowPostdating()
Specified by:
getAllowPostdating in interface org.eclipse.higgins.sts.api.IRequestSecurityToken

getRenewing

public org.eclipse.higgins.sts.api.IElement getRenewing()
Specified by:
getRenewing in interface org.eclipse.higgins.sts.api.IRequestSecurityToken

getOnBehalfOf

public org.eclipse.higgins.sts.api.IElement getOnBehalfOf()
Specified by:
getOnBehalfOf in interface org.eclipse.higgins.sts.api.IRequestSecurityToken

getIssuer

public org.eclipse.higgins.sts.api.IEndpointReference getIssuer()
Specified by:
getIssuer in interface org.eclipse.higgins.sts.api.IRequestSecurityToken

getAuthenticationType

public java.net.URI getAuthenticationType()
Specified by:
getAuthenticationType in interface org.eclipse.higgins.sts.api.IRequestSecurityToken

getKeyType

public java.net.URI getKeyType()
Specified by:
getKeyType in interface org.eclipse.higgins.sts.api.IRequestSecurityToken

getKeySize

public java.lang.Integer getKeySize()
Specified by:
getKeySize in interface org.eclipse.higgins.sts.api.IRequestSecurityToken

getSignatureAlgorithm

public java.net.URI getSignatureAlgorithm()
Specified by:
getSignatureAlgorithm in interface org.eclipse.higgins.sts.api.IRequestSecurityToken

getEncryption

public org.eclipse.higgins.sts.api.IElement getEncryption()
Specified by:
getEncryption in interface org.eclipse.higgins.sts.api.IRequestSecurityToken

getEncryptionAlgorithm

public java.net.URI getEncryptionAlgorithm()
Specified by:
getEncryptionAlgorithm in interface org.eclipse.higgins.sts.api.IRequestSecurityToken

getCanonicalizationAlgorithm

public java.net.URI getCanonicalizationAlgorithm()
Specified by:
getCanonicalizationAlgorithm in interface org.eclipse.higgins.sts.api.IRequestSecurityToken

getProofEncryption

public org.eclipse.higgins.sts.api.IElement getProofEncryption()
Specified by:
getProofEncryption in interface org.eclipse.higgins.sts.api.IRequestSecurityToken

getUseKey

public org.eclipse.higgins.sts.api.IElement getUseKey()
Specified by:
getUseKey in interface org.eclipse.higgins.sts.api.IRequestSecurityToken

getSignWith

public java.net.URI getSignWith()
Specified by:
getSignWith in interface org.eclipse.higgins.sts.api.IRequestSecurityToken

getEncryptWith

public java.net.URI getEncryptWith()
Specified by:
getEncryptWith in interface org.eclipse.higgins.sts.api.IRequestSecurityToken

getDelegateTo

public org.eclipse.higgins.sts.api.IElement getDelegateTo()
Specified by:
getDelegateTo in interface org.eclipse.higgins.sts.api.IRequestSecurityToken

getForwardable

public java.lang.Boolean getForwardable()
Specified by:
getForwardable in interface org.eclipse.higgins.sts.api.IRequestSecurityToken

getDelegatable

public java.lang.Boolean getDelegatable()
Specified by:
getDelegatable in interface org.eclipse.higgins.sts.api.IRequestSecurityToken

getPolicy

public org.eclipse.higgins.sts.api.IElement getPolicy()
Specified by:
getPolicy in interface org.eclipse.higgins.sts.api.IRequestSecurityToken

getPolicyReference

public org.eclipse.higgins.sts.api.IElement getPolicyReference()
Specified by:
getPolicyReference in interface org.eclipse.higgins.sts.api.IRequestSecurityToken

getAnyOtherElements

public java.util.List getAnyOtherElements()
Specified by:
getAnyOtherElements in interface org.eclipse.higgins.sts.api.IRequestSecurityToken

getData

public java.lang.Object getData()
Specified by:
getData in interface org.eclipse.higgins.sts.api.IRequestSecurityToken

setBase

public void setBase(org.eclipse.higgins.sts.api.IElement elemBase)
Specified by:
setBase in interface org.eclipse.higgins.sts.api.IRequestSecurityToken

setComputedKeyAlgorithm

public void setComputedKeyAlgorithm(java.net.URI uriComputedKeyAlgorithm)
Specified by:
setComputedKeyAlgorithm in interface org.eclipse.higgins.sts.api.IRequestSecurityToken

setTokenType

public void setTokenType(java.net.URI uriTokenType)
Specified by:
setTokenType in interface org.eclipse.higgins.sts.api.IRequestSecurityToken

setRequestDisplayToken

public void setRequestDisplayToken(org.eclipse.higgins.sts.api.IElement elemRequestDisplayToken)
Specified by:
setRequestDisplayToken in interface org.eclipse.higgins.sts.api.IRequestSecurityToken

setRequestType

public void setRequestType(java.net.URI uriRequestType)
Specified by:
setRequestType in interface org.eclipse.higgins.sts.api.IRequestSecurityToken

setAppliesTo

public void setAppliesTo(org.eclipse.higgins.sts.api.IAppliesTo appliesTo)
Specified by:
setAppliesTo in interface org.eclipse.higgins.sts.api.IRequestSecurityToken

setCancelTarget

public void setCancelTarget(org.eclipse.higgins.sts.api.IElement elemCancelTarget)
Specified by:
setCancelTarget in interface org.eclipse.higgins.sts.api.IRequestSecurityToken

setValidateTarget

public void setValidateTarget(org.eclipse.higgins.sts.api.IElement elemValidateTarget)
Specified by:
setValidateTarget in interface org.eclipse.higgins.sts.api.IRequestSecurityToken

setRenewTarget

public void setRenewTarget(org.eclipse.higgins.sts.api.IElement elemRenewTarget)
Specified by:
setRenewTarget in interface org.eclipse.higgins.sts.api.IRequestSecurityToken

setClaims

public void setClaims(org.eclipse.higgins.sts.api.IElement elemClaims)
Specified by:
setClaims in interface org.eclipse.higgins.sts.api.IRequestSecurityToken

setEntropy

public void setEntropy(org.eclipse.higgins.sts.api.IElement elemEntropy)
Specified by:
setEntropy in interface org.eclipse.higgins.sts.api.IRequestSecurityToken

setLifetime

public void setLifetime(org.eclipse.higgins.sts.api.ILifetime ltLifetime)
Specified by:
setLifetime in interface org.eclipse.higgins.sts.api.IRequestSecurityToken

setAllowPostdating

public void setAllowPostdating(org.eclipse.higgins.sts.api.IElement elemAllowPostdating)
Specified by:
setAllowPostdating in interface org.eclipse.higgins.sts.api.IRequestSecurityToken

setRenewing

public void setRenewing(org.eclipse.higgins.sts.api.IElement elemRenewing)
Specified by:
setRenewing in interface org.eclipse.higgins.sts.api.IRequestSecurityToken

setOnBehalfOf

public void setOnBehalfOf(org.eclipse.higgins.sts.api.IElement elemOnBehalfOf)
Specified by:
setOnBehalfOf in interface org.eclipse.higgins.sts.api.IRequestSecurityToken

setIssuer

public void setIssuer(org.eclipse.higgins.sts.api.IEndpointReference eprIssuer)
Specified by:
setIssuer in interface org.eclipse.higgins.sts.api.IRequestSecurityToken

setAuthenticationType

public void setAuthenticationType(java.net.URI uriAuthenticationType)
Specified by:
setAuthenticationType in interface org.eclipse.higgins.sts.api.IRequestSecurityToken

setKeyType

public void setKeyType(java.net.URI uriKeyType)
Specified by:
setKeyType in interface org.eclipse.higgins.sts.api.IRequestSecurityToken

setKeySize

public void setKeySize(int nKeySize)
Specified by:
setKeySize in interface org.eclipse.higgins.sts.api.IRequestSecurityToken

setSignatureAlgorithm

public void setSignatureAlgorithm(java.net.URI uriSignatureAlgorithm)
Specified by:
setSignatureAlgorithm in interface org.eclipse.higgins.sts.api.IRequestSecurityToken

setEncryption

public void setEncryption(org.eclipse.higgins.sts.api.IElement elemEncryption)
Specified by:
setEncryption in interface org.eclipse.higgins.sts.api.IRequestSecurityToken

setEncryptionAlgorithm

public void setEncryptionAlgorithm(java.net.URI uriEncryptionAlgorithm)
Specified by:
setEncryptionAlgorithm in interface org.eclipse.higgins.sts.api.IRequestSecurityToken

setCanonicalizationAlgorithm

public void setCanonicalizationAlgorithm(java.net.URI uriCanonicalizationAlgorithm)
Specified by:
setCanonicalizationAlgorithm in interface org.eclipse.higgins.sts.api.IRequestSecurityToken

setProofEncryption

public void setProofEncryption(org.eclipse.higgins.sts.api.IElement elemProofEncryption)
Specified by:
setProofEncryption in interface org.eclipse.higgins.sts.api.IRequestSecurityToken

setUseKey

public void setUseKey(org.eclipse.higgins.sts.api.IElement elemUseKey)
Specified by:
setUseKey in interface org.eclipse.higgins.sts.api.IRequestSecurityToken

setSignWith

public void setSignWith(java.net.URI uriSignWith)
Specified by:
setSignWith in interface org.eclipse.higgins.sts.api.IRequestSecurityToken

setEncryptWith

public void setEncryptWith(java.net.URI uriEncryptWith)
Specified by:
setEncryptWith in interface org.eclipse.higgins.sts.api.IRequestSecurityToken

setDelegateTo

public void setDelegateTo(org.eclipse.higgins.sts.api.IElement elemDelegateTo)
Specified by:
setDelegateTo in interface org.eclipse.higgins.sts.api.IRequestSecurityToken

setForwardable

public void setForwardable(boolean bForwardable)
Specified by:
setForwardable in interface org.eclipse.higgins.sts.api.IRequestSecurityToken

setDelegatable

public void setDelegatable(boolean bDelegatable)
Specified by:
setDelegatable in interface org.eclipse.higgins.sts.api.IRequestSecurityToken

setPolicy

public void setPolicy(org.eclipse.higgins.sts.api.IElement elemPolicy)
Specified by:
setPolicy in interface org.eclipse.higgins.sts.api.IRequestSecurityToken

setPolicyReference

public void setPolicyReference(org.eclipse.higgins.sts.api.IElement elemPolicyReference)
Specified by:
setPolicyReference in interface org.eclipse.higgins.sts.api.IRequestSecurityToken

setContext

public void setContext(java.lang.String strContext)
Specified by:
setContext in interface org.eclipse.higgins.sts.api.IRequestSecurityToken

setData

public void setData(java.lang.Object objectData)
Specified by:
setData in interface org.eclipse.higgins.sts.api.IRequestSecurityToken