Package com.sun.xml.wss.provider.wsit
Class WSITClientAuthContext
java.lang.Object
com.sun.xml.wss.provider.wsit.WSITAuthContextBase
com.sun.xml.wss.provider.wsit.WSITClientAuthContext
- All Implemented Interfaces:
jakarta.security.auth.message.ClientAuth,jakarta.security.auth.message.config.ClientAuthContext
public class WSITClientAuthContext
extends WSITAuthContextBase
implements jakarta.security.auth.message.config.ClientAuthContext
- Author:
- kumar jayanti
-
Field Summary
FieldsFields inherited from class com.sun.xml.wss.provider.wsit.WSITAuthContextBase
allowMissingTimestamp, bindingLevelAlgSuite, bpMSP, debug, DEFAULT_JMAC_HANDLER, disableIncPrefix, EMPTY_LIST, encHeaderContent, encRMLifecycleMsg, isCertValid, isCertValidityVerified, isEPREnabled, isSOAP12, issuedTokenContextMap, iterationsForPDK, jaxbContext, log, marshaller, mcVer, nextPipe, nextTube, optimized, pipeConfig, policyAlternatives, REQ_PACKET, RES_PACKET, rmVer, secEnv, securityMUValue, securityPolicyNamespaces, serverCert, soapFactory, soapVersion, spVersion, timestampTimeOut, unmarshaller, WSDLPORT, WSENDPOINT, wsscVer, wsTrustVer -
Constructor Summary
ConstructorsConstructorDescriptionWSITClientAuthContext(String operation, Subject subject, Map<String, Object> map, CallbackHandler callbackHandler) Creates a new instance of WSITClientAuthContext -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddIncomingFaultPolicy(com.sun.xml.ws.policy.Policy effectivePolicy, SecurityPolicyHolder sph, com.sun.xml.ws.api.model.wsdl.WSDLFault fault) protected SecurityPolicyHolderaddIncomingMP(com.sun.xml.ws.api.model.wsdl.WSDLBoundOperation operation, com.sun.xml.ws.policy.Policy policy, PolicyAlternativeHolder ph) protected voidaddIncomingProtocolPolicy(com.sun.xml.ws.policy.Policy effectivePolicy, String protocol, PolicyAlternativeHolder ph) protected voidaddOutgoingFaultPolicy(com.sun.xml.ws.policy.Policy effectivePolicy, SecurityPolicyHolder sph, com.sun.xml.ws.api.model.wsdl.WSDLFault fault) protected SecurityPolicyHolderaddOutgoingMP(com.sun.xml.ws.api.model.wsdl.WSDLBoundOperation operation, com.sun.xml.ws.policy.Policy policy, PolicyAlternativeHolder ph) protected voidaddOutgoingProtocolPolicy(com.sun.xml.ws.policy.Policy effectivePolicy, String protocol, PolicyAlternativeHolder ph) voidcleanSubject(jakarta.security.auth.message.MessageInfo messageInfo, Subject subject) protected StringgetAction(com.sun.xml.ws.api.model.wsdl.WSDLOperation operation, boolean inComming) protected List<com.sun.xml.ws.policy.PolicyAssertion>getIssuedTokenPolicies(com.sun.xml.ws.api.message.Packet packet, String scope) protected voidpopulateKerberosContext(com.sun.xml.ws.api.message.Packet packet, ProcessingContextImpl ctx, boolean isSCMessage) protected com.sun.xml.ws.api.message.MessagesecureOutboundMessage(com.sun.xml.ws.api.message.Message message, ProcessingContext ctx) protected jakarta.xml.soap.SOAPMessagesecureOutboundMessage(jakarta.xml.soap.SOAPMessage message, ProcessingContext ctx) com.sun.xml.ws.api.message.PacketsecureRequest(com.sun.xml.ws.api.message.Packet packet, Subject clientSubject, boolean isSCMessage) jakarta.security.auth.message.AuthStatussecureRequest(jakarta.security.auth.message.MessageInfo messageInfo, Subject clientSubject) com.sun.xml.ws.api.message.PacketvalidateResponse(com.sun.xml.ws.api.message.Packet req, Subject clientSubject, Subject serviceSubject) jakarta.security.auth.message.AuthStatusvalidateResponse(jakarta.security.auth.message.MessageInfo messageInfo, Subject clientSubject, Subject serviceSubject) protected com.sun.xml.ws.api.message.MessageverifyInboundMessage(com.sun.xml.ws.api.message.Message message, ProcessingContext ctx) protected jakarta.xml.soap.SOAPMessageverifyInboundMessage(jakarta.xml.soap.SOAPMessage message, ProcessingContext ctx) Methods inherited from class com.sun.xml.wss.provider.wsit.WSITAuthContextBase
bindingHasIssuedTokenPolicy, bindingHasRMPolicy, bindingHasSecureConversationPolicy, buildProtocolPolicy, cachedOperation, cacheMessage, cacheOperation, cacheOperation, collectPolicies, constructPolicyHolder, constructPolicyHolder, generateInternalError, getAction, getAlgoSuite, getBindingAlgorithmSuite, getEffectiveBootstrapPolicy, getInBoundSCP, getIssuedTokenPoliciesFromBootstrapPolicy, getKerberosTokenPoliciesFromBootstrapPolicy, getOperation, getOperationKey, getOutBoundKTP, getOutBoundSCP, getOutgoingXWSBootstrapPolicy, getOutgoingXWSSecurityPolicy, getRequestPacket, getResponsePacket, getSecureConversationPolicies, getSOAPFault, getSOAPFaultException, getSOAPFaultException, getTokens, getWSDLOpFromAction, getWssAssertion, hasKerberosTokenPolicy, initializeInboundProcessingContext, initializeOutgoingProcessingContext, isAddressingEnabled, isMakeConnectionMessage, isRMMessage, isSCCancel, isSCMessage, isSCRenew, isTrustMessage, loadClass, loadGFHandler, populateConfigProperties, resetCachedOperation, resolveAlternative, setRequestPacket, setResponsePacket, unmarshalPolicy
-
Field Details
-
authConfig
-
tubeOrPipeHashCode
protected int tubeOrPipeHashCode
-
-
Constructor Details
-
Method Details
-
secureRequest
public jakarta.security.auth.message.AuthStatus secureRequest(jakarta.security.auth.message.MessageInfo messageInfo, Subject clientSubject) - Specified by:
secureRequestin interfacejakarta.security.auth.message.ClientAuth
-
secureRequest
public com.sun.xml.ws.api.message.Packet secureRequest(com.sun.xml.ws.api.message.Packet packet, Subject clientSubject, boolean isSCMessage) throws XWSSecurityException - Throws:
XWSSecurityException
-
validateResponse
public jakarta.security.auth.message.AuthStatus validateResponse(jakarta.security.auth.message.MessageInfo messageInfo, Subject clientSubject, Subject serviceSubject) throws jakarta.security.auth.message.AuthException - Specified by:
validateResponsein interfacejakarta.security.auth.message.ClientAuth- Throws:
jakarta.security.auth.message.AuthException
-
cleanSubject
- Specified by:
cleanSubjectin interfacejakarta.security.auth.message.ClientAuth
-
validateResponse
public com.sun.xml.ws.api.message.Packet validateResponse(com.sun.xml.ws.api.message.Packet req, Subject clientSubject, Subject serviceSubject) throws XWSSecurityException - Throws:
XWSSecurityException
-
secureOutboundMessage
protected jakarta.xml.soap.SOAPMessage secureOutboundMessage(jakarta.xml.soap.SOAPMessage message, ProcessingContext ctx) - Overrides:
secureOutboundMessagein classWSITAuthContextBase
-
secureOutboundMessage
protected com.sun.xml.ws.api.message.Message secureOutboundMessage(com.sun.xml.ws.api.message.Message message, ProcessingContext ctx) - Overrides:
secureOutboundMessagein classWSITAuthContextBase
-
verifyInboundMessage
protected jakarta.xml.soap.SOAPMessage verifyInboundMessage(jakarta.xml.soap.SOAPMessage message, ProcessingContext ctx) throws WssSoapFaultException - Throws:
WssSoapFaultException
-
verifyInboundMessage
protected com.sun.xml.ws.api.message.Message verifyInboundMessage(com.sun.xml.ws.api.message.Message message, ProcessingContext ctx) throws XWSSecurityException - Throws:
XWSSecurityException
-
addOutgoingMP
protected 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 - Specified by:
addOutgoingMPin classWSITAuthContextBase- Throws:
com.sun.xml.ws.policy.PolicyException
-
addIncomingMP
protected 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 - Specified by:
addIncomingMPin classWSITAuthContextBase- Throws:
com.sun.xml.ws.policy.PolicyException
-
addIncomingProtocolPolicy
protected void addIncomingProtocolPolicy(com.sun.xml.ws.policy.Policy effectivePolicy, String protocol, PolicyAlternativeHolder ph) throws com.sun.xml.ws.policy.PolicyException - Specified by:
addIncomingProtocolPolicyin classWSITAuthContextBase- Throws:
com.sun.xml.ws.policy.PolicyException
-
addOutgoingProtocolPolicy
protected void addOutgoingProtocolPolicy(com.sun.xml.ws.policy.Policy effectivePolicy, String protocol, PolicyAlternativeHolder ph) throws com.sun.xml.ws.policy.PolicyException - Specified by:
addOutgoingProtocolPolicyin classWSITAuthContextBase- Throws:
com.sun.xml.ws.policy.PolicyException
-
addIncomingFaultPolicy
protected 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 - Specified by:
addIncomingFaultPolicyin classWSITAuthContextBase- Throws:
com.sun.xml.ws.policy.PolicyException
-
addOutgoingFaultPolicy
protected 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 - Specified by:
addOutgoingFaultPolicyin classWSITAuthContextBase- Throws:
com.sun.xml.ws.policy.PolicyException
-
getAction
protected String getAction(com.sun.xml.ws.api.model.wsdl.WSDLOperation operation, boolean inComming) - Specified by:
getActionin classWSITAuthContextBase
-
getIssuedTokenPolicies
-
populateKerberosContext
protected void populateKerberosContext(com.sun.xml.ws.api.message.Packet packet, ProcessingContextImpl ctx, boolean isSCMessage) throws XWSSecurityException - Throws:
XWSSecurityException
-