Package com.sun.xml.wss.provider.wsit
Class WSITServerAuthContext
- java.lang.Object
-
- com.sun.xml.wss.provider.wsit.WSITAuthContextBase
-
- com.sun.xml.wss.provider.wsit.WSITServerAuthContext
-
- All Implemented Interfaces:
jakarta.security.auth.message.config.ServerAuthContext,jakarta.security.auth.message.ServerAuth
public class WSITServerAuthContext extends WSITAuthContextBase implements jakarta.security.auth.message.config.ServerAuthContext
- Author:
- kumar jayanti
-
-
Field Summary
Fields Modifier and Type Field Description protected static StringTRUE-
Fields 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
Constructors Constructor Description WSITServerAuthContext(String operation, Subject subject, Map<Object,Object> map, CallbackHandler callbackHandler)Creates a new instance of WSITServerAuthContext
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddIncomingFaultPolicy(com.sun.xml.ws.policy.Policy effectivePolicy, com.sun.xml.ws.security.impl.policyconv.SecurityPolicyHolder sph, com.sun.xml.ws.api.model.wsdl.WSDLFault fault)protected com.sun.xml.ws.security.impl.policyconv.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, com.sun.xml.ws.security.impl.policyconv.SecurityPolicyHolder sph, com.sun.xml.ws.api.model.wsdl.WSDLFault fault)protected com.sun.xml.ws.security.impl.policyconv.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)protected booleanbindingHasIssuedTokenPolicy()protected booleanbindingHasRMPolicy()protected booleanbindingHasSecureConversationPolicy()voidcleanSubject(jakarta.security.auth.message.MessageInfo messageInfo, Subject subject)protected StringgetAction(com.sun.xml.ws.api.model.wsdl.WSDLOperation operation, boolean inComming)protected MessagePolicygetOutgoingFaultPolicy(com.sun.xml.ws.api.message.Packet packet)protected MessagePolicygetOutgoingXWSSecurityPolicy(com.sun.xml.ws.api.message.Packet packet, boolean isSCMessage)protected ProcessingContextinitializeOutgoingProcessingContext(com.sun.xml.ws.api.message.Packet packet, boolean isSCMessage)com.sun.xml.ws.api.message.PacketsecureResponse(com.sun.xml.ws.api.message.Packet retPacket, Subject serviceSubject, Map sharedState)jakarta.security.auth.message.AuthStatussecureResponse(jakarta.security.auth.message.MessageInfo messageInfo, Subject serviceSubject)com.sun.xml.ws.api.message.PacketvalidateRequest(com.sun.xml.ws.api.message.Packet packet, Subject clientSubject, Subject serviceSubject, Map<Object,Object> sharedState)jakarta.security.auth.message.AuthStatusvalidateRequest(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
buildProtocolPolicy, cachedOperation, cacheMessage, cacheOperation, cacheOperation, collectPolicies, constructPolicyHolder, constructPolicyHolder, generateInternalError, getAction, getAlgoSuite, getBindingAlgorithmSuite, getEffectiveBootstrapPolicy, getInBoundSCP, getIssuedTokenPoliciesFromBootstrapPolicy, getKerberosTokenPoliciesFromBootstrapPolicy, getOperation, getOperationKey, getOutBoundKTP, getOutBoundSCP, getOutgoingXWSBootstrapPolicy, getRequestPacket, getResponsePacket, getSecureConversationPolicies, getSOAPFault, getSOAPFaultException, getSOAPFaultException, getTokens, getWSDLOpFromAction, getWssAssertion, hasKerberosTokenPolicy, initializeInboundProcessingContext, isAddressingEnabled, isMakeConnectionMessage, isRMMessage, isSCCancel, isSCMessage, isSCRenew, isTrustMessage, loadClass, loadGFHandler, populateConfigProperties, resetCachedOperation, resolveAlternative, secureOutboundMessage, secureOutboundMessage, setRequestPacket, setResponsePacket, unmarshalPolicy
-
-
-
-
Field Detail
-
TRUE
protected static final String TRUE
- See Also:
- Constant Field Values
-
-
Method Detail
-
validateRequest
public jakarta.security.auth.message.AuthStatus validateRequest(jakarta.security.auth.message.MessageInfo messageInfo, Subject clientSubject, Subject serviceSubject) throws jakarta.security.auth.message.AuthException- Specified by:
validateRequestin interfacejakarta.security.auth.message.ServerAuth- Throws:
jakarta.security.auth.message.AuthException
-
secureResponse
public jakarta.security.auth.message.AuthStatus secureResponse(jakarta.security.auth.message.MessageInfo messageInfo, Subject serviceSubject) throws jakarta.security.auth.message.AuthException- Specified by:
secureResponsein interfacejakarta.security.auth.message.ServerAuth- Throws:
jakarta.security.auth.message.AuthException
-
cleanSubject
public void cleanSubject(jakarta.security.auth.message.MessageInfo messageInfo, Subject subject) throws jakarta.security.auth.message.AuthException- Specified by:
cleanSubjectin interfacejakarta.security.auth.message.ServerAuth- Throws:
jakarta.security.auth.message.AuthException
-
validateRequest
public com.sun.xml.ws.api.message.Packet validateRequest(com.sun.xml.ws.api.message.Packet packet, Subject clientSubject, Subject serviceSubject, Map<Object,Object> sharedState) throws com.sun.xml.wss.XWSSecurityException- Throws:
com.sun.xml.wss.XWSSecurityException
-
secureResponse
public com.sun.xml.ws.api.message.Packet secureResponse(com.sun.xml.ws.api.message.Packet retPacket, Subject serviceSubject, Map sharedState) throws com.sun.xml.wss.XWSSecurityException- Throws:
com.sun.xml.wss.XWSSecurityException
-
verifyInboundMessage
protected jakarta.xml.soap.SOAPMessage verifyInboundMessage(jakarta.xml.soap.SOAPMessage message, ProcessingContext ctx) throws WssSoapFaultException, com.sun.xml.wss.XWSSecurityException- Throws:
WssSoapFaultExceptioncom.sun.xml.wss.XWSSecurityException
-
verifyInboundMessage
protected com.sun.xml.ws.api.message.Message verifyInboundMessage(com.sun.xml.ws.api.message.Message message, ProcessingContext ctx) throws com.sun.xml.wss.XWSSecurityException- Throws:
com.sun.xml.wss.XWSSecurityException
-
initializeOutgoingProcessingContext
protected ProcessingContext initializeOutgoingProcessingContext(com.sun.xml.ws.api.message.Packet packet, boolean isSCMessage)
- Overrides:
initializeOutgoingProcessingContextin classWSITAuthContextBase
-
getOutgoingXWSSecurityPolicy
protected MessagePolicy getOutgoingXWSSecurityPolicy(com.sun.xml.ws.api.message.Packet packet, boolean isSCMessage)
- Overrides:
getOutgoingXWSSecurityPolicyin classWSITAuthContextBase
-
getOutgoingFaultPolicy
protected MessagePolicy getOutgoingFaultPolicy(com.sun.xml.ws.api.message.Packet packet)
-
bindingHasIssuedTokenPolicy
protected boolean bindingHasIssuedTokenPolicy()
- Overrides:
bindingHasIssuedTokenPolicyin classWSITAuthContextBase
-
bindingHasSecureConversationPolicy
protected boolean bindingHasSecureConversationPolicy()
- Overrides:
bindingHasSecureConversationPolicyin classWSITAuthContextBase
-
bindingHasRMPolicy
protected boolean bindingHasRMPolicy()
- Overrides:
bindingHasRMPolicyin classWSITAuthContextBase
-
addOutgoingMP
protected com.sun.xml.ws.security.impl.policyconv.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 com.sun.xml.ws.security.impl.policyconv.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, com.sun.xml.ws.security.impl.policyconv.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, com.sun.xml.ws.security.impl.policyconv.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
-
-