Skip navigation links

Oracle Access Manager Extensibility Java API Reference
11g Release 1 (11.1.1.5)

E22473-01


oracle.security.am.plugin
Interface GenericTransportToken


public interface GenericTransportToken

Tranposrt token is used to store the state data across requests. In case of HTTP this can be cookies or data stored in HTTP session. TCP connections this can be the tokens exchanged for state

Since:
OAM 11.1.1.5.0
Version:
OAM 11.1.1.5.0

Method Summary
 int getMaxAgeInSeconds()
          Token age.
 java.lang.String getTokenDomain()
          Token domain.
 java.lang.String getTokenName()
          Name of the token.
 java.lang.String getTokenValue()
          Value of the token
 java.lang.String getTokenVersion()
          Version of the token.
 boolean isSecure()
          secure flag used for HTTP cookies
 void setMaxAgeInSeconds(int maxAgeInSeconds)
          sets the max age of the token.
 void setSecure(boolean isSecure)
           
 void setTokenDomain(java.lang.String tokenDomain)
          sets the domain of the token.
 void setTokenValue(java.lang.String tokenValue)
          set the secure flag for the token.
 void setTokenVersion(java.lang.String tokenVersion)
          sets the version of the token.

 

Method Detail

getTokenName

java.lang.String getTokenName()
Name of the token.
Returns:

getTokenVersion

java.lang.String getTokenVersion()
Version of the token.
Returns:

getMaxAgeInSeconds

int getMaxAgeInSeconds()
Token age.
Returns:

isSecure

boolean isSecure()
secure flag used for HTTP cookies
Returns:

getTokenValue

java.lang.String getTokenValue()
Value of the token
Returns:

getTokenDomain

java.lang.String getTokenDomain()
Token domain. this decide the validity of the token in multi domain scenarios.
Returns:

setTokenVersion

void setTokenVersion(java.lang.String tokenVersion)
sets the version of the token.
Parameters:
tokenVersion -

setMaxAgeInSeconds

void setMaxAgeInSeconds(int maxAgeInSeconds)
sets the max age of the token.
Parameters:
maxAgeInSeconds -

setSecure

void setSecure(boolean isSecure)
Parameters:
isSecure -

setTokenValue

void setTokenValue(java.lang.String tokenValue)
set the secure flag for the token.
Parameters:
tokenValue -

setTokenDomain

void setTokenDomain(java.lang.String tokenDomain)
sets the domain of the token.
Parameters:
tokenDomain -

Skip navigation links

Oracle Access Manager Extensibility Java API Reference
11g Release 1 (11.1.1.5)

E22473-01


Copyright © 2011, Oracle and/or its affiliates. All rights reserved.