public abstract class WSITAuthContextBase extends Object
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
allowMissingTimestamp |
protected AlgorithmSuite |
bindingLevelAlgSuite |
protected com.sun.xml.ws.policy.Policy |
bpMSP |
protected static boolean |
debug |
protected static String |
DEFAULT_JMAC_HANDLER |
protected boolean |
disableIncPrefix |
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 com.sun.xml.ws.api.pipe.Pipe |
nextPipe |
protected com.sun.xml.ws.api.pipe.Tube |
nextTube |
protected boolean |
optimized |
protected TubeConfiguration |
pipeConfig |
protected List<PolicyAlternativeHolder> |
policyAlternatives |
protected static String |
REQ_PACKET |
protected static String |
RES_PACKET |
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 Unmarshaller |
unmarshaller |
protected static String |
WSDLPORT |
protected static String |
WSENDPOINT |
protected WSSCVersion |
wsscVer |
protected WSTrustVersion |
wsTrustVer |
| Constructor and Description |
|---|
WSITAuthContextBase(Map<Object,Object> map)
Creates a new instance of WSITAuthContextBase
|
| 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 com.sun.xml.ws.api.model.wsdl.WSDLBoundOperation |
cachedOperation(com.sun.xml.ws.api.message.Packet packet) |
protected void |
cacheMessage(com.sun.xml.ws.api.message.Packet packet) |
protected com.sun.xml.ws.api.model.wsdl.WSDLBoundOperation |
cacheOperation(com.sun.xml.ws.api.message.Message msg,
com.sun.xml.ws.api.message.Packet packet) |
protected void |
cacheOperation(com.sun.xml.ws.api.model.wsdl.WSDLBoundOperation op,
com.sun.xml.ws.api.message.Packet packet) |
protected void |
collectPolicies(com.sun.xml.ws.policy.PolicyMap wsPolicyMap,
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 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,
com.sun.xml.ws.api.message.Packet packet) |
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 com.sun.xml.ws.api.message.Packet |
getRequestPacket(javax.security.auth.message.MessageInfo messageInfo) |
protected com.sun.xml.ws.api.message.Packet |
getResponsePacket(javax.security.auth.message.MessageInfo messageInfo) |
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 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 CallbackHandler |
loadGFHandler(boolean isClientAuthModule,
String jmacHandler) |
protected String |
populateConfigProperties(Set configAssertions,
Properties props) |
protected void |
resetCachedOperation(com.sun.xml.ws.api.message.Packet packet) |
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 void |
setRequestPacket(javax.security.auth.message.MessageInfo messageInfo,
com.sun.xml.ws.api.message.Packet ret) |
protected void |
setResponsePacket(javax.security.auth.message.MessageInfo messageInfo,
com.sun.xml.ws.api.message.Packet ret) |
protected com.sun.xml.ws.policy.sourcemodel.PolicySourceModel |
unmarshalPolicy(String resource) |
protected static final Logger log
protected Hashtable<String,IssuedTokenContext> issuedTokenContextMap
protected boolean disableIncPrefix
protected boolean encRMLifecycleMsg
protected boolean encHeaderContent
protected boolean allowMissingTimestamp
protected boolean securityMUValue
protected static final JAXBContext jaxbContext
protected WSSCVersion wsscVer
protected WSTrustVersion wsTrustVer
protected RmProtocolVersion rmVer
protected McProtocolVersion mcVer
protected static final List<com.sun.xml.ws.policy.PolicyAssertion> EMPTY_LIST
protected static final boolean debug
protected com.sun.xml.ws.api.pipe.Pipe nextPipe
protected com.sun.xml.ws.api.pipe.Tube nextTube
protected boolean optimized
protected TubeConfiguration pipeConfig
protected SecurityEnvironment secEnv
protected boolean isSOAP12
protected com.sun.xml.ws.api.SOAPVersion soapVersion
protected SOAPFactory soapFactory
protected List<PolicyAlternativeHolder> policyAlternatives
protected com.sun.xml.ws.policy.Policy bpMSP
protected Marshaller marshaller
protected Unmarshaller unmarshaller
protected AlgorithmSuite bindingLevelAlgSuite
protected SecurityPolicyVersion spVersion
protected static final String REQ_PACKET
protected static final String RES_PACKET
protected static final String DEFAULT_JMAC_HANDLER
protected static final String WSDLPORT
protected static final String WSENDPOINT
protected X509Certificate serverCert
protected boolean isCertValidityVerified
protected long timestampTimeOut
protected int iterationsForPDK
protected boolean isEPREnabled
protected boolean isCertValid
protected void collectPolicies(com.sun.xml.ws.policy.PolicyMap wsPolicyMap,
List<PolicyAlternativeHolder> alternatives)
protected RuntimeException generateInternalError(com.sun.xml.ws.policy.PolicyException ex)
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 com.sun.xml.ws.api.model.wsdl.WSDLBoundOperation cacheOperation(com.sun.xml.ws.api.message.Message msg,
com.sun.xml.ws.api.message.Packet packet)
protected final void resetCachedOperation(com.sun.xml.ws.api.message.Packet packet)
protected final void cacheOperation(com.sun.xml.ws.api.model.wsdl.WSDLBoundOperation op,
com.sun.xml.ws.api.message.Packet packet)
protected final com.sun.xml.ws.api.model.wsdl.WSDLBoundOperation cachedOperation(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 isSCCancel(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 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 List<com.sun.xml.ws.policy.PolicyAssertion> getIssuedTokenPoliciesFromBootstrapPolicy(Token scAssertion)
protected List<com.sun.xml.ws.policy.PolicyAssertion> getKerberosTokenPoliciesFromBootstrapPolicy(Token scAssertion)
protected String populateConfigProperties(Set configAssertions, Properties props)
protected ProcessingContext initializeInboundProcessingContext(com.sun.xml.ws.api.message.Packet packet)
protected AlgorithmSuite getAlgoSuite(AlgorithmSuite suite)
protected WSSAssertion getWssAssertion(WSSAssertion asser)
protected boolean bindingHasIssuedTokenPolicy()
protected boolean bindingHasSecureConversationPolicy()
protected boolean hasKerberosTokenPolicy()
protected boolean bindingHasRMPolicy()
protected com.sun.xml.ws.api.model.wsdl.WSDLBoundOperation getOperation(com.sun.xml.ws.api.message.Message message,
com.sun.xml.ws.api.message.Packet packet)
protected ProcessingContext initializeOutgoingProcessingContext(com.sun.xml.ws.api.message.Packet packet, boolean isSCMessage)
protected MessagePolicy getOutgoingXWSSecurityPolicy(com.sun.xml.ws.api.message.Packet packet, boolean isSCMessage)
protected MessagePolicy getOutgoingXWSBootstrapPolicy(Token scAssertion)
protected SOAPFaultException getSOAPFaultException(WssSoapFaultException sfe)
protected SOAPFaultException getSOAPFaultException(XWSSecurityException xwse)
protected SOAPMessage secureOutboundMessage(SOAPMessage message, ProcessingContext ctx)
protected com.sun.xml.ws.api.message.Message secureOutboundMessage(com.sun.xml.ws.api.message.Message message,
ProcessingContext ctx)
protected SOAPFault getSOAPFault(WssSoapFaultException sfe)
protected CallbackHandler loadGFHandler(boolean isClientAuthModule, String jmacHandler)
protected com.sun.xml.ws.api.message.Packet getRequestPacket(javax.security.auth.message.MessageInfo messageInfo)
protected com.sun.xml.ws.api.message.Packet getResponsePacket(javax.security.auth.message.MessageInfo messageInfo)
protected void setRequestPacket(javax.security.auth.message.MessageInfo messageInfo, com.sun.xml.ws.api.message.Packet ret)
protected void setResponsePacket(javax.security.auth.message.MessageInfo messageInfo, com.sun.xml.ws.api.message.Packet ret)
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.