|
|
@@ -53,11 +53,11 @@ public class AuthIntercepotor extends HandlerInterceptorAdapter {
|
|
|
// User user = objectMapper.convertValue(userObj, User.class);
|
|
|
// request.setAttribute("auth-user", user);
|
|
|
XxlSsoUser xxlSsoUser = (XxlSsoUser) request.getAttribute(Conf.SSO_USER);
|
|
|
- Map<String, String> plugininfo=xxlSsoUser.getPlugininfo();
|
|
|
+ //Map<String, String> plugininfo=xxlSsoUser.getPlugininfo();
|
|
|
User user=new User();
|
|
|
- user.setId(Integer.getInteger(plugininfo.get("employeeNo")));
|
|
|
+ //user.setId(Integer.getInteger(plugininfo.get("employeeNo")));
|
|
|
user.setName(xxlSsoUser.getUsername());
|
|
|
- user.setGender(Integer.getInteger(plugininfo.get("employeeNo")));
|
|
|
+ //user.setGender(Integer.getInteger(plugininfo.get("employeeNo")));
|
|
|
user.setIsSuperAdmin(1);
|
|
|
request.setAttribute("auth-user", user);
|
|
|
|