[mashup-dev] svn commit r6815 -
trunk/mashup/java/modules/coreservices/servicesharinghelper/src/org/wso2/mashup/coreservices/servicesharinghelper
svn at wso2.org
svn at wso2.org
Sun Sep 2 00:26:00 PDT 2007
Author: keith
Date: Sun Sep 2 00:25:54 2007
New Revision: 6815
Modified:
trunk/mashup/java/modules/coreservices/servicesharinghelper/src/org/wso2/mashup/coreservices/servicesharinghelper/ServiceSharingHelper.java
Log:
Fixing build break caused by WSAS change.
Modified: trunk/mashup/java/modules/coreservices/servicesharinghelper/src/org/wso2/mashup/coreservices/servicesharinghelper/ServiceSharingHelper.java
==============================================================================
--- trunk/mashup/java/modules/coreservices/servicesharinghelper/src/org/wso2/mashup/coreservices/servicesharinghelper/ServiceSharingHelper.java (original)
+++ trunk/mashup/java/modules/coreservices/servicesharinghelper/src/org/wso2/mashup/coreservices/servicesharinghelper/ServiceSharingHelper.java Sun Sep 2 00:25:54 2007
@@ -31,7 +31,7 @@
import org.wso2.mashup.MashupConstants;
import org.wso2.wsas.ServerConstants;
import org.wso2.wsas.admin.service.GlobalAdmin;
-import org.wso2.wsas.admin.service.util.AdminDatabaseAuthenticator;
+import org.wso2.wsas.admin.service.util.AdminAuthenticator;
import javax.activation.DataHandler;
import java.io.File;
@@ -114,8 +114,7 @@
String remoteIP = (String) messageContext.getProperty(MessageContext.REMOTE_ADDR);
SimpleDateFormat date = new SimpleDateFormat("'['yyyy-MM-dd HH:mm:ss,SSSS']'");
Date currentTime = Calendar.getInstance().getTime();
- boolean loggedIn = new AdminDatabaseAuthenticator().authenticate(username, password,
- configurationContext);
+ boolean loggedIn = new AdminAuthenticator().authenticate(username, password);
if (loggedIn) {
AxisConfiguration axisConfiguration = configurationContext.getAxisConfiguration();
// Check whether a service with the given name is already present
More information about the Mashup-dev
mailing list