Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Web Services Manager
11g (11.1.1.4)

E10689-03


oracle.wsm.common.sdk
Class MessageContext

java.lang.Object
  extended by oracle.wsm.common.sdk.MessageContext

All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, IContext, IMessageContext
Direct Known Subclasses:
SOAPBindingMessageContext

public abstract class MessageContext
extends java.lang.Object
implements IMessageContext, java.lang.Cloneable
See Also:
Serialized Form

Nested Class Summary

 

Nested classes/interfaces inherited from interface oracle.wsm.common.sdk.IMessageContext
IMessageContext.AgentTypeEnum, IMessageContext.AuthMethodEnum, IMessageContext.ReqOriginEnum, IMessageContext.STAGE, IMessageContext.TYPE

 

Field Summary
 IMessageContext.AuthMethodEnum authenticationMethod
           
 IMessageContext.ReqOriginEnum requestOrigin
           

 

Fields inherited from interface oracle.wsm.common.sdk.IMessageContext
AGENT_CONTEXT, ASYNC_REQ_REPLYTO_ELEM, AUTHN_METHOD, LEGACY_POLICY_OPERATION_MAP, LEGACY_POLICY_SET, LEGACYPOLICY_ENABLED, OPERATION_ID, OPERATION_NAME, POLICY_SET, REMOTE_IP, REQUEST_PROCESSED_HEADERS, RESPONSE_PROCESSED_HEADERS, SECURITY_SUBJECT, USER_NAME, VIRTUAL_HOST_TYPE, WSDL_DEFINTION

 

Constructor Summary
MessageContext()
           

 

Method Summary
 void cloneFrom(MessageContext origContext)
           
 java.util.Map<java.lang.String,java.lang.Object> getAllProperties()
          Get properties that is used by the execution engine during policy execution
 IMessageContext.AuthMethodEnum getAuthenticationMethod()
          This method returns the authentication method used to authentication.
 java.lang.String getGUID()
           
 oracle.wsm.common.sdk.InvocationStatus getInvocationStatus()
          InvocationMetric is used to collect system monitoring data.
 java.lang.Object getProperty(java.lang.String name)
          Get the value of the property identified by name
 java.lang.String getRemoteAddr()
           
 IMessageContext.ReqOriginEnum getRequestOrigin()
          This method returns the origin of the request.
 java.lang.String getServiceID()
           
 java.lang.String getServiceURL()
           
 IMessageContext.STAGE getStage()
           
 long getStartTime()
           
 IMessageContext.TYPE getType()
           
 void resetInvocationStatus(oracle.wsm.common.sdk.InvocationStatus origStatus)
           
 void setAllProperties(java.util.Map<java.lang.String,java.lang.Object> properties)
          Set properties that can be used by the execution engine during policy execution
 void setProperty(java.lang.String name, java.lang.Object value)
          Set the value of the property identified by name
 void setRemoteAddr(java.lang.String remoteAddr)
           
 void setServiceID(java.lang.String id)
           
 void setServiceURL(java.lang.String url)
           
 void setStage(IMessageContext.STAGE stage)
           
 void setStartTime(long startTime)
           
 void setType(IMessageContext.TYPE type)
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

authenticationMethod

public IMessageContext.AuthMethodEnum authenticationMethod

requestOrigin

public IMessageContext.ReqOriginEnum requestOrigin

Constructor Detail

MessageContext

public MessageContext()

Method Detail

setType

public void setType(IMessageContext.TYPE type)
Specified by:
setType in interface IMessageContext

getType

public IMessageContext.TYPE getType()
Specified by:
getType in interface IMessageContext

setStage

public void setStage(IMessageContext.STAGE stage)
Specified by:
setStage in interface IMessageContext

getStage

public IMessageContext.STAGE getStage()
Specified by:
getStage in interface IMessageContext

setProperty

public void setProperty(java.lang.String name,
                        java.lang.Object value)
Description copied from interface: IContext
Set the value of the property identified by name
Specified by:
setProperty in interface IContext

getProperty

public java.lang.Object getProperty(java.lang.String name)
Description copied from interface: IContext
Get the value of the property identified by name
Specified by:
getProperty in interface IContext

setAllProperties

public void setAllProperties(java.util.Map<java.lang.String,java.lang.Object> properties)
Description copied from interface: IContext
Set properties that can be used by the execution engine during policy execution
Specified by:
setAllProperties in interface IContext

getAllProperties

public java.util.Map<java.lang.String,java.lang.Object> getAllProperties()
Description copied from interface: IContext
Get properties that is used by the execution engine during policy execution
Specified by:
getAllProperties in interface IContext

setServiceID

public void setServiceID(java.lang.String id)
Specified by:
setServiceID in interface IMessageContext

getServiceID

public java.lang.String getServiceID()
Specified by:
getServiceID in interface IMessageContext

setServiceURL

public void setServiceURL(java.lang.String url)
Specified by:
setServiceURL in interface IMessageContext

getServiceURL

public java.lang.String getServiceURL()
Specified by:
getServiceURL in interface IMessageContext

setRemoteAddr

public void setRemoteAddr(java.lang.String remoteAddr)
Specified by:
setRemoteAddr in interface IMessageContext

getRemoteAddr

public java.lang.String getRemoteAddr()
Specified by:
getRemoteAddr in interface IMessageContext

setStartTime

public void setStartTime(long startTime)
Specified by:
setStartTime in interface IMessageContext

getStartTime

public long getStartTime()
Specified by:
getStartTime in interface IMessageContext

getGUID

public java.lang.String getGUID()
Specified by:
getGUID in interface IMessageContext

getInvocationStatus

public oracle.wsm.common.sdk.InvocationStatus getInvocationStatus()
InvocationMetric is used to collect system monitoring data. Pipelines and Steps can fill in the data as the invocation goes tho
Specified by:
getInvocationStatus in interface IMessageContext
Returns:
InvocationMetric

cloneFrom

public void cloneFrom(MessageContext origContext)
               throws WSMException
Throws:
WSMException

resetInvocationStatus

public void resetInvocationStatus(oracle.wsm.common.sdk.InvocationStatus origStatus)

getAuthenticationMethod

public IMessageContext.AuthMethodEnum getAuthenticationMethod()
Description copied from interface: IMessageContext
This method returns the authentication method used to authentication. if security token used for authentication was saml sender vouches, SAML_SV will be returned. if security token used for authentication was saml bearer, SAML_BEARER will be returned. if security token used for authentication was saml holder of key, SAML_HOK will be returned. if security token used for authentication was kerberos, KERBEROS will be returned. if security token used for authentication was username, USERNAME_TOKEN will be returned.
Specified by:
getAuthenticationMethod in interface IMessageContext
Returns:
the authenticationMethod

getRequestOrigin

public IMessageContext.ReqOriginEnum getRequestOrigin()
Description copied from interface: IMessageContext
This method returns the origin of the request. If the request came from the internal private network, internal will be returned, else external or null will be returned. This feature will work only if there is an Oracle Http Server is present.
Specified by:
getRequestOrigin in interface IMessageContext
Returns:
the requestOrigin The request origin

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Web Services Manager
11g (11.1.1.4)

E10689-03


Copyright © 2007-2009, Oracle. All rights reserved.