public abstract class ExtendedTokenContext extends java.lang.Object implements TokenContext
TokenContext interface. It also has additional methods necessary for advanced security token operations.| Constructor and Description |
|---|
ExtendedTokenContext()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAppliesTo()
Provides the token audience scope value
|
java.util.List<Claim> |
getClaims()
Provides claims from the token context
|
java.util.ArrayList<java.lang.Object> |
getConfiguration()
Provides token context specific properties
|
java.util.Date |
getCreationTime()
Provides token creation time
|
java.util.List<Claim> |
getDerivableClaims() |
java.util.Date |
getExpirationTime()
Provides token expire time
|
java.lang.String |
getIssuer()
Provides token issuer identity
|
java.util.Map<java.lang.String,java.lang.Object> |
getOtherProperties()
Provides optional context specific properties
|
java.lang.String |
getRequestor()
Provides requestor identity
|
oracle.security.xml.Token |
getSecurityToken()
Deprecated.
|
java.lang.String |
getTokenType()
Provides the token type which is provider implementation specific.
|
TrustToken |
getTrustToken()
Provides the
TrustToken object |
void |
setAppliesTo(java.lang.String appliesTo)
Sets the scope for the token audience
|
void |
setClaims(java.util.List<Claim> claims)
Sets claims to the token context
|
void |
setCreationTime(java.util.Date creationTime)
Sets token creation time
|
void |
setDerivableClaims(java.util.List<Claim> claims) |
void |
setExpirationTime(java.util.Date expiryTime)
Sets token expire date
|
void |
setIssuer(java.lang.String issuer)
Sets issuer identity
|
void |
setOtherProperties(java.util.Map<java.lang.String,java.lang.Object> otherProps)
Sets optional context specific properties
|
void |
setRequestor(java.lang.String requestor)
Sets requestor identity
|
void |
setSecurityToken(oracle.security.xml.Token token)
Deprecated.
|
void |
setTokenType(java.lang.String tokenType)
Sets the token type.
|
void |
setTrustToken(TrustToken token)
Sets the trust token
|
public void setIssuer(java.lang.String issuer)
setIssuer in interface TokenContextissuer - Issuer identitypublic java.lang.String getIssuer()
getIssuer in interface TokenContextpublic void setRequestor(java.lang.String requestor)
setRequestor in interface TokenContextrequestor - Requestor identitypublic java.lang.String getRequestor()
getRequestor in interface TokenContextpublic void setTokenType(java.lang.String tokenType)
setTokenType in interface TokenContexttokenType - The token type valuepublic java.lang.String getTokenType()
getTokenType in interface TokenContextpublic void setAppliesTo(java.lang.String appliesTo)
setAppliesTo in interface TokenContextappliesTo - Token audiencepublic java.lang.String getAppliesTo()
getAppliesTo in interface TokenContextpublic void setSecurityToken(oracle.security.xml.Token token)
setSecurityToken in interface TokenContexttoken - The Token objectpublic void setTrustToken(TrustToken token)
token - The TrustToken objectpublic oracle.security.xml.Token getSecurityToken()
Token objectgetSecurityToken in interface TokenContextpublic TrustToken getTrustToken()
TrustToken objectpublic void setCreationTime(java.util.Date creationTime)
setCreationTime in interface TokenContextcreationTime - Token creation timepublic java.util.Date getCreationTime()
getCreationTime in interface TokenContextpublic void setExpirationTime(java.util.Date expiryTime)
setExpirationTime in interface TokenContextexpiryTime - Token expire datepublic java.util.Date getExpirationTime()
getExpirationTime in interface TokenContextpublic java.util.Map<java.lang.String,java.lang.Object> getOtherProperties()
getOtherProperties in interface TokenContextpublic void setOtherProperties(java.util.Map<java.lang.String,java.lang.Object> otherProps)
public java.util.ArrayList<java.lang.Object> getConfiguration()
getConfiguration in interface TokenContextpublic void setClaims(java.util.List<Claim> claims)
claims - List of claims to be setpublic java.util.List<Claim> getClaims()
public void setDerivableClaims(java.util.List<Claim> claims)
public java.util.List<Claim> getDerivableClaims()