Package com.sun.xml.ws.security.opt.impl
Class JAXBFilterProcessingContext
java.lang.Object
com.sun.xml.wss.ProcessingContext
com.sun.xml.wss.impl.ProcessingContextImpl
com.sun.xml.wss.impl.FilterProcessingContext
com.sun.xml.ws.security.opt.impl.JAXBFilterProcessingContext
- All Implemented Interfaces:
SecurityProcessingContext
- Author:
- Ashutosh.Shahi@Sun.Com
-
Field Summary
FieldsFields inherited from class com.sun.xml.wss.impl.FilterProcessingContext
ADHOC, DEFAULT, POSTHOC, WSDL_POLICYFields inherited from class com.sun.xml.wss.impl.ProcessingContextImpl
algoSuite, bootAlgoSuite, inferredSecurityPolicy, issuedTokenContextMap, policyHasIssuedToken, scPolicyIDtoSctIdMap, secureConversationContext, signConfirmIds, trustContext, wssAssertionFields inherited from class com.sun.xml.wss.ProcessingContext
OPERATION_RESOLVER, properties, secureMessage, securityHeaderLayout -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new instance of JAXBFilterProcessingContextJAXBFilterProcessingContext(String messageIdentifier, SecurityPolicy securityPolicy, com.sun.xml.ws.api.message.Message message, com.sun.xml.ws.api.SOAPVersion soapVersion) JAXBFilterProcessingContext(Map invocationProps) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddToCurrentSecretMap(String ekId, Key key) voidcopy(ProcessingContext ctxx1, ProcessingContext ctxx2) copy operatorcom.sun.xml.ws.api.addressing.AddressingVersioncom.sun.xml.stream.buffer.XMLStreamBufferbooleanbooleanbooleancom.sun.xml.ws.api.message.Messageintbooleanorg.jvnet.staxex.NamespaceContextExcom.sun.xml.ws.api.message.Messageprotected SecurableSoapMessagejakarta.xml.soap.SOAPMessagecom.sun.xml.ws.api.SOAPVersionbooleanisBSP()booleanvoidisOneWayMessage(boolean value) booleanisSAMLEK()voidisSAMLEK(boolean isSAMLEK) booleanisSecure()booleanisSOAP12()voidsetAddressingVersion(com.sun.xml.ws.api.addressing.AddressingVersion addrVer) voidsetAllowMissingTimestamp(boolean allowMissingTimestamp) voidsetBSP(boolean value) voidsetCurrentBuffer(com.sun.xml.stream.buffer.XMLStreamBuffer buffer) voidsetDisableIncPrefix(boolean disableIncPrefix) voidsetDisablePayloadBuffering(boolean value) voidsetEdIdforEh(String id) voidsetEncHeaderContent(boolean encHeaderContent) voidsetJAXWSMessage(com.sun.xml.ws.api.message.Message jaxWsMessage, com.sun.xml.ws.api.SOAPVersion soapVersion) voidsetMessage(com.sun.xml.ws.api.message.Message message) voidsetMustUnderstandValue(boolean muValue) voidsetPVMessage(com.sun.xml.ws.api.message.Message msg) voidsetSecure(boolean value) protected voidvoidsetSecurityContext(SecurityContext securityContext) voidsetSOAPMessage(jakarta.xml.soap.SOAPMessage message) set the SOAP Message into the ProcessingContext.voidsetSOAPVersion(com.sun.xml.ws.api.SOAPVersion sv) Methods inherited from class com.sun.xml.wss.impl.FilterProcessingContext
enableDynamicPolicyCallback, getCanonicalizedData, getCurrentRefList, getCurrentSecret, getDataEncryptionAlgorithm, getDigestValue, getElementCache, getEncryptedKeyCache, getInferredPolicy, getInsertedX509Cache, getKerberosTokenBinding, getMode, getPVE, getSecurableSoapMessage, getSTRTransformCache, getSymmetricKeyBinding, getTokenCache, getusernameTokenBinding, getX509CertificateBinding, isOptionalPolicyViolation, isOptionalPolicyViolation, isPrimaryPolicyViolation, isPrimaryPolicyViolation, makeDynamicPolicyCallback, reset, setCanonicalizedData, setCurrentReferenceList, setCurrentSecret, setDataEncryptionAlgorithm, setDigestValue, setInferredPolicy, setKerberosTokenBinding, setMode, setPVE, setSecurityPolicy, setSymmetricKeyBinding, setUsernameTokenBinding, setX509CertificateBinding, timestampExported, timestampExportedMethods inherited from class com.sun.xml.wss.impl.ProcessingContextImpl
getAction, getAlgorithmSuite, getBootstrapAlgoSuite, getIncomingAssertionId, getInferredSecurityPolicy, getIssuedSAMLToken, getIssuedTokenContext, getIssuedTokenContextMap, getiterationsForPDK, getKerberosContext, getSamlIdVSKeyCache, getSCPolicyIDtoSctIdMap, getSCPolicyIDtoSctIdMap, getSecureConversationContext, getSecurityPolicyVersion, getSignatureConfirmationIds, getTimestampTimeout, getTrustContext, getTrustCredentialHolder, getWSCInstance, getWSSAssertion, getWsscVer, getWSSCVersion, getWsTrustVer, hasIssuedToken, hasIssuedToken, isAddressingEnabled, isSamlSignatureKey, isSamlSignatureKey, isTrustMessage, isTrustMessage, setAction, setAddressingEnabled, setAlgorithmSuite, setBootstrapAlgoSuite, setIncomingAssertionId, setIssuedSAMLToken, setIssuedTokenContext, setIssuedTokenContextMap, setiterationsForPDK, setKerberosContext, setSCPolicyIDtoSctIdMap, setSecureConversationContext, setSecurityPolicyVersion, setTimestampTimeout, setTrustContext, setTrustCredentialHolder, setWSCInstance, setWSSAssertion, setWsscVer, setWsTrustVerMethods inherited from class com.sun.xml.wss.ProcessingContext
copy, copy, getConfigType, getExtraneousProperties, getExtraneousProperty, getHandler, getMessageIdentifier, getPolicyContext, getSecurityEnvironment, getSecurityHeaderLayout, getSecurityPolicy, isClient, isClient, isExpired, isExpired, isInboundMessage, isInboundMessage, removeExtraneousProperty, resetMustUnderstand, resetMustUnderstand, retainSecurityHeader, retainSecurityHeader, setConfigType, setExtraneousProperty, setHandler, setMessageIdentifier, setPolicyContext, setSecurityEnvironment, setSecurityHeaderLayout
-
Field Details
-
logger
-
-
Constructor Details
-
JAXBFilterProcessingContext
public JAXBFilterProcessingContext()Creates a new instance of JAXBFilterProcessingContext -
JAXBFilterProcessingContext
-
JAXBFilterProcessingContext
-
JAXBFilterProcessingContext
public JAXBFilterProcessingContext(String messageIdentifier, SecurityPolicy securityPolicy, com.sun.xml.ws.api.message.Message message, com.sun.xml.ws.api.SOAPVersion soapVersion) throws XWSSecurityException - Throws:
XWSSecurityException
-
-
Method Details
-
getSecuredMessage
-
isOneWayMessage
public void isOneWayMessage(boolean value) -
setEdIdforEh
-
getEdIdforEh
-
setJAXWSMessage
public void setJAXWSMessage(com.sun.xml.ws.api.message.Message jaxWsMessage, com.sun.xml.ws.api.SOAPVersion soapVersion) -
setMessage
public void setMessage(com.sun.xml.ws.api.message.Message message) -
getJAXWSMessage
public com.sun.xml.ws.api.message.Message getJAXWSMessage() -
getSOAPVersion
public com.sun.xml.ws.api.SOAPVersion getSOAPVersion() -
setSOAPVersion
public void setSOAPVersion(com.sun.xml.ws.api.SOAPVersion sv) -
isSOAP12
public boolean isSOAP12() -
getSecurityHeader
-
getSecureMessage
- Overrides:
getSecureMessagein classProcessingContext
-
setSecureMessage
- Overrides:
setSecureMessagein classProcessingContext
-
setSOAPMessage
public void setSOAPMessage(jakarta.xml.soap.SOAPMessage message) set the SOAP Message into the ProcessingContext.- Specified by:
setSOAPMessagein interfaceSecurityProcessingContext- Overrides:
setSOAPMessagein classProcessingContext- Parameters:
message- SOAPMessage
-
getSOAPMessage
public jakarta.xml.soap.SOAPMessage getSOAPMessage()- Specified by:
getSOAPMessagein interfaceSecurityProcessingContext- Overrides:
getSOAPMessagein classProcessingContext- Returns:
- the SOAPMessage from the context
-
copy
Description copied from class:ProcessingContextImplcopy operator- Overrides:
copyin classProcessingContextImpl- Parameters:
ctxx1- the ProcessingContext to which to copyctxx2- the ProcessingContext from which to copy- Throws:
XWSSecurityException- if there was an error during the copy operation
-
generateID
-
getSecurityContext
-
setSecurityContext
-
getNamespaceContext
public org.jvnet.staxex.NamespaceContextEx getNamespaceContext() -
isSAMLEK
public boolean isSAMLEK() -
isSAMLEK
public void isSAMLEK(boolean isSAMLEK) -
getAddressingVersion
public com.sun.xml.ws.api.addressing.AddressingVersion getAddressingVersion() -
setAddressingVersion
public void setAddressingVersion(com.sun.xml.ws.api.addressing.AddressingVersion addrVer) -
setCurrentBuffer
public void setCurrentBuffer(com.sun.xml.stream.buffer.XMLStreamBuffer buffer) -
getCurrentBuffer
public com.sun.xml.stream.buffer.XMLStreamBuffer getCurrentBuffer() -
setSecure
public void setSecure(boolean value) -
isSecure
public boolean isSecure() -
getLayout
public int getLayout() -
addToCurrentSecretMap
-
getCurrentSecretFromMap
-
getDisablePayloadBuffering
public boolean getDisablePayloadBuffering() -
setDisablePayloadBuffering
public void setDisablePayloadBuffering(boolean value) -
getDisableIncPrefix
public boolean getDisableIncPrefix() -
setDisableIncPrefix
public void setDisableIncPrefix(boolean disableIncPrefix) -
getEncHeaderContent
public boolean getEncHeaderContent() -
setEncHeaderContent
public void setEncHeaderContent(boolean encHeaderContent) -
setBSP
public void setBSP(boolean value) -
isBSP
public boolean isBSP() -
getBSPContext
-
getPVMessage
public com.sun.xml.ws.api.message.Message getPVMessage() -
setPVMessage
public void setPVMessage(com.sun.xml.ws.api.message.Message msg) -
isMissingTimestampAllowed
public boolean isMissingTimestampAllowed() -
setAllowMissingTimestamp
public void setAllowMissingTimestamp(boolean allowMissingTimestamp) -
getMustUnderstandValue
public boolean getMustUnderstandValue() -
setMustUnderstandValue
public void setMustUnderstandValue(boolean muValue)
-