21 lines
365 B
Java
21 lines
365 B
Java
package com.kri.common.webmvc;
|
|
|
|
import lombok.Builder;
|
|
import lombok.Value;
|
|
|
|
@Value
|
|
@Builder
|
|
public class RequestUserContext {
|
|
|
|
String userId;
|
|
String userCmpn;
|
|
String userTeam;
|
|
String userName;
|
|
Integer userRole;
|
|
|
|
String clientIp; // IpUtil 에서 가져온 값
|
|
|
|
public boolean isAuthenticated() {
|
|
return userId != null;
|
|
}
|
|
} |