public interface SecurityProcessingContext
DynamicPolicyCallback
| Modifier and Type | Method and Description |
|---|---|
void |
copy(SecurityProcessingContext ctx1,
SecurityProcessingContext ctx2)
copy operator
|
int |
getConfigType()
This method is used for internal purposes
|
Map |
getExtraneousProperties()
Properties extraneously defined by XWSS runtime - can contain
application's runtime context (like JAXRPCContext etc)
|
Object |
getExtraneousProperty(String name) |
CallbackHandler |
getHandler() |
String |
getMessageIdentifier() |
StaticPolicyContext |
getPolicyContext() |
SecurityEnvironment |
getSecurityEnvironment() |
SecurityPolicy |
getSecurityPolicy() |
SOAPMessage |
getSOAPMessage() |
boolean |
isInboundMessage() |
void |
isInboundMessage(boolean inBound)
set the message flow direction (to true if inbound, false if outbound)
|
void |
removeExtraneousProperty(String name)
remove the named extraneous property if present
|
void |
reset()
This method is used for internal purposes
|
void |
setConfigType(int type)
This method is used for internal purposes
|
void |
setExtraneousProperty(String name,
Object value)
set the extraneous property into the context
Extraneous Properties are properties extraneously defined by XWSS runtime
and can contain application's runtime context (like JAXRPCContext etc)
|
void |
setHandler(CallbackHandler handler)
set the CallbackHandler for the context
|
void |
setMessageIdentifier(String identifier)
Allow for message identifier to be generated externally
|
void |
setPolicyContext(StaticPolicyContext context)
set the StaticPolicyContext for this ProcessingContext.
|
void |
setSecurityEnvironment(SecurityEnvironment handler)
set the SecurityEnvironment Handler for the context
|
void |
setSecurityPolicy(SecurityPolicy securityPolicy)
set the SecurityPolicy for the context
|
void |
setSOAPMessage(SOAPMessage message)
set the SOAP Message into the ProcessingContext.
|
void copy(SecurityProcessingContext ctx1, SecurityProcessingContext ctx2) throws XWSSecurityException
ctx1 - the ProcessingContext to which to copyctx2 - the ProcessingContext from which to copyXWSSecurityException - if there was an error during the copy operationint getConfigType()
Map getExtraneousProperties()
Object getExtraneousProperty(String name)
CallbackHandler getHandler()
String getMessageIdentifier()
StaticPolicyContext getPolicyContext()
SOAPMessage getSOAPMessage()
SecurityEnvironment getSecurityEnvironment()
SecurityPolicy getSecurityPolicy()
boolean isInboundMessage()
void isInboundMessage(boolean inBound)
inBound - message flow directionvoid removeExtraneousProperty(String name)
name - the Extraneous Property to be removedvoid reset()
void setConfigType(int type)
void setExtraneousProperty(String name, Object value)
name - the property namevalue - the property valuevoid setHandler(CallbackHandler handler)
handler - The CallbackHandlervoid setMessageIdentifier(String identifier)
identifier - the Message Identifier valuevoid setPolicyContext(StaticPolicyContext context)
context - StaticPolicyContext for this contextvoid setSOAPMessage(SOAPMessage message) throws XWSSecurityException
message - SOAPMessageXWSSecurityException - if there was an error in setting the SOAPMessagevoid setSecurityEnvironment(SecurityEnvironment handler)
handler - The SecurityEnvironment Handlervoid setSecurityPolicy(SecurityPolicy securityPolicy) throws XWSSecurityException
securityPolicy - SecurityPolicyXWSSecurityException - if the securityPolicy is of invalid typeCopyright © 2005–2018 Oracle Corporation. All rights reserved.