Class WebServicesDelegateImpl
- java.lang.Object
-
- com.sun.enterprise.security.webservices.WebServicesDelegateImpl
-
- All Implemented Interfaces:
WebServicesDelegate
,RegistrationWrapperRemover
@Service @Singleton public class WebServicesDelegateImpl extends Object implements WebServicesDelegate
- Author:
- kumar.jayanti
-
-
Constructor Summary
Constructors Constructor Description WebServicesDelegateImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAuthContextID(jakarta.security.auth.message.MessageInfo messageInfo)
MessageSecurityBindingDescriptor
getBinding(ServiceReferenceDescriptor svcRef, Map<String,?> properties)
String
getDefaultWebServicesProvider()
This method returns the class name of the default JASPIC (JSR 196) WebServices security provider.Object
getSOAPMessage(ComponentInvocation inv)
Return the SOAP Message from the invocation, to be used by JACC PolicyContextHandlerAuthParam
newSOAPAuthParam(jakarta.security.auth.message.MessageInfo messageInfo)
void
removeListener(AuthConfigRegistrationWrapper listener)
remove the registration of the argument listener from the Pipe
-
-
-
Field Detail
-
_logger
protected static final Logger _logger
-
-
Method Detail
-
getBinding
public MessageSecurityBindingDescriptor getBinding(ServiceReferenceDescriptor svcRef, Map<String,?> properties)
- Specified by:
getBinding
in interfaceWebServicesDelegate
- Parameters:
svcRef
- The ServiceReferenceDescriptorproperties
- The Properties Map passed to WebServices Code Via PipeCreator- Returns:
- The MessageSecurityBindingDescriptor
-
removeListener
public void removeListener(AuthConfigRegistrationWrapper listener)
Description copied from interface:RegistrationWrapperRemover
remove the registration of the argument listener from the Pipe- Specified by:
removeListener
in interfaceRegistrationWrapperRemover
-
getDefaultWebServicesProvider
public String getDefaultWebServicesProvider()
Description copied from interface:WebServicesDelegate
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"
- Specified by:
getDefaultWebServicesProvider
in interfaceWebServicesDelegate
- Returns:
- the class name of the default JASPIC (JSR 196) WebServices security provider.
-
getAuthContextID
public String getAuthContextID(jakarta.security.auth.message.MessageInfo messageInfo)
- Specified by:
getAuthContextID
in interfaceWebServicesDelegate
- Parameters:
messageInfo
- The MessageInfo- Returns:
- the AuthContextID computed from the argument MessageInfo
-
newSOAPAuthParam
public AuthParam newSOAPAuthParam(jakarta.security.auth.message.MessageInfo messageInfo)
- Specified by:
newSOAPAuthParam
in interfaceWebServicesDelegate
- Parameters:
messageInfo
- TheMessageInfo- Returns:
- a new instance of SOAPAuthParam
-
getSOAPMessage
public Object getSOAPMessage(ComponentInvocation inv)
Description copied from interface:WebServicesDelegate
Return the SOAP Message from the invocation, to be used by JACC PolicyContextHandler- Specified by:
getSOAPMessage
in interfaceWebServicesDelegate
- Parameters:
inv
- the invocation- Returns:
- the SOAP Message
-
-