Package com.sun.xml.wss.provider.wsit
Class WSITAuthContextBase
java.lang.Object
com.sun.xml.wss.provider.wsit.WSITAuthContextBase
- Direct Known Subclasses:
WSITClientAuthContext
,WSITServerAuthContext
- Author:
- kumar jayanti
-
Field Summary
Modifier and TypeFieldDescriptionprotected boolean
protected AlgorithmSuite
protected Policy
protected static final boolean
protected static final String
protected boolean
protected static final List<PolicyAssertion>
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected Hashtable<String,
IssuedTokenContext> protected int
protected static final javax.xml.bind.JAXBContext
protected static final Logger
protected javax.xml.bind.Marshaller
protected McProtocolVersion
protected Pipe
protected Tube
protected boolean
protected TubeConfiguration
protected List<PolicyAlternativeHolder>
protected static final String
protected static final String
protected RmProtocolVersion
protected SecurityEnvironment
protected boolean
protected X509Certificate
protected javax.xml.soap.SOAPFactory
protected SOAPVersion
protected SecurityPolicyVersion
protected long
protected javax.xml.bind.Unmarshaller
protected static final String
protected static final String
protected WSSCVersion
protected WSTrustVersion
-
Constructor Summary
ConstructorDescriptionWSITAuthContextBase
(Map<Object, Object> map) Creates a new instance of WSITAuthContextBase -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract void
addIncomingFaultPolicy
(Policy effectivePolicy, SecurityPolicyHolder sph, WSDLFault fault) protected abstract SecurityPolicyHolder
addIncomingMP
(WSDLBoundOperation operation, Policy policy, PolicyAlternativeHolder ph) protected abstract void
addIncomingProtocolPolicy
(Policy effectivePolicy, String protocol, PolicyAlternativeHolder ph) protected abstract void
addOutgoingFaultPolicy
(Policy effectivePolicy, SecurityPolicyHolder sph, WSDLFault fault) protected abstract SecurityPolicyHolder
addOutgoingMP
(WSDLBoundOperation operation, Policy policy, PolicyAlternativeHolder ph) protected abstract void
addOutgoingProtocolPolicy
(Policy effectivePolicy, String protocol, PolicyAlternativeHolder ph) protected boolean
protected boolean
protected boolean
protected void
buildProtocolPolicy
(Policy endpointPolicy, PolicyAlternativeHolder ph) protected final WSDLBoundOperation
cachedOperation
(Packet packet) protected void
cacheMessage
(Packet packet) protected final WSDLBoundOperation
cacheOperation
(Message msg, Packet packet) protected final void
cacheOperation
(WSDLBoundOperation op, Packet packet) protected void
collectPolicies
(PolicyMap wsPolicyMap, List<PolicyAlternativeHolder> alternatives) Summary from Section 4.2, WS-Security Policy spec( version 1.1 July 2005 ).protected SecurityPolicyHolder
constructPolicyHolder
(Policy effectivePolicy, boolean isServer, boolean isIncoming) protected SecurityPolicyHolder
constructPolicyHolder
(Policy effectivePolicy, boolean isServer, boolean isIncoming, boolean ignoreST) protected RuntimeException
protected String
protected abstract String
getAction
(WSDLOperation operation, boolean isIncomming) protected AlgorithmSuite
getAlgoSuite
(AlgorithmSuite suite) protected AlgorithmSuite
getBindingAlgorithmSuite
(Packet packet) protected Policy
protected List<PolicyAssertion>
getInBoundSCP
(Message message) protected List<PolicyAssertion>
getIssuedTokenPoliciesFromBootstrapPolicy
(Token scAssertion) protected List<PolicyAssertion>
getKerberosTokenPoliciesFromBootstrapPolicy
(Token scAssertion) protected WSDLBoundOperation
getOperation
(Message message, Packet packet) protected PolicyMapKey
getOperationKey
(Message message) protected List<PolicyAssertion>
getOutBoundKTP
(Packet packet, boolean isSCMessage) protected List<PolicyAssertion>
getOutBoundSCP
(Message message) protected MessagePolicy
getOutgoingXWSBootstrapPolicy
(Token scAssertion) protected MessagePolicy
getOutgoingXWSSecurityPolicy
(Packet packet, boolean isSCMessage) protected Packet
getRequestPacket
(javax.security.auth.message.MessageInfo messageInfo) protected Packet
getResponsePacket
(javax.security.auth.message.MessageInfo messageInfo) protected List<PolicyAssertion>
getSecureConversationPolicies
(Message message, String scope) protected javax.xml.soap.SOAPFault
protected javax.xml.ws.soap.SOAPFaultException
protected javax.xml.ws.soap.SOAPFaultException
protected ArrayList<PolicyAssertion>
protected WSDLBoundOperation
getWSDLOpFromAction
(Packet packet, boolean isIncomming) protected WSSAssertion
getWssAssertion
(WSSAssertion asser) protected boolean
protected ProcessingContext
protected ProcessingContext
initializeOutgoingProcessingContext
(Packet packet, boolean isSCMessage) protected boolean
protected boolean
isMakeConnectionMessage
(Packet packet) protected boolean
isRMMessage
(Packet packet) protected boolean
isSCCancel
(Packet packet) protected boolean
isSCMessage
(Packet packet) protected boolean
protected boolean
isTrustMessage
(Packet packet) protected Class
protected CallbackHandler
loadGFHandler
(boolean isClientAuthModule, String jmacHandler) protected String
populateConfigProperties
(Set configAssertions, Properties props) protected final void
resetCachedOperation
(Packet packet) protected PolicyAlternativeHolder
resolveAlternative
(Packet packet, boolean isSCMessage) protected Message
secureOutboundMessage
(Message message, ProcessingContext ctx) protected javax.xml.soap.SOAPMessage
secureOutboundMessage
(javax.xml.soap.SOAPMessage message, ProcessingContext ctx) protected void
setRequestPacket
(javax.security.auth.message.MessageInfo messageInfo, Packet ret) protected void
setResponsePacket
(javax.security.auth.message.MessageInfo messageInfo, Packet ret) protected PolicySourceModel
unmarshalPolicy
(String resource)
-
Field Details
-
log
-
issuedTokenContextMap
-
disableIncPrefix
protected boolean disableIncPrefix -
encRMLifecycleMsg
protected boolean encRMLifecycleMsg -
encHeaderContent
protected boolean encHeaderContent -
allowMissingTimestamp
protected boolean allowMissingTimestamp -
securityMUValue
protected boolean securityMUValue -
jaxbContext
protected static final javax.xml.bind.JAXBContext jaxbContext -
wsscVer
-
wsTrustVer
-
rmVer
-
mcVer
-
securityPolicyNamespaces
-
EMPTY_LIST
-
debug
protected static final boolean debug -
nextPipe
-
nextTube
-
optimized
protected boolean optimized -
pipeConfig
-
secEnv
-
isSOAP12
protected boolean isSOAP12 -
soapVersion
-
soapFactory
protected javax.xml.soap.SOAPFactory soapFactory -
policyAlternatives
-
bpMSP
-
marshaller
protected javax.xml.bind.Marshaller marshaller -
unmarshaller
protected javax.xml.bind.Unmarshaller unmarshaller -
bindingLevelAlgSuite
-
spVersion
-
REQ_PACKET
- See Also:
-
RES_PACKET
- See Also:
-
DEFAULT_JMAC_HANDLER
- See Also:
-
WSDLPORT
- See Also:
-
WSENDPOINT
- See Also:
-
serverCert
-
isCertValidityVerified
protected boolean isCertValidityVerified -
timestampTimeOut
protected long timestampTimeOut -
iterationsForPDK
protected int iterationsForPDK -
isEPREnabled
protected boolean isEPREnabled -
isCertValid
protected boolean isCertValid
-
-
Constructor Details
-
WSITAuthContextBase
Creates a new instance of WSITAuthContextBase
-
-
Method Details
-
collectPolicies
Summary from Section 4.2, WS-Security Policy spec( version 1.1 July 2005 ). MessagePolicySubject : policy can be attached to 1) wsdl:binding/wsdl:operation/wsdl:input, ./wsdl:output, or ./wsdl:fault OperationPolicySubject : policy can be attached to 1)wsdl:binding/wsdl:operation EndpointPolicySubject : policy can be attached to 1)wsdl:port 2)wsdl:Binding -
generateInternalError
-
getInBoundSCP
-
getOutBoundSCP
-
getOutBoundKTP
-
getSecureConversationPolicies
-
getTokens
-
getOperationKey
-
addOutgoingMP
protected abstract SecurityPolicyHolder addOutgoingMP(WSDLBoundOperation operation, Policy policy, PolicyAlternativeHolder ph) throws PolicyException - Throws:
PolicyException
-
addIncomingMP
protected abstract SecurityPolicyHolder addIncomingMP(WSDLBoundOperation operation, Policy policy, PolicyAlternativeHolder ph) throws PolicyException - Throws:
PolicyException
-
getBindingAlgorithmSuite
-
cacheMessage
-
getEffectiveBootstrapPolicy
- Throws:
PolicyException
-
unmarshalPolicy
- Throws:
PolicyException
IOException
-
cacheOperation
-
resetCachedOperation
-
cacheOperation
-
cachedOperation
-
isSCMessage
-
isSCRenew
-
isSCCancel
-
isAddressingEnabled
protected boolean isAddressingEnabled() -
isTrustMessage
-
isRMMessage
-
isMakeConnectionMessage
-
getAction
-
getWSDLOpFromAction
-
buildProtocolPolicy
protected void buildProtocolPolicy(Policy endpointPolicy, PolicyAlternativeHolder ph) throws PolicyException - Throws:
PolicyException
-
constructPolicyHolder
protected SecurityPolicyHolder constructPolicyHolder(Policy effectivePolicy, boolean isServer, boolean isIncoming) throws PolicyException - Throws:
PolicyException
-
constructPolicyHolder
protected SecurityPolicyHolder constructPolicyHolder(Policy effectivePolicy, boolean isServer, boolean isIncoming, boolean ignoreST) throws PolicyException - Throws:
PolicyException
-
getIssuedTokenPoliciesFromBootstrapPolicy
-
getKerberosTokenPoliciesFromBootstrapPolicy
-
populateConfigProperties
-
initializeInboundProcessingContext
-
getAlgoSuite
-
getWssAssertion
-
bindingHasIssuedTokenPolicy
protected boolean bindingHasIssuedTokenPolicy() -
bindingHasSecureConversationPolicy
protected boolean bindingHasSecureConversationPolicy() -
hasKerberosTokenPolicy
protected boolean hasKerberosTokenPolicy() -
bindingHasRMPolicy
protected boolean bindingHasRMPolicy() -
loadClass
- Throws:
Exception
-
getOperation
-
initializeOutgoingProcessingContext
-
getOutgoingXWSSecurityPolicy
-
getOutgoingXWSBootstrapPolicy
-
getSOAPFaultException
-
getSOAPFaultException
-
secureOutboundMessage
protected javax.xml.soap.SOAPMessage secureOutboundMessage(javax.xml.soap.SOAPMessage message, ProcessingContext ctx) -
secureOutboundMessage
-
getSOAPFault
-
loadGFHandler
-
getRequestPacket
-
getResponsePacket
-
setRequestPacket
-
setResponsePacket
-
addIncomingFaultPolicy
protected abstract void addIncomingFaultPolicy(Policy effectivePolicy, SecurityPolicyHolder sph, WSDLFault fault) throws PolicyException - Throws:
PolicyException
-
addOutgoingFaultPolicy
protected abstract void addOutgoingFaultPolicy(Policy effectivePolicy, SecurityPolicyHolder sph, WSDLFault fault) throws PolicyException - Throws:
PolicyException
-
addIncomingProtocolPolicy
protected abstract void addIncomingProtocolPolicy(Policy effectivePolicy, String protocol, PolicyAlternativeHolder ph) throws PolicyException - Throws:
PolicyException
-
addOutgoingProtocolPolicy
protected abstract void addOutgoingProtocolPolicy(Policy effectivePolicy, String protocol, PolicyAlternativeHolder ph) throws PolicyException - Throws:
PolicyException
-
getAction
-
resolveAlternative
-