|
@@ -129,6 +129,8 @@ public class LoginUser implements UserDetails
|
|
|
this.id = "sysUser:"+user.getUserId();
|
|
|
}
|
|
|
|
|
|
+
|
|
|
+
|
|
|
@JsonIgnore
|
|
|
@Override
|
|
|
public String getPassword()
|
|
@@ -286,17 +288,14 @@ public class LoginUser implements UserDetails
|
|
|
this.student = student;
|
|
|
}
|
|
|
|
|
|
- @Override
|
|
|
- public Collection<? extends GrantedAuthority> getAuthorities()
|
|
|
- {
|
|
|
- if (this.getStudent() != null){
|
|
|
- return null;
|
|
|
- }else {
|
|
|
- return null;
|
|
|
- }
|
|
|
- }
|
|
|
+
|
|
|
public void setAuthorities(Collection<? extends GrantedAuthority> collection){
|
|
|
|
|
|
}
|
|
|
|
|
|
+ @Override
|
|
|
+ public Collection<? extends GrantedAuthority> getAuthorities() {
|
|
|
+ return Collections.emptyList();
|
|
|
+ }
|
|
|
+
|
|
|
}
|