|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.axis2.security.trust.token.AbstractToken
org.apache.axis2.security.trust.token.CompositeToken
org.apache.axis2.security.trust.token.RequestSecurityToken
org.apache.axis2.security.trust.token.IssueRequestSecurityToken
| Field Summary |
| Fields inherited from class org.apache.axis2.security.trust.token.RequestSecurityToken |
requestTypeElement, TOKEN, tokenTypeElement |
| Fields inherited from class org.apache.axis2.security.trust.token.AbstractToken |
factory, tokenElement, wstNamespace |
| Constructor Summary | |
IssueRequestSecurityToken()
|
|
IssueRequestSecurityToken(OMElement elem)
|
|
| Method Summary | |
void |
addClaims(java.lang.String dialectURI,
java.util.Iterator claimsElements)
This should be used to set a ste of claims in the Claims element |
OMElement |
getAppliesTo()
Returns the first child of the AppliesTo element |
Claims |
getClaims()
Retuns the Claims element |
Entropy |
getEntropy()
Returns the Entropy element |
KeySize |
getKeySize()
Retuns the KeySize element |
Lifetime |
getLifetime()
Retuns the Lifetime element |
Renewing |
getRenewing()
Returns the Renewing element |
protected void |
handleSpecificChildren(OMElement element)
|
void |
setAppliesTo(OMElement value)
Sets the value of the AppliesTo element |
void |
setClaims(java.lang.String dialectURI,
OMElement claimElement)
Can be used when setting one claim in the Claims element |
void |
setEntropy(java.lang.String binarySecretType,
java.lang.String entropyValue)
Sets the wst:Entropy/wst:BinarySecret value and
wst:Entropy/wst:BinarySecret@Type of the
wst:RequestSecurityToken |
void |
setEntropyNonce(java.lang.String nonceValue)
Sets the binary secret of the Entropy element when the its of type Nonce |
void |
setKeySize(int size)
Sets the wst:KeySize value of the wst:RequestSecurityToken |
void |
setLifetime(long lifetimeInMillis)
Adds a wst:Lifetime element with the given duration to the
wst:RequestSecurityToken |
void |
setRenewing(boolean allow,
boolean ok)
Sets the wst:Renewing element of the
wst:RequestSecurityToken |
| Methods inherited from class org.apache.axis2.security.trust.token.RequestSecurityToken |
addAttribute, addToken, deserializeChildElement, getAttributeValue, getContextAttrValue, getRequestElement, getRequestType, getToken, getToken, getTokenType, setContextAttr, setRequestType, setTokenType |
| Methods inherited from class org.apache.axis2.security.trust.token.CompositeToken |
setElementTextValue |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public IssueRequestSecurityToken()
public IssueRequestSecurityToken(OMElement elem)
throws TrustException
elem -
TrustException| Method Detail |
public void setAppliesTo(OMElement value)
AppliesTo element
value - public OMElement getAppliesTo()
AppliesTo element
public void setClaims(java.lang.String dialectURI,
OMElement claimElement)
Claims element
dialectURI - Dialect attribute specifies a URI to indicate the syntax of the claimsclaimElement -
public void addClaims(java.lang.String dialectURI,
java.util.Iterator claimsElements)
throws TrustException
Claims element
dialectURI - Dialect attribute specifies a URI to indicate the syntax of the claimsclaimsElements - Iterator of OMElements
TrustExceptionpublic Claims getClaims()
Claims element
public void setEntropy(java.lang.String binarySecretType,
java.lang.String entropyValue)
wst:Entropy/wst:BinarySecret value and
wst:Entropy/wst:BinarySecret@Type of the
wst:RequestSecurityToken
binarySecretType - entropyValue - public void setEntropyNonce(java.lang.String nonceValue)
Nonce
BinarySecret#NONCE_VALpublic Entropy getEntropy()
Entropy element
public void setLifetime(long lifetimeInMillis)
wst:Lifetime element with the given duration to the
wst:RequestSecurityToken
public Lifetime getLifetime()
Lifetime element
public void setKeySize(int size)
wst:KeySize value of the wst:RequestSecurityToken
size - public KeySize getKeySize()
KeySize element
public void setRenewing(boolean allow,
boolean ok)
wst:Renewing element of the
wst:RequestSecurityToken
allow - ok - public Renewing getRenewing()
Renewing element
protected void handleSpecificChildren(OMElement element)
throws TrustException
handleSpecificChildren in class RequestSecurityTokenelement - Specific child element
TrustException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||