- Timestamp:
- 02/03/23 23:11:04 (22 months ago)
- Branches:
- master
- Children:
- eb226b2
- Parents:
- 1b248e4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/com/example/moviezone/model/Customer.java
r1b248e4 rac25203 7 7 import lombok.Setter; 8 8 import lombok.ToString; 9 import org.springframework.security.core.GrantedAuthority; 10 11 import java.util.Collection; 12 import java.util.Collections; 9 13 10 14 @Entity … … 19 23 Integer points; 20 24 25 @Override 26 public Collection<? extends GrantedAuthority> getAuthorities() { 27 return Collections.singletonList(Role.ROLE_ADMIN); 28 } 21 29 22 30 }
Note:
See TracChangeset
for help on using the changeset viewer.