修改系统表maxservice:SELECT * FROM Maxservice WHERE servicename = 'SECURITY';
UPDATE Maxservice SET classname = 'com.shuto.mam.security.MySecurity' WHERE servicename = 'SECURITY';
编辑代码:
package com.shuto.mam.security;
import java.rmi.RemoteException;
import psdi.mbo.MboRemote;
import psdi.security.SecurityService;
import psdi.server.MXServer;
public class MySecurity extends SecurityService {
private static final long serialVersionUID = 1L;
@Override
protected void verifyUser(String userName, String enteredPassword,
MboRemote userMbo) throws Exception {
//super.verifyUser(userName, enteredPassword, userMbo);
}
public MySecurity(MXServer mxServer) throws RemoteException {
super(mxServer);
}
}