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
FieldsModifier and TypeFieldDescriptionprotected booleanprotected AlgorithmSuiteprotected Policyprotected static final booleanprotected static final Stringprotected booleanprotected static final List<PolicyAssertion>protected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected Hashtable<String,IssuedTokenContext> protected intprotected static final javax.xml.bind.JAXBContextprotected static final Loggerprotected javax.xml.bind.Marshallerprotected McProtocolVersionprotected Pipeprotected Tubeprotected booleanprotected TubeConfigurationprotected List<PolicyAlternativeHolder>protected static final Stringprotected static final Stringprotected RmProtocolVersionprotected SecurityEnvironmentprotected booleanprotected X509Certificateprotected javax.xml.soap.SOAPFactoryprotected SOAPVersionprotected SecurityPolicyVersionprotected longprotected javax.xml.bind.Unmarshallerprotected static final Stringprotected static final Stringprotected WSSCVersionprotected WSTrustVersion -
Constructor Summary
ConstructorsConstructorDescriptionWSITAuthContextBase(Map<Object, Object> map) Creates a new instance of WSITAuthContextBase -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voidaddIncomingFaultPolicy(Policy effectivePolicy, SecurityPolicyHolder sph, WSDLFault fault) protected abstract SecurityPolicyHolderaddIncomingMP(WSDLBoundOperation operation, Policy policy, PolicyAlternativeHolder ph) protected abstract voidaddIncomingProtocolPolicy(Policy effectivePolicy, String protocol, PolicyAlternativeHolder ph) protected abstract voidaddOutgoingFaultPolicy(Policy effectivePolicy, SecurityPolicyHolder sph, WSDLFault fault) protected abstract SecurityPolicyHolderaddOutgoingMP(WSDLBoundOperation operation, Policy policy, PolicyAlternativeHolder ph) protected abstract voidaddOutgoingProtocolPolicy(Policy effectivePolicy, String protocol, PolicyAlternativeHolder ph) protected booleanprotected booleanprotected booleanprotected voidbuildProtocolPolicy(Policy endpointPolicy, PolicyAlternativeHolder ph) protected final WSDLBoundOperationcachedOperation(Packet packet) protected voidcacheMessage(Packet packet) protected final WSDLBoundOperationcacheOperation(Message msg, Packet packet) protected final voidcacheOperation(WSDLBoundOperation op, Packet packet) protected voidcollectPolicies(PolicyMap wsPolicyMap, List<PolicyAlternativeHolder> alternatives) Summary from Section 4.2, WS-Security Policy spec( version 1.1 July 2005 ).protected SecurityPolicyHolderconstructPolicyHolder(Policy effectivePolicy, boolean isServer, boolean isIncoming) protected SecurityPolicyHolderconstructPolicyHolder(Policy effectivePolicy, boolean isServer, boolean isIncoming, boolean ignoreST) protected RuntimeExceptionprotected Stringprotected abstract StringgetAction(WSDLOperation operation, boolean isIncomming) protected AlgorithmSuitegetAlgoSuite(AlgorithmSuite suite) protected AlgorithmSuitegetBindingAlgorithmSuite(Packet packet) protected Policyprotected List<PolicyAssertion>getInBoundSCP(Message message) protected List<PolicyAssertion>getIssuedTokenPoliciesFromBootstrapPolicy(Token scAssertion) protected List<PolicyAssertion>getKerberosTokenPoliciesFromBootstrapPolicy(Token scAssertion) protected WSDLBoundOperationgetOperation(Message message, Packet packet) protected PolicyMapKeygetOperationKey(Message message) protected List<PolicyAssertion>getOutBoundKTP(Packet packet, boolean isSCMessage) protected List<PolicyAssertion>getOutBoundSCP(Message message) protected MessagePolicygetOutgoingXWSBootstrapPolicy(Token scAssertion) protected MessagePolicygetOutgoingXWSSecurityPolicy(Packet packet, boolean isSCMessage) protected PacketgetRequestPacket(javax.security.auth.message.MessageInfo messageInfo) protected PacketgetResponsePacket(javax.security.auth.message.MessageInfo messageInfo) protected List<PolicyAssertion>getSecureConversationPolicies(Message message, String scope) protected javax.xml.soap.SOAPFaultprotected javax.xml.ws.soap.SOAPFaultExceptionprotected javax.xml.ws.soap.SOAPFaultExceptionprotected ArrayList<PolicyAssertion>protected WSDLBoundOperationgetWSDLOpFromAction(Packet packet, boolean isIncomming) protected WSSAssertiongetWssAssertion(WSSAssertion asser) protected booleanprotected ProcessingContextprotected ProcessingContextinitializeOutgoingProcessingContext(Packet packet, boolean isSCMessage) protected booleanprotected booleanisMakeConnectionMessage(Packet packet) protected booleanisRMMessage(Packet packet) protected booleanisSCCancel(Packet packet) protected booleanisSCMessage(Packet packet) protected booleanprotected booleanisTrustMessage(Packet packet) protected Classprotected CallbackHandlerloadGFHandler(boolean isClientAuthModule, String jmacHandler) protected StringpopulateConfigProperties(Set configAssertions, Properties props) protected final voidresetCachedOperation(Packet packet) protected PolicyAlternativeHolderresolveAlternative(Packet packet, boolean isSCMessage) protected MessagesecureOutboundMessage(Message message, ProcessingContext ctx) protected javax.xml.soap.SOAPMessagesecureOutboundMessage(javax.xml.soap.SOAPMessage message, ProcessingContext ctx) protected voidsetRequestPacket(javax.security.auth.message.MessageInfo messageInfo, Packet ret) protected voidsetResponsePacket(javax.security.auth.message.MessageInfo messageInfo, Packet ret) protected PolicySourceModelunmarshalPolicy(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:
PolicyExceptionIOException
-
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
-