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 TokenContext
issuer
- Issuer identitypublic java.lang.String getIssuer()
getIssuer
in interface TokenContext
public void setRequestor(java.lang.String requestor)
setRequestor
in interface TokenContext
requestor
- Requestor identitypublic java.lang.String getRequestor()
getRequestor
in interface TokenContext
public void setTokenType(java.lang.String tokenType)
setTokenType
in interface TokenContext
tokenType
- The token type valuepublic java.lang.String getTokenType()
getTokenType
in interface TokenContext
public void setAppliesTo(java.lang.String appliesTo)
setAppliesTo
in interface TokenContext
appliesTo
- Token audiencepublic java.lang.String getAppliesTo()
getAppliesTo
in interface TokenContext
public void setSecurityToken(oracle.security.xml.Token token)
setSecurityToken
in interface TokenContext
token
- The Token
objectpublic void setTrustToken(TrustToken token)
token
- The TrustToken
objectpublic oracle.security.xml.Token getSecurityToken()
Token
objectgetSecurityToken
in interface TokenContext
public TrustToken getTrustToken()
TrustToken
objectpublic void setCreationTime(java.util.Date creationTime)
setCreationTime
in interface TokenContext
creationTime
- Token creation timepublic java.util.Date getCreationTime()
getCreationTime
in interface TokenContext
public void setExpirationTime(java.util.Date expiryTime)
setExpirationTime
in interface TokenContext
expiryTime
- Token expire datepublic java.util.Date getExpirationTime()
getExpirationTime
in interface TokenContext
public java.util.Map<java.lang.String,java.lang.Object> getOtherProperties()
getOtherProperties
in interface TokenContext
public void setOtherProperties(java.util.Map<java.lang.String,java.lang.Object> otherProps)
public java.util.ArrayList<java.lang.Object> getConfiguration()
getConfiguration
in interface TokenContext
public 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()