public RuleServiceFileUploadAdminClient(String backEndUrl, String userName, String password) throws AxisFault { String endPoint = backEndUrl + serviceName; ruleServiceFileUploadAdminStub = new RuleServiceFileUploadAdminStub(endPoint); AuthenticateStub.authenticateStub(userName, password, ruleServiceFileUploadAdminStub); }
public RuleServiceFileUploadAdminClient(String backEndUrl, String sessionCookie) throws AxisFault { String endPoint = backEndUrl + serviceName; ruleServiceFileUploadAdminStub = new RuleServiceFileUploadAdminStub(endPoint); AuthenticateStub.authenticateStub(sessionCookie, ruleServiceFileUploadAdminStub); }
public void addLocalEntry(String sessionCookie, DataHandler dh) throws LocalEntryAdminException, IOException, XMLStreamException { AuthenticateStub.authenticateStub(sessionCookie, localEntryAdminServiceStub); XMLStreamReader parser = XMLInputFactory.newInstance().createXMLStreamReader(dh.getInputStream()); // create the builder StAXOMBuilder builder = new StAXOMBuilder(parser); OMElement localEntryElem = builder.getDocumentElement(); localEntryAdminServiceStub.addEntry(localEntryElem.toString()); }
public SAMLSSOConfigServiceClient(String backEndUrl, String userName, String password) throws RemoteException { this.endPoint = backEndUrl + serviceName; try { identitySAMLSSOConfigServiceStub = new IdentitySAMLSSOConfigServiceStub(endPoint); } catch (AxisFault axisFault) { log.error("Error on initializing stub : " + axisFault.getMessage()); throw new RemoteException("Error on initializing stub : ", axisFault); } AuthenticateStub.authenticateStub(userName, password, identitySAMLSSOConfigServiceStub); }
public JaggeryApplicationUploaderClient(String backEndUrl, String sessionCookie) throws AxisFault { String endPoint = backEndUrl + serviceName; try { jaggeryAppAdminStub = new JaggeryAppAdminStub(endPoint); AuthenticateStub.authenticateStub(sessionCookie, jaggeryAppAdminStub); } catch (AxisFault axisFault) { log.error("JaggeryAppAdminStub Initialization fail " + axisFault.getMessage()); throw new AxisFault("JaggeryAppAdminStub Initialization fail " + axisFault.getMessage()); } }
public ServiceAdminClient(String backEndUrl, String userName, String password) throws AxisFault { String endPoint = backEndUrl + serviceName; serviceAdminStub = new ServiceAdminStub(endPoint); AuthenticateStub.authenticateStub(userName, password, serviceAdminStub); }
public ServiceAdminClient(String backEndUrl, String sessionCookie) throws AxisFault { String endPoint = backEndUrl + serviceName; serviceAdminStub = new ServiceAdminStub(endPoint); AuthenticateStub.authenticateStub(sessionCookie, serviceAdminStub); }
public EndpointTemplateAdminServiceClient(String backEndUrl, String userName, String password) throws AxisFault { String endPoint = backEndUrl + serviceName; endpointTemplateAdminStub = new EndpointTemplateAdminServiceStub(endPoint); AuthenticateStub.authenticateStub(userName, password, endpointTemplateAdminStub); }
public EndpointTemplateAdminServiceClient(String backEndUrl, String sessionCookie) throws AxisFault { String endPoint = backEndUrl + serviceName; endpointTemplateAdminStub = new EndpointTemplateAdminServiceStub(endPoint); AuthenticateStub.authenticateStub(sessionCookie, endpointTemplateAdminStub); }
public OMElement getLocalEntry(String sessionCookie, String localEntryKey) throws LocalEntryAdminException, RemoteException { AuthenticateStub.authenticateStub(sessionCookie, localEntryAdminServiceStub); return (OMElement) localEntryAdminServiceStub.getEntry(localEntryKey); }
public void deleteLocalEntry(String sessionCookie, String localEntryKey) throws LocalEntryAdminException, RemoteException { AuthenticateStub.authenticateStub(sessionCookie, localEntryAdminServiceStub); localEntryAdminServiceStub.deleteEntry(localEntryKey); }