1010import com .webank .wedatasphere .dss .framework .admin .conf .ProjectConf ;
1111import com .webank .wedatasphere .dss .framework .admin .pojo .entity .DssAdminUser ;
1212import com .webank .wedatasphere .dss .framework .admin .service .DssAdminUserService ;
13- import com .webank .wedatasphere .dss .framework .admin .service .LdapService ;
13+ // import com.webank.wedatasphere.dss.framework.admin.service.LdapService;
1414import com .webank .wedatasphere .dss .framework .admin .xml .DssUserMapper ;
1515import org .apache .linkis .server .security .SecurityFilter ;
1616import org .apache .commons .codec .digest .DigestUtils ;
4545public class DssFrameworkAdminUserController extends BaseController {
4646 @ Resource
4747 private DssAdminUserService dssAdminUserService ;
48- @ Autowired
49- private LdapService ldapService ;
48+ // @Autowired
49+ // private LdapService ldapService;
5050 @ Autowired
5151
5252 DssUserMapper dssUserMapper ;
@@ -72,7 +72,7 @@ public TableDataInfo list(@QueryParam("userName") String userName, @QueryParam("
7272 // @PostMapping("/add")
7373// @POST
7474// @Path("/add")
75- @ RequestMapping (path ="add" , method = RequestMethod .POST )
75+ /* @RequestMapping(path ="add", method = RequestMethod.POST)
7676
7777 public Message add(@Validated @RequestBody DssAdminUser user, @Context HttpServletRequest req
7878 ) {
@@ -107,7 +107,7 @@ public Message add(@Validated @RequestBody DssAdminUser user, @Context HttpServl
107107 return Message.error().data("rows", 0).message(exception.getMessage());
108108 }
109109
110- }
110+ }*/
111111
112112
113113 // @GET
@@ -134,7 +134,7 @@ public Message edit(@Validated @RequestBody DssAdminUser user) {
134134
135135// @POST
136136// @Path("/resetPsw")
137- @ RequestMapping (path ="resetPsw" , method = RequestMethod .POST )
137+ /* @RequestMapping(path ="resetPsw", method = RequestMethod.POST)
138138 public Message resetPwd(@RequestBody DssAdminUser user) {
139139 try {
140140 PasswordResult passwordResult = PasswordUtils.checkPwd(user.getPassword(), user);
@@ -149,6 +149,6 @@ public Message resetPwd(@RequestBody DssAdminUser user) {
149149 } catch (Exception exception) {
150150 return Message.error().message(exception.getMessage());
151151 }
152- }
152+ }*/
153153}
154154
0 commit comments