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:
javax.security.auth.message.config.ServerAuthContext,javax.security.auth.message.ServerAuth
public class WSITServerAuthContext
extends WSITAuthContextBase
implements javax.security.auth.message.config.ServerAuthContext
- 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
ConstructorsConstructorDescriptionWSITServerAuthContext(String operation, Subject subject, Map<Object, Object> map, CallbackHandler callbackHandler) Creates a new instance of WSITServerAuthContext -
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) protected booleanprotected booleanprotected booleanvoidcleanSubject(javax.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) javax.security.auth.message.AuthStatussecureResponse(javax.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) javax.security.auth.message.AuthStatusvalidateRequest(javax.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 javax.xml.soap.SOAPMessageverifyInboundMessage(javax.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 Details
-
TRUE
- See Also:
-
-
Constructor Details
-
Method Details
-
validateRequest
public javax.security.auth.message.AuthStatus validateRequest(javax.security.auth.message.MessageInfo messageInfo, Subject clientSubject, Subject serviceSubject) throws javax.security.auth.message.AuthException - Specified by:
validateRequestin interfacejavax.security.auth.message.ServerAuth- Throws:
javax.security.auth.message.AuthException
-
secureResponse
public javax.security.auth.message.AuthStatus secureResponse(javax.security.auth.message.MessageInfo messageInfo, Subject serviceSubject) throws javax.security.auth.message.AuthException - Specified by:
secureResponsein interfacejavax.security.auth.message.ServerAuth- Throws:
javax.security.auth.message.AuthException
-
cleanSubject
public void cleanSubject(javax.security.auth.message.MessageInfo messageInfo, Subject subject) throws javax.security.auth.message.AuthException - Specified by:
cleanSubjectin interfacejavax.security.auth.message.ServerAuth- Throws:
javax.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 javax.xml.soap.SOAPMessage verifyInboundMessage(javax.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
-
bindingHasIssuedTokenPolicy
protected boolean bindingHasIssuedTokenPolicy()- Overrides:
bindingHasIssuedTokenPolicyin classWSITAuthContextBase
-
bindingHasSecureConversationPolicy
protected boolean bindingHasSecureConversationPolicy()- Overrides:
bindingHasSecureConversationPolicyin classWSITAuthContextBase
-
bindingHasRMPolicy
protected boolean bindingHasRMPolicy()- Overrides:
bindingHasRMPolicyin classWSITAuthContextBase
-
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
-