package refactoring
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
* Ardiansyah | http://ard.web.id
|
* Ardiansyah | http://ard.web.id
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package id.web.ard.springbootwebfluxjjwt.entity;
|
package id.web.ard.springbootwebfluxjjwt.model;
|
||||||
|
|
||||||
import lombok.AllArgsConstructor;
|
import lombok.AllArgsConstructor;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
* Ardiansyah | http://ard.web.id
|
* Ardiansyah | http://ard.web.id
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package id.web.ard.springbootwebfluxjjwt.entity;
|
package id.web.ard.springbootwebfluxjjwt.model;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnore;
|
import com.fasterxml.jackson.annotation.JsonIgnore;
|
||||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
@@ -4,7 +4,7 @@
|
|||||||
*/
|
*/
|
||||||
package id.web.ard.springbootwebfluxjjwt.rest;
|
package id.web.ard.springbootwebfluxjjwt.rest;
|
||||||
|
|
||||||
import id.web.ard.springbootwebfluxjjwt.entity.Message;
|
import id.web.ard.springbootwebfluxjjwt.model.Message;
|
||||||
import org.springframework.http.ResponseEntity;
|
import org.springframework.http.ResponseEntity;
|
||||||
import org.springframework.security.access.prepost.PreAuthorize;
|
import org.springframework.security.access.prepost.PreAuthorize;
|
||||||
import org.springframework.web.bind.annotation.RequestMapping;
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
*/
|
*/
|
||||||
package id.web.ard.springbootwebfluxjjwt.security;
|
package id.web.ard.springbootwebfluxjjwt.security;
|
||||||
|
|
||||||
import id.web.ard.springbootwebfluxjjwt.entity.User;
|
import id.web.ard.springbootwebfluxjjwt.model.User;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
*/
|
*/
|
||||||
package id.web.ard.springbootwebfluxjjwt.service;
|
package id.web.ard.springbootwebfluxjjwt.service;
|
||||||
|
|
||||||
import id.web.ard.springbootwebfluxjjwt.entity.User;
|
import id.web.ard.springbootwebfluxjjwt.model.User;
|
||||||
import id.web.ard.springbootwebfluxjjwt.security.model.Role;
|
import id.web.ard.springbootwebfluxjjwt.security.model.Role;
|
||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
||||||
import org.springframework.security.core.userdetails.UserDetails;
|
import org.springframework.security.core.userdetails.UserDetails;
|
||||||
|
|||||||
Reference in New Issue
Block a user