Interface WebServicesDelegate
-
- All Superinterfaces:
RegistrationWrapperRemover
- All Known Implementing Classes:
WebServicesDelegateImpl
@Contract public interface WebServicesDelegate extends RegistrationWrapperRemover
A Delegate interface for handling WebServices specific security and JASPIC (JSR 196) providers.This insulates the Payara Web-Bundle from any WebServices dependencies. This interface is implemented in the web-services security project (webservices.security).
- Author:
- kumar.jayanti
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getAuthContextID(jakarta.security.auth.message.MessageInfo messageInfo)
MessageSecurityBindingDescriptor
getBinding(ServiceReferenceDescriptor serviceReference, Map<String,?> properties)
String
getDefaultWebServicesProvider()
This method returns the class name of the default JASPIC (JSR 196) WebServices security provider.Object
getSOAPMessage(ComponentInvocation componentInvocation)
Return the SOAP Message from the invocation, to be used by JACC PolicyContextHandlerAuthParam
newSOAPAuthParam(jakarta.security.auth.message.MessageInfo messageInfo)
-
Methods inherited from interface com.sun.jaspic.services.RegistrationWrapperRemover
removeListener
-
-
-
-
Method Detail
-
getBinding
MessageSecurityBindingDescriptor getBinding(ServiceReferenceDescriptor serviceReference, Map<String,?> properties)
- Parameters:
serviceReference
- The ServiceReferenceDescriptorproperties
- The Properties Map passed to WebServices Code Via PipeCreator- Returns:
- The MessageSecurityBindingDescriptor
-
getDefaultWebServicesProvider
String getDefaultWebServicesProvider()
This method returns the class name of the default JASPIC (JSR 196) WebServices security provider.In practice this typically the Metro Security Provider, which is
"com.sun.xml.wss.provider.wsit.WSITAuthConfigProvider"
- Returns:
- the class name of the default JASPIC (JSR 196) WebServices security provider.
-
getAuthContextID
String getAuthContextID(jakarta.security.auth.message.MessageInfo messageInfo)
- Parameters:
messageInfo
- The MessageInfo- Returns:
- the AuthContextID computed from the argument MessageInfo
-
newSOAPAuthParam
AuthParam newSOAPAuthParam(jakarta.security.auth.message.MessageInfo messageInfo)
- Parameters:
messageInfo
- TheMessageInfo- Returns:
- a new instance of SOAPAuthParam
-
getSOAPMessage
Object getSOAPMessage(ComponentInvocation componentInvocation)
Return the SOAP Message from the invocation, to be used by JACC PolicyContextHandler- Parameters:
componentInvocation
- the invocation- Returns:
- the SOAP Message
-
-