public abstract class SecurityTubeBase
extends com.sun.xml.ws.api.pipe.helper.AbstractFilterTubeImpl
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
allowMissingTimestamp |
protected AlgorithmSuite |
bindingLevelAlgSuite |
protected com.sun.xml.ws.policy.Policy |
bpMSP |
protected boolean |
bsp10 |
protected com.sun.xml.ws.api.model.wsdl.WSDLBoundOperation |
cachedOperation
Constants for RM Security Processing
|
protected static boolean |
debug |
protected boolean |
disableIncPrefix |
protected boolean |
disablePayloadBuffer |
protected static List<com.sun.xml.ws.policy.PolicyAssertion> |
EMPTY_LIST |
protected boolean |
encHeaderContent |
protected boolean |
encRMLifecycleMsg |
protected boolean |
isCertValid |
protected boolean |
isCertValidityVerified |
protected boolean |
isEPREnabled |
protected boolean |
isSOAP12 |
protected Hashtable<String,IssuedTokenContext> |
issuedTokenContextMap |
protected int |
iterationsForPDK |
protected static JAXBContext |
jaxbContext |
protected static Logger |
log |
protected Marshaller |
marshaller |
protected McProtocolVersion |
mcVer |
protected boolean |
optimized |
protected List<PolicyAlternativeHolder> |
policyAlternatives |
protected RmProtocolVersion |
rmVer |
protected SecurityEnvironment |
secEnv |
protected boolean |
securityMUValue |
protected static ArrayList<String> |
securityPolicyNamespaces |
protected X509Certificate |
serverCert |
protected SOAPFactory |
soapFactory |
protected com.sun.xml.ws.api.SOAPVersion |
soapVersion |
protected SecurityPolicyVersion |
spVersion |
protected long |
timestampTimeOut |
protected boolean |
transportOptimization |
protected TubeConfiguration |
tubeConfig |
protected Unmarshaller |
unmarshaller |
protected static String |
WSDLPORT |
protected static String |
WSENDPOINT |
protected com.sun.xml.ws.policy.Policy |
wsitConfig |
protected com.sun.xml.ws.policy.PolicyMap |
wsPolicyMap |
protected WSSCVersion |
wsscVer |
protected WSTrustVersion |
wsTrustVer |
| Modifier | Constructor and Description |
|---|---|
protected |
SecurityTubeBase(SecurityTubeBase that,
com.sun.xml.ws.api.pipe.TubeCloner cloner) |
|
SecurityTubeBase(TubeConfiguration config,
com.sun.xml.ws.api.pipe.Tube nextTube) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
addIncomingFaultPolicy(com.sun.xml.ws.policy.Policy effectivePolicy,
SecurityPolicyHolder sph,
com.sun.xml.ws.api.model.wsdl.WSDLFault fault) |
protected abstract SecurityPolicyHolder |
addIncomingMP(com.sun.xml.ws.api.model.wsdl.WSDLBoundOperation operation,
com.sun.xml.ws.policy.Policy policy,
PolicyAlternativeHolder ph) |
protected abstract void |
addIncomingProtocolPolicy(com.sun.xml.ws.policy.Policy effectivePolicy,
String protocol,
PolicyAlternativeHolder ph) |
protected abstract void |
addOutgoingFaultPolicy(com.sun.xml.ws.policy.Policy effectivePolicy,
SecurityPolicyHolder sph,
com.sun.xml.ws.api.model.wsdl.WSDLFault fault) |
protected abstract SecurityPolicyHolder |
addOutgoingMP(com.sun.xml.ws.api.model.wsdl.WSDLBoundOperation operation,
com.sun.xml.ws.policy.Policy policy,
PolicyAlternativeHolder ph) |
protected abstract void |
addOutgoingProtocolPolicy(com.sun.xml.ws.policy.Policy effectivePolicy,
String protocol,
PolicyAlternativeHolder ph) |
protected boolean |
bindingHasIssuedTokenPolicy() |
protected boolean |
bindingHasRMPolicy() |
protected boolean |
bindingHasSecureConversationPolicy() |
protected void |
buildProtocolPolicy(com.sun.xml.ws.policy.Policy endpointPolicy,
PolicyAlternativeHolder ph) |
protected void |
cacheMessage(com.sun.xml.ws.api.message.Packet packet) |
protected void |
cacheOperation(com.sun.xml.ws.api.message.Message msg) |
protected void |
collectPolicies(List<PolicyAlternativeHolder> alternatives)
Summary from Section 4.2, WS-Security Policy spec( version 1.1 July 2005 ).
|
protected SecurityPolicyHolder |
constructPolicyHolder(com.sun.xml.ws.policy.Policy effectivePolicy,
boolean isServer,
boolean isIncoming) |
protected SecurityPolicyHolder |
constructPolicyHolder(com.sun.xml.ws.policy.Policy effectivePolicy,
boolean isServer,
boolean isIncoming,
boolean ignoreST) |
protected RuntimeException |
generateInternalError(com.sun.xml.ws.policy.PolicyException ex) |
protected String |
getAction(com.sun.xml.ws.api.message.Packet packet) |
protected abstract String |
getAction(com.sun.xml.ws.api.model.wsdl.WSDLOperation operation,
boolean isIncomming) |
protected AlgorithmSuite |
getAlgoSuite(AlgorithmSuite suite) |
protected AlgorithmSuite |
getBindingAlgorithmSuite(com.sun.xml.ws.api.message.Packet packet) |
protected com.sun.xml.ws.policy.Policy |
getEffectiveBootstrapPolicy(com.sun.xml.ws.policy.NestedPolicy bp) |
protected List<com.sun.xml.ws.policy.PolicyAssertion> |
getInBoundSCP(com.sun.xml.ws.api.message.Message message) |
protected MessagePolicy |
getInboundXWSBootstrapPolicy(Token scAssertion) |
protected List<com.sun.xml.ws.policy.PolicyAssertion> |
getIssuedTokenPoliciesFromBootstrapPolicy(Token scAssertion) |
protected List<com.sun.xml.ws.policy.PolicyAssertion> |
getKerberosTokenPoliciesFromBootstrapPolicy(Token scAssertion) |
protected com.sun.xml.ws.api.model.wsdl.WSDLBoundOperation |
getOperation(com.sun.xml.ws.api.message.Message message) |
protected com.sun.xml.ws.policy.PolicyMapKey |
getOperationKey(com.sun.xml.ws.api.message.Message message) |
protected List<com.sun.xml.ws.policy.PolicyAssertion> |
getOutBoundKTP(com.sun.xml.ws.api.message.Packet packet,
boolean isSCMessage) |
protected List<com.sun.xml.ws.policy.PolicyAssertion> |
getOutBoundSCP(com.sun.xml.ws.api.message.Message message) |
protected MessagePolicy |
getOutgoingXWSBootstrapPolicy(Token scAssertion) |
protected MessagePolicy |
getOutgoingXWSSecurityPolicy(com.sun.xml.ws.api.message.Packet packet,
boolean isSCMessage) |
protected List<com.sun.xml.ws.policy.PolicyAssertion> |
getSecureConversationPolicies(com.sun.xml.ws.api.message.Message message,
String scope) |
protected SOAPFault |
getSOAPFault(WssSoapFaultException sfe) |
protected SOAPFaultException |
getSOAPFaultException(WssSoapFaultException sfe) |
protected SOAPFaultException |
getSOAPFaultException(XWSSecurityException xwse) |
protected ArrayList<com.sun.xml.ws.policy.PolicyAssertion> |
getTokens(com.sun.xml.ws.policy.Policy policy) |
protected com.sun.xml.ws.api.model.wsdl.WSDLBoundOperation |
getWSDLOpFromAction(com.sun.xml.ws.api.message.Packet packet,
boolean isIncomming) |
protected com.sun.xml.ws.api.model.wsdl.WSDLBoundOperation |
getWSDLOpFromAction(com.sun.xml.ws.api.message.Packet packet,
boolean isIncomming,
boolean isFault) |
protected WSSAssertion |
getWssAssertion(WSSAssertion asser) |
protected boolean |
hasKerberosTokenPolicy() |
protected ProcessingContext |
initializeInboundProcessingContext(com.sun.xml.ws.api.message.Packet packet) |
protected ProcessingContext |
initializeOutgoingProcessingContext(com.sun.xml.ws.api.message.Packet packet,
boolean isSCMessage) |
protected boolean |
isAddressingEnabled() |
protected boolean |
isMakeConnectionMessage(com.sun.xml.ws.api.message.Packet packet) |
protected boolean |
isRMMessage(com.sun.xml.ws.api.message.Packet packet) |
protected boolean |
isSCCancel(com.sun.xml.ws.api.message.Packet packet) |
protected boolean |
isSCMessage(com.sun.xml.ws.api.message.Packet packet) |
protected boolean |
isSCRenew(com.sun.xml.ws.api.message.Packet packet) |
protected boolean |
isTrustMessage(com.sun.xml.ws.api.message.Packet packet) |
protected Class |
loadClass(String classname) |
protected String |
populateConfigProperties(Set<com.sun.xml.ws.policy.PolicyAssertion> configAssertions,
Properties props) |
protected void |
resetCachedOperation() |
protected PolicyAlternativeHolder |
resolveAlternative(com.sun.xml.ws.api.message.Packet packet,
boolean isSCMessage) |
protected com.sun.xml.ws.api.message.Message |
secureOutboundMessage(com.sun.xml.ws.api.message.Message message,
ProcessingContext ctx) |
protected SOAPMessage |
secureOutboundMessage(SOAPMessage message,
ProcessingContext ctx) |
protected com.sun.xml.ws.policy.sourcemodel.PolicySourceModel |
unmarshalPolicy(String resource) |
protected com.sun.xml.ws.api.message.Message |
verifyInboundMessage(com.sun.xml.ws.api.message.Message message,
ProcessingContext ctx) |
protected SOAPMessage |
verifyInboundMessage(SOAPMessage message,
ProcessingContext ctx) |
preDestroy, processException, processRequest, processResponseprotected static final Logger log
protected boolean optimized
protected boolean transportOptimization
protected Hashtable<String,IssuedTokenContext> issuedTokenContextMap
protected TubeConfiguration tubeConfig
protected static JAXBContext jaxbContext
protected WSSCVersion wsscVer
protected WSTrustVersion wsTrustVer
protected RmProtocolVersion rmVer
protected McProtocolVersion mcVer
protected boolean disablePayloadBuffer
protected AlgorithmSuite bindingLevelAlgSuite
protected boolean disableIncPrefix
protected boolean encHeaderContent
protected boolean bsp10
protected boolean allowMissingTimestamp
protected boolean securityMUValue
protected boolean encRMLifecycleMsg
protected static final List<com.sun.xml.ws.policy.PolicyAssertion> EMPTY_LIST
protected SecurityEnvironment secEnv
protected static final boolean debug
protected boolean isSOAP12
protected com.sun.xml.ws.api.SOAPVersion soapVersion
protected SOAPFactory soapFactory
protected com.sun.xml.ws.policy.PolicyMap wsPolicyMap
protected com.sun.xml.ws.policy.Policy bpMSP
protected long timestampTimeOut
protected int iterationsForPDK
protected boolean isEPREnabled
protected boolean isCertValidityVerified
protected List<PolicyAlternativeHolder> policyAlternatives
protected com.sun.xml.ws.api.model.wsdl.WSDLBoundOperation cachedOperation
protected com.sun.xml.ws.policy.Policy wsitConfig
protected Marshaller marshaller
protected Unmarshaller unmarshaller
protected SecurityPolicyVersion spVersion
protected static final String WSDLPORT
protected static final String WSENDPOINT
protected X509Certificate serverCert
protected boolean isCertValid
public SecurityTubeBase(TubeConfiguration config, com.sun.xml.ws.api.pipe.Tube nextTube)
protected SecurityTubeBase(SecurityTubeBase that, com.sun.xml.ws.api.pipe.TubeCloner cloner)
protected SOAPMessage secureOutboundMessage(SOAPMessage message, ProcessingContext ctx)
protected RuntimeException generateInternalError(com.sun.xml.ws.policy.PolicyException ex)
protected com.sun.xml.ws.api.message.Message secureOutboundMessage(com.sun.xml.ws.api.message.Message message,
ProcessingContext ctx)
protected SOAPMessage verifyInboundMessage(SOAPMessage message, ProcessingContext ctx) throws WssSoapFaultException, XWSSecurityException
protected com.sun.xml.ws.api.message.Message verifyInboundMessage(com.sun.xml.ws.api.message.Message message,
ProcessingContext ctx)
throws XWSSecurityException
XWSSecurityExceptionprotected List<com.sun.xml.ws.policy.PolicyAssertion> getIssuedTokenPoliciesFromBootstrapPolicy(Token scAssertion)
protected List<com.sun.xml.ws.policy.PolicyAssertion> getKerberosTokenPoliciesFromBootstrapPolicy(Token scAssertion)
protected MessagePolicy getOutgoingXWSSecurityPolicy(com.sun.xml.ws.api.message.Packet packet, boolean isSCMessage)
protected com.sun.xml.ws.api.model.wsdl.WSDLBoundOperation getOperation(com.sun.xml.ws.api.message.Message message)
protected MessagePolicy getInboundXWSBootstrapPolicy(Token scAssertion)
protected MessagePolicy getOutgoingXWSBootstrapPolicy(Token scAssertion)
protected ProcessingContext initializeInboundProcessingContext(com.sun.xml.ws.api.message.Packet packet)
protected boolean bindingHasIssuedTokenPolicy()
protected boolean bindingHasSecureConversationPolicy()
protected boolean bindingHasRMPolicy()
protected boolean hasKerberosTokenPolicy()
protected ProcessingContext initializeOutgoingProcessingContext(com.sun.xml.ws.api.message.Packet packet, boolean isSCMessage)
protected SOAPFault getSOAPFault(WssSoapFaultException sfe)
protected SOAPFaultException getSOAPFaultException(WssSoapFaultException sfe)
protected SOAPFaultException getSOAPFaultException(XWSSecurityException xwse)
protected void collectPolicies(List<PolicyAlternativeHolder> alternatives)
protected List<com.sun.xml.ws.policy.PolicyAssertion> getInBoundSCP(com.sun.xml.ws.api.message.Message message)
protected List<com.sun.xml.ws.policy.PolicyAssertion> getOutBoundSCP(com.sun.xml.ws.api.message.Message message)
protected List<com.sun.xml.ws.policy.PolicyAssertion> getOutBoundKTP(com.sun.xml.ws.api.message.Packet packet, boolean isSCMessage)
protected List<com.sun.xml.ws.policy.PolicyAssertion> getSecureConversationPolicies(com.sun.xml.ws.api.message.Message message, String scope)
protected ArrayList<com.sun.xml.ws.policy.PolicyAssertion> getTokens(com.sun.xml.ws.policy.Policy policy)
protected com.sun.xml.ws.policy.PolicyMapKey getOperationKey(com.sun.xml.ws.api.message.Message message)
protected abstract SecurityPolicyHolder addOutgoingMP(com.sun.xml.ws.api.model.wsdl.WSDLBoundOperation operation, com.sun.xml.ws.policy.Policy policy, PolicyAlternativeHolder ph) throws com.sun.xml.ws.policy.PolicyException
com.sun.xml.ws.policy.PolicyExceptionprotected abstract SecurityPolicyHolder addIncomingMP(com.sun.xml.ws.api.model.wsdl.WSDLBoundOperation operation, com.sun.xml.ws.policy.Policy policy, PolicyAlternativeHolder ph) throws com.sun.xml.ws.policy.PolicyException
com.sun.xml.ws.policy.PolicyExceptionprotected AlgorithmSuite getBindingAlgorithmSuite(com.sun.xml.ws.api.message.Packet packet)
protected void cacheMessage(com.sun.xml.ws.api.message.Packet packet)
protected com.sun.xml.ws.policy.Policy getEffectiveBootstrapPolicy(com.sun.xml.ws.policy.NestedPolicy bp)
throws com.sun.xml.ws.policy.PolicyException
com.sun.xml.ws.policy.PolicyExceptionprotected com.sun.xml.ws.policy.sourcemodel.PolicySourceModel unmarshalPolicy(String resource) throws com.sun.xml.ws.policy.PolicyException, IOException
com.sun.xml.ws.policy.PolicyExceptionIOExceptionprotected final void cacheOperation(com.sun.xml.ws.api.message.Message msg)
protected final void resetCachedOperation()
protected boolean isSCMessage(com.sun.xml.ws.api.message.Packet packet)
protected boolean isSCCancel(com.sun.xml.ws.api.message.Packet packet)
protected boolean isSCRenew(com.sun.xml.ws.api.message.Packet packet)
protected boolean isAddressingEnabled()
protected boolean isTrustMessage(com.sun.xml.ws.api.message.Packet packet)
protected boolean isRMMessage(com.sun.xml.ws.api.message.Packet packet)
protected boolean isMakeConnectionMessage(com.sun.xml.ws.api.message.Packet packet)
protected String getAction(com.sun.xml.ws.api.message.Packet packet)
protected com.sun.xml.ws.api.model.wsdl.WSDLBoundOperation getWSDLOpFromAction(com.sun.xml.ws.api.message.Packet packet,
boolean isIncomming)
protected com.sun.xml.ws.api.model.wsdl.WSDLBoundOperation getWSDLOpFromAction(com.sun.xml.ws.api.message.Packet packet,
boolean isIncomming,
boolean isFault)
protected void buildProtocolPolicy(com.sun.xml.ws.policy.Policy endpointPolicy,
PolicyAlternativeHolder ph)
throws com.sun.xml.ws.policy.PolicyException
com.sun.xml.ws.policy.PolicyExceptionprotected SecurityPolicyHolder constructPolicyHolder(com.sun.xml.ws.policy.Policy effectivePolicy, boolean isServer, boolean isIncoming) throws com.sun.xml.ws.policy.PolicyException
com.sun.xml.ws.policy.PolicyExceptionprotected SecurityPolicyHolder constructPolicyHolder(com.sun.xml.ws.policy.Policy effectivePolicy, boolean isServer, boolean isIncoming, boolean ignoreST) throws com.sun.xml.ws.policy.PolicyException
com.sun.xml.ws.policy.PolicyExceptionprotected String populateConfigProperties(Set<com.sun.xml.ws.policy.PolicyAssertion> configAssertions, Properties props)
protected AlgorithmSuite getAlgoSuite(AlgorithmSuite suite)
protected WSSAssertion getWssAssertion(WSSAssertion asser)
protected abstract void addIncomingFaultPolicy(com.sun.xml.ws.policy.Policy effectivePolicy,
SecurityPolicyHolder sph,
com.sun.xml.ws.api.model.wsdl.WSDLFault fault)
throws com.sun.xml.ws.policy.PolicyException
com.sun.xml.ws.policy.PolicyExceptionprotected abstract void addOutgoingFaultPolicy(com.sun.xml.ws.policy.Policy effectivePolicy,
SecurityPolicyHolder sph,
com.sun.xml.ws.api.model.wsdl.WSDLFault fault)
throws com.sun.xml.ws.policy.PolicyException
com.sun.xml.ws.policy.PolicyExceptionprotected abstract void addIncomingProtocolPolicy(com.sun.xml.ws.policy.Policy effectivePolicy,
String protocol,
PolicyAlternativeHolder ph)
throws com.sun.xml.ws.policy.PolicyException
com.sun.xml.ws.policy.PolicyExceptionprotected abstract void addOutgoingProtocolPolicy(com.sun.xml.ws.policy.Policy effectivePolicy,
String protocol,
PolicyAlternativeHolder ph)
throws com.sun.xml.ws.policy.PolicyException
com.sun.xml.ws.policy.PolicyExceptionprotected abstract String getAction(com.sun.xml.ws.api.model.wsdl.WSDLOperation operation, boolean isIncomming)
protected PolicyAlternativeHolder resolveAlternative(com.sun.xml.ws.api.message.Packet packet, boolean isSCMessage)
Copyright © 2005–2018 Oracle Corporation. All rights reserved.