Package oracle.security.am.plugin
Interface GenericTransportContext
- All Known Implementing Classes:
AbstractPluginTransportContext,PluginTransportContext
public interface GenericTransportContext
The
GenericTransportContext class.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumParameter type. -
Method Summary
Modifier and TypeMethodDescriptiongetAttribute<wbr>(oracle.security.am.common.utilities.constant.CommonAttribute attribute)Gets the attribute.Iterator<oracle.security.am.common.utilities.constant.CommonAttribute>Gets the attribute names.Gets the attributes.returns the error code.Gets the parameters.getParameters<wbr>(GenericTransportContext.PARAM_TYPE type)Gets the parameters.getParameterValue<wbr>(String parameterName)Gets the parameter value.Gets the request uri.Gets the token.getTransportSession<wbr>(boolean create)Gets the transport session.Set Session ID for the tranport session.voidsetAttribute<wbr>(oracle.security.am.common.utilities.constant.CommonAttribute attribute, Object value)Sets the attribute.voidsetErrorCode<wbr>(String code)sets the error code.voidsetToken<wbr>(GenericTransportToken token, boolean isVersioned)Sets the token.voidsetTransportSessionID<wbr>(String sessId)Sets the session ID for the transport.voidunsetToken<wbr>(String tokenName)Unset token.voidunsetToken<wbr>(GenericTransportToken token)Unset token providing the token object
-
Method Details
-
getRequestURI
String getRequestURI()Gets the request uri.- Returns:
- the request uri
-
getToken
Gets the token.- Parameters:
tokenName- the token nameisVersioned- the is versioned- Returns:
- the token
-
getParameterValue
Gets the parameter value.- Parameters:
parameterName- the parameter name- Returns:
- the parameter value
-
setToken
Sets the token.- Parameters:
token- the tokenisVersioned- the is versioned
-
unsetToken
Unset token.- Parameters:
tokenName- the token name
-
unsetToken
Unset token providing the token object- Parameters:
token-
-
setAttribute
void setAttribute<wbr>(oracle.security.am.common.utilities.constant.CommonAttribute attribute, Object value)Sets the attribute.- Parameters:
name- the namevalue- the value
-
getAttributeNames
Iterator<oracle.security.am.common.utilities.constant.CommonAttribute> getAttributeNames()Gets the attribute names.- Returns:
- the attribute names
-
getAttribute
Gets the attribute.- Parameters:
name- the name- Returns:
- the attribute
-
setTransportSessionID
Sets the session ID for the transport. Http Session ID for http sessions- Parameters:
sessId-
-
getTransportSessionID
String getTransportSessionID()Set Session ID for the tranport session.- Returns:
-
getParameters
Gets the parameters.- Returns:
- the parameters
-
getParameters
Gets the parameters.- Returns:
- the parameters
-
getAttributes
Gets the attributes.- Returns:
- the attributes
-
getTransportSession
Gets the transport session.- Returns:
- the transport session
-
getErrorCode
String getErrorCode()returns the error code. Error code will be used to disply the Error message at the client console. Error codes will be defined in the UI resource bundle.- Returns:
- the errorCode
-
setErrorCode
sets the error code. Error code will be used to disply the Error message at the client console. Error codes will be defined in the UI resource bundle.- Parameters:
code- the errorCode to set
-
getSessionStore
GenericTransportStore getSessionStore()- Returns:
-
getTransportRequest
Object getTransportRequest()- Returns:
-
getLocale
Locale getLocale()- Returns:
-
getUserAgent
String getUserAgent()- Returns:
-
getRequestMethod
String getRequestMethod()- Returns:
-