com.raritantechnologies.webServices
Class SecurityManagerWebServiceMapper
java.lang.Object
com.raritantechnologies.webServices.WebServiceMapper
com.raritantechnologies.webServices.SecurityManagerWebServiceMapper
- All Implemented Interfaces:
- IConfigurable
- public class SecurityManagerWebServiceMapper
- extends WebServiceMapper
Provides a WebServices interface to ISecurityManager implementations.
XML Configuration Template:
<WebServiceMap methodName="GetAvailableSources,CanAccess"
mapperClass="com.raritantechnologies.webServices.SecurityManagerWebServiceMapper" >
<SecurityManager class="[ class of com.raritantechnologies.searchApp.ISecurityManager" >
</SecurityManager>
</WebServiceMap>
GetAvailableSources SOAP messages:
<SecurityRequest>
<Command>GetAvailableSources</Command>
<User>
<Name>[userName]
<Password>[user password]</Password>
</User>
</SecurityRequest>
<SecurityResponse>
<GetAvailableSources>
<Source>
<Name>[ name of source ]</Name>
<URL>[ source URL (if applicable ) ]</URL>
</Source>
<Source>
<Name>[ name of source ]</Name>
<URL>[ source URL (if applicable ) ]</URL>
</Source>
</GetAvailableSources>
</SecurityResponse>
CanAccess SOAP messages:
<SecurityRequest>
<Command>CanAccess</Command>
<SourceURL>[ Name of source that the user wants to access ]
<User>
<Name>[userName]</Name>
<Password>[user password]</Password>
</User>
</SecurityRequest>
<SecurityResponse>
<CanAccess>
<SourceURL>[ Name of source that the user wants to acccss ]</SourceURL>
<Response>[ true | false ]</Response>
</CanAccess>
</SecurityResponse>
Developed by
Raritan Technologies Inc..
- Author:
- Ted Sullivan
|
Method Summary |
void |
executeService(SOAPEnvelope soapRequest,
SOAPEnvelope soapResponse)
|
void |
initialize(org.w3c.dom.Element elem)
Initializes the object from an XML tag or element. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SecurityManagerWebServiceMapper
public SecurityManagerWebServiceMapper()
executeService
public void executeService(SOAPEnvelope soapRequest,
SOAPEnvelope soapResponse)
- Specified by:
executeService in class WebServiceMapper
initialize
public void initialize(org.w3c.dom.Element elem)
- Description copied from interface:
IConfigurable
- Initializes the object from an XML tag or element.
This method is called by the Framework as part of the application initializtion.
see ConfigurationManager, XMLConfigurationManager, XMLSearchFieldMapFactory, XMLSearchSourceFactory.
Configurable objects that are owned or contained by other configurable objects will be initialized
in by the parent object.
- Specified by:
initialize in interface IConfigurable- Specified by:
initialize in class WebServiceMapper