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 StringgetAuthContextID(jakarta.security.auth.message.MessageInfo messageInfo)MessageSecurityBindingDescriptorgetBinding(ServiceReferenceDescriptor svcRef, Map<String,?> properties)StringgetDefaultWebServicesProvider()This method returns the class name of the default JASPIC (JSR 196) WebServices security provider.ObjectgetSOAPMessage(ComponentInvocation inv)Return the SOAP Message from the invocation, to be used by JACC PolicyContextHandlerAuthParamnewSOAPAuthParam(jakarta.security.auth.message.MessageInfo messageInfo)voidremoveListener(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:
getBindingin 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:RegistrationWrapperRemoverremove the registration of the argument listener from the Pipe- Specified by:
removeListenerin interfaceRegistrationWrapperRemover
-
getDefaultWebServicesProvider
public String getDefaultWebServicesProvider()
Description copied from interface:WebServicesDelegateThis 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:
getDefaultWebServicesProviderin 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:
getAuthContextIDin 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:
newSOAPAuthParamin interfaceWebServicesDelegate- Parameters:
messageInfo- TheMessageInfo- Returns:
- a new instance of SOAPAuthParam
-
getSOAPMessage
public Object getSOAPMessage(ComponentInvocation inv)
Description copied from interface:WebServicesDelegateReturn the SOAP Message from the invocation, to be used by JACC PolicyContextHandler- Specified by:
getSOAPMessagein interfaceWebServicesDelegate- Parameters:
inv- the invocation- Returns:
- the SOAP Message
-
-