Skip navigation links

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

E22473-01


oracle.security.am.plugin
Interface GenericTransportStore


public interface GenericTransportStore

Transport store stores the attributes for session state.

Since:
OAM 11.1.1.5.0
Version:
OAM 11.1.1.5.0

Method Summary
 java.lang.Object getAttribute(java.lang.String name)
          retrieves an attribute store in the session.
 java.lang.Object getData()
          get the back-end store object contains the data.
 java.lang.String getType()
          The type should be the type of store used for request cache.
 boolean isValid()
          Checks whether the session store implementation is valid or not.
 void removeAttribute(java.lang.String name)
          remove the stored attribute from the session store.
 void setAttribute(java.lang.String name, java.lang.Object value)
          Stores an attribute in the server.
 void setData(java.lang.Object data)
          set the back-end store object contains the data.

 

Method Detail

getAttribute

java.lang.Object getAttribute(java.lang.String name)
retrieves an attribute store in the session.
Parameters:
name -
Returns:

setAttribute

void setAttribute(java.lang.String name,
                  java.lang.Object value)
Stores an attribute in the server.
Parameters:
name -
value -

removeAttribute

void removeAttribute(java.lang.String name)
remove the stored attribute from the session store.
Parameters:
name -

isValid

boolean isValid()
Checks whether the session store implementation is valid or not. Some transport protocols will not support session store.In that case isValid will be false. Check if the session store is valid before doing any operations.
Returns:

getData

java.lang.Object getData()
get the back-end store object contains the data. getData will return the string or a map based on the format in which the data is cached. The caller is supposed to handle data based on the transport store implementation used.
Returns:

setData

void setData(java.lang.Object data)
set the back-end store object contains the data. setData will set the string or a map based on the format in which the data is cached. The caller is supposed to handle data based on the transport store implementation used.
Parameters:
data -

getType

java.lang.String getType()
The type should be the type of store used for request cache. Eg: COOKIE / FORM / BASIC
Returns:

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.