|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SecurityProcessingContext
This interface represents a Context that is used by the XWS-Security 2.0 Runtime to apply/verify Security Policies on an Outgoing/Incoming SOAP Message. The context contains among other things
DynamicPolicyCallback
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
void copy(SecurityProcessingContext ctx1,
SecurityProcessingContext ctx2)
throws XWSSecurityException
ctx1 - the ProcessingContext to which to copyctx2 - the ProcessingContext from which to copy
XWSSecurityException - 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 context
void setSOAPMessage(SOAPMessage message)
throws XWSSecurityException
message - SOAPMessage
XWSSecurityException - if there was an error in setting the SOAPMessagevoid setSecurityEnvironment(SecurityEnvironment handler)
handler - The SecurityEnvironment Handler
void setSecurityPolicy(SecurityPolicy securityPolicy)
throws XWSSecurityException
securityPolicy - SecurityPolicy
XWSSecurityException - if the securityPolicy is of invalid type
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||