Skip navigation links
oracle.wsm.common.sdk
Class MessageContext
java.lang.Object
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
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
authenticationMethod
public IMessageContext.AuthMethodEnum authenticationMethod
requestOrigin
public IMessageContext.ReqOriginEnum requestOrigin
MessageContext
public MessageContext()
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
Copyright © 2007-2009, Oracle. All rights reserved.