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(Policy effectivePolicy, SecurityPolicyHolder sph, WSDLFault fault) protected SecurityPolicyHolderaddIncomingMP(WSDLBoundOperation operation, Policy policy, PolicyAlternativeHolder ph) protected voidaddIncomingProtocolPolicy(Policy effectivePolicy, String protocol, PolicyAlternativeHolder ph) protected voidaddOutgoingFaultPolicy(Policy effectivePolicy, SecurityPolicyHolder sph, WSDLFault fault) protected SecurityPolicyHolderaddOutgoingMP(WSDLBoundOperation operation, Policy policy, PolicyAlternativeHolder ph) protected voidaddOutgoingProtocolPolicy(Policy effectivePolicy, String protocol, PolicyAlternativeHolder ph) protected booleanprotected booleanprotected booleanvoidcleanSubject(javax.security.auth.message.MessageInfo messageInfo, Subject subject) protected StringgetAction(WSDLOperation operation, boolean inComming) protected MessagePolicygetOutgoingFaultPolicy(Packet packet) protected MessagePolicygetOutgoingXWSSecurityPolicy(Packet packet, boolean isSCMessage) protected ProcessingContextinitializeOutgoingProcessingContext(Packet packet, boolean isSCMessage) secureResponse(Packet retPacket, Subject serviceSubject, Map sharedState) javax.security.auth.message.AuthStatussecureResponse(javax.security.auth.message.MessageInfo messageInfo, Subject serviceSubject) validateRequest(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 MessageverifyInboundMessage(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 Packet validateRequest(Packet packet, Subject clientSubject, Subject serviceSubject, Map<Object, Object> sharedState) throws XWSSecurityException- Throws:
XWSSecurityException
-
secureResponse
public Packet secureResponse(Packet retPacket, Subject serviceSubject, Map sharedState) throws XWSSecurityException - Throws:
XWSSecurityException
-
verifyInboundMessage
protected javax.xml.soap.SOAPMessage verifyInboundMessage(javax.xml.soap.SOAPMessage message, ProcessingContext ctx) throws WssSoapFaultException, XWSSecurityException -
verifyInboundMessage
protected Message verifyInboundMessage(Message message, ProcessingContext ctx) throws XWSSecurityException - Throws:
XWSSecurityException
-
initializeOutgoingProcessingContext
- Overrides:
initializeOutgoingProcessingContextin classWSITAuthContextBase
-
getOutgoingXWSSecurityPolicy
- 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(WSDLBoundOperation operation, Policy policy, PolicyAlternativeHolder ph) throws PolicyException - Specified by:
addOutgoingMPin classWSITAuthContextBase- Throws:
PolicyException
-
addIncomingMP
protected SecurityPolicyHolder addIncomingMP(WSDLBoundOperation operation, Policy policy, PolicyAlternativeHolder ph) throws PolicyException - Specified by:
addIncomingMPin classWSITAuthContextBase- Throws:
PolicyException
-
addIncomingProtocolPolicy
protected void addIncomingProtocolPolicy(Policy effectivePolicy, String protocol, PolicyAlternativeHolder ph) throws PolicyException - Specified by:
addIncomingProtocolPolicyin classWSITAuthContextBase- Throws:
PolicyException
-
addOutgoingProtocolPolicy
protected void addOutgoingProtocolPolicy(Policy effectivePolicy, String protocol, PolicyAlternativeHolder ph) throws PolicyException - Specified by:
addOutgoingProtocolPolicyin classWSITAuthContextBase- Throws:
PolicyException
-
addIncomingFaultPolicy
protected void addIncomingFaultPolicy(Policy effectivePolicy, SecurityPolicyHolder sph, WSDLFault fault) throws PolicyException - Specified by:
addIncomingFaultPolicyin classWSITAuthContextBase- Throws:
PolicyException
-
addOutgoingFaultPolicy
protected void addOutgoingFaultPolicy(Policy effectivePolicy, SecurityPolicyHolder sph, WSDLFault fault) throws PolicyException - Specified by:
addOutgoingFaultPolicyin classWSITAuthContextBase- Throws:
PolicyException
-
getAction
- Specified by:
getActionin classWSITAuthContextBase
-