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
Field Summary |
protected static java.lang.String |
TRUE
|
Fields inherited from class com.sun.xml.wss.provider.wsit.WSITAuthContextBase |
allowMissingTimestamp, bindingLevelAlgSuite, bpMSP, debug, DEFAULT_JMAC_HANDLER, disableIncPrefix, EMPTY_LIST, encHeaderContent, inMessagePolicyMap, inProtocolPM, isSOAP12, issuedTokenContextMap, jaxbContext, log, marshaller, nextPipe, nextTube, optimized, outMessagePolicyMap, outProtocolPM, pipeConfig, REQ_PACKET, RES_PACKET, rmVer, secEnv, securityMUValue, securityPolicyNamespaces, soapFactory, soapVersion, spVersion, timestampTimeOut, unmarshaller, WSDLPORT, wsPolicyMap, wsscVer, wsTrustVer |
Constructor Summary |
WSITServerAuthContext(java.lang.String operation,
javax.security.auth.Subject subject,
java.util.Map<java.lang.Object,java.lang.Object> map,
javax.security.auth.callback.CallbackHandler callbackHandler)
Creates a new instance of WSITServerAuthContext |
Method Summary |
protected void |
addIncomingFaultPolicy(com.sun.xml.ws.policy.Policy effectivePolicy,
SecurityPolicyHolder sph,
com.sun.xml.ws.api.model.wsdl.WSDLFault fault)
|
protected SecurityPolicyHolder |
addIncomingMP(com.sun.xml.ws.api.model.wsdl.WSDLBoundOperation operation,
com.sun.xml.ws.policy.Policy policy)
|
protected void |
addIncomingProtocolPolicy(com.sun.xml.ws.policy.Policy effectivePolicy,
java.lang.String protocol)
|
protected void |
addOutgoingFaultPolicy(com.sun.xml.ws.policy.Policy effectivePolicy,
SecurityPolicyHolder sph,
com.sun.xml.ws.api.model.wsdl.WSDLFault fault)
|
protected SecurityPolicyHolder |
addOutgoingMP(com.sun.xml.ws.api.model.wsdl.WSDLBoundOperation operation,
com.sun.xml.ws.policy.Policy policy)
|
protected void |
addOutgoingProtocolPolicy(com.sun.xml.ws.policy.Policy effectivePolicy,
java.lang.String protocol)
|
protected boolean |
bindingHasIssuedTokenPolicy()
|
protected boolean |
bindingHasRMPolicy()
|
protected boolean |
bindingHasSecureConversationPolicy()
|
void |
cleanSubject(javax.security.auth.message.MessageInfo messageInfo,
javax.security.auth.Subject subject)
|
protected java.lang.String |
getAction(com.sun.xml.ws.api.model.wsdl.WSDLOperation operation,
boolean inComming)
|
protected com.sun.xml.wss.impl.policy.mls.MessagePolicy |
getOutgoingFaultPolicy(com.sun.xml.ws.api.message.Packet packet)
|
protected com.sun.xml.wss.impl.policy.mls.MessagePolicy |
getOutgoingXWSSecurityPolicy(com.sun.xml.ws.api.message.Packet packet,
boolean isSCMessage)
|
protected com.sun.xml.wss.ProcessingContext |
initializeOutgoingProcessingContext(com.sun.xml.ws.api.message.Packet packet,
boolean isSCMessage)
|
javax.security.auth.message.AuthStatus |
secureResponse(javax.security.auth.message.MessageInfo messageInfo,
javax.security.auth.Subject serviceSubject)
|
com.sun.xml.ws.api.message.Packet |
secureResponse(com.sun.xml.ws.api.message.Packet retPacket,
javax.security.auth.Subject serviceSubject,
java.util.Map sharedState)
|
javax.security.auth.message.AuthStatus |
validateRequest(javax.security.auth.message.MessageInfo messageInfo,
javax.security.auth.Subject clientSubject,
javax.security.auth.Subject serviceSubject)
|
com.sun.xml.ws.api.message.Packet |
validateRequest(com.sun.xml.ws.api.message.Packet packet,
javax.security.auth.Subject clientSubject,
javax.security.auth.Subject serviceSubject,
java.util.Map<java.lang.Object,java.lang.Object> sharedState)
|
protected com.sun.xml.ws.api.message.Message |
verifyInboundMessage(com.sun.xml.ws.api.message.Message message,
com.sun.xml.wss.ProcessingContext ctx)
|
protected javax.xml.soap.SOAPMessage |
verifyInboundMessage(javax.xml.soap.SOAPMessage message,
com.sun.xml.wss.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, isRMMessage, isSCCancel, isSCMessage, isSCRenew, isTrustMessage, loadClass, loadGFHandler, populateConfigProperties, resetCachedOperation, secureOutboundMessage, secureOutboundMessage, setRequestPacket, setResponsePacket, unmarshalPolicy |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TRUE
protected static final java.lang.String TRUE
- See Also:
- Constant Field Values
WSITServerAuthContext
public WSITServerAuthContext(java.lang.String operation,
javax.security.auth.Subject subject,
java.util.Map<java.lang.Object,java.lang.Object> map,
javax.security.auth.callback.CallbackHandler callbackHandler)
- Creates a new instance of WSITServerAuthContext
validateRequest
public javax.security.auth.message.AuthStatus validateRequest(javax.security.auth.message.MessageInfo messageInfo,
javax.security.auth.Subject clientSubject,
javax.security.auth.Subject serviceSubject)
throws javax.security.auth.message.AuthException
- Specified by:
validateRequest
in interface javax.security.auth.message.ServerAuth
- Throws:
javax.security.auth.message.AuthException
secureResponse
public javax.security.auth.message.AuthStatus secureResponse(javax.security.auth.message.MessageInfo messageInfo,
javax.security.auth.Subject serviceSubject)
throws javax.security.auth.message.AuthException
- Specified by:
secureResponse
in interface javax.security.auth.message.ServerAuth
- Throws:
javax.security.auth.message.AuthException
cleanSubject
public void cleanSubject(javax.security.auth.message.MessageInfo messageInfo,
javax.security.auth.Subject subject)
throws javax.security.auth.message.AuthException
- Specified by:
cleanSubject
in interface javax.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,
javax.security.auth.Subject clientSubject,
javax.security.auth.Subject serviceSubject,
java.util.Map<java.lang.Object,java.lang.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,
javax.security.auth.Subject serviceSubject,
java.util.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,
com.sun.xml.wss.ProcessingContext ctx)
throws com.sun.xml.wss.impl.WssSoapFaultException,
com.sun.xml.wss.XWSSecurityException
- Throws:
com.sun.xml.wss.impl.WssSoapFaultException
com.sun.xml.wss.XWSSecurityException
verifyInboundMessage
protected com.sun.xml.ws.api.message.Message verifyInboundMessage(com.sun.xml.ws.api.message.Message message,
com.sun.xml.wss.ProcessingContext ctx)
throws com.sun.xml.wss.XWSSecurityException
- Throws:
com.sun.xml.wss.XWSSecurityException
initializeOutgoingProcessingContext
protected com.sun.xml.wss.ProcessingContext initializeOutgoingProcessingContext(com.sun.xml.ws.api.message.Packet packet,
boolean isSCMessage)
- Overrides:
initializeOutgoingProcessingContext
in class WSITAuthContextBase
getOutgoingXWSSecurityPolicy
protected com.sun.xml.wss.impl.policy.mls.MessagePolicy getOutgoingXWSSecurityPolicy(com.sun.xml.ws.api.message.Packet packet,
boolean isSCMessage)
- Overrides:
getOutgoingXWSSecurityPolicy
in class WSITAuthContextBase
getOutgoingFaultPolicy
protected com.sun.xml.wss.impl.policy.mls.MessagePolicy getOutgoingFaultPolicy(com.sun.xml.ws.api.message.Packet packet)
bindingHasIssuedTokenPolicy
protected boolean bindingHasIssuedTokenPolicy()
- Overrides:
bindingHasIssuedTokenPolicy
in class WSITAuthContextBase
bindingHasSecureConversationPolicy
protected boolean bindingHasSecureConversationPolicy()
- Overrides:
bindingHasSecureConversationPolicy
in class WSITAuthContextBase
bindingHasRMPolicy
protected boolean bindingHasRMPolicy()
- Overrides:
bindingHasRMPolicy
in class WSITAuthContextBase
addOutgoingMP
protected SecurityPolicyHolder addOutgoingMP(com.sun.xml.ws.api.model.wsdl.WSDLBoundOperation operation,
com.sun.xml.ws.policy.Policy policy)
throws com.sun.xml.ws.policy.PolicyException
- Specified by:
addOutgoingMP
in class WSITAuthContextBase
- 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)
throws com.sun.xml.ws.policy.PolicyException
- Specified by:
addIncomingMP
in class WSITAuthContextBase
- Throws:
com.sun.xml.ws.policy.PolicyException
addIncomingProtocolPolicy
protected void addIncomingProtocolPolicy(com.sun.xml.ws.policy.Policy effectivePolicy,
java.lang.String protocol)
throws com.sun.xml.ws.policy.PolicyException
- Specified by:
addIncomingProtocolPolicy
in class WSITAuthContextBase
- Throws:
com.sun.xml.ws.policy.PolicyException
addOutgoingProtocolPolicy
protected void addOutgoingProtocolPolicy(com.sun.xml.ws.policy.Policy effectivePolicy,
java.lang.String protocol)
throws com.sun.xml.ws.policy.PolicyException
- Specified by:
addOutgoingProtocolPolicy
in class WSITAuthContextBase
- 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:
addIncomingFaultPolicy
in class WSITAuthContextBase
- 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:
addOutgoingFaultPolicy
in class WSITAuthContextBase
- Throws:
com.sun.xml.ws.policy.PolicyException
getAction
protected java.lang.String getAction(com.sun.xml.ws.api.model.wsdl.WSDLOperation operation,
boolean inComming)
- Specified by:
getAction
in class WSITAuthContextBase