aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/service/security/entities
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2020-03-07 13:20:45 +0300
committerGravatar Vitaly Takmazov2020-03-07 13:20:45 +0300
commitc9d67837cbcaae84a03b7bd14e508ca62880f87f (patch)
tree0f66e38f5b6aa48c66fae7d10c0b8b5ad6f7e7e2 /src/main/java/com/juick/service/security/entities
parentad50d1090b303d3a71c354dd2922a982fda6a289 (diff)
Reorganize project layout
Diffstat (limited to 'src/main/java/com/juick/service/security/entities')
-rw-r--r--src/main/java/com/juick/service/security/entities/JuickUser.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/java/com/juick/service/security/entities/JuickUser.java b/src/main/java/com/juick/service/security/entities/JuickUser.java
index eb2e43dc..062db3a4 100644
--- a/src/main/java/com/juick/service/security/entities/JuickUser.java
+++ b/src/main/java/com/juick/service/security/entities/JuickUser.java
@@ -17,7 +17,7 @@
package com.juick.service.security.entities;
-import com.juick.User;
+import com.juick.model.User;
import com.juick.model.AnonymousUser;
import org.apache.commons.lang3.StringUtils;
import org.springframework.security.core.GrantedAuthority;
@@ -40,14 +40,14 @@ public class JuickUser implements UserDetails {
public static final JuickUser ANONYMOUS_USER = new JuickUser(AnonymousUser.INSTANCE, ANONYMOUS_AUTHORITY);
- private final com.juick.User user;
+ private final User user;
private final Collection<? extends GrantedAuthority> authorities;
- public JuickUser(com.juick.User user) {
+ public JuickUser(User user) {
this(user, USER_AUTHORITY);
}
- public JuickUser(com.juick.User user, Collection<? extends GrantedAuthority> authorities) {
+ public JuickUser(User user, Collection<? extends GrantedAuthority> authorities) {
this.user = user;
this.authorities = authorities;
}