엔티티/테이블 공통 필드/컬럼 추가 -> REG_DT, RGTR, MDFCN_DT, MDFR

master
mjkhan21 2 years ago
parent d83739de2c
commit be23e37a51

@ -1,12 +1,12 @@
package cokr.xit.base.security;
import java.util.Collections;
import java.util.Date;
import java.util.List;
import java.util.Map;
import org.springframework.security.core.GrantedAuthority;
import cokr.xit.foundation.AbstractEntity;
import cokr.xit.foundation.Assert;
import cokr.xit.foundation.data.DataObject;
import cokr.xit.foundation.data.StringMap;
@ -14,7 +14,7 @@ import cokr.xit.foundation.data.StringMap;
/** , (Role)
* @author mjkhan
*/
public class Authority implements GrantedAuthority {
public class Authority extends AbstractEntity implements GrantedAuthority {
private static final long serialVersionUID = 1L;
/** 시스템 관리자 권한 아이디 */
public static final String ADMIN = "ROLE_ADMIN";
@ -53,7 +53,6 @@ public class Authority implements GrantedAuthority {
infoScope,
userInfoScope;
private List<String> actions;
private Date createdAt;
/**{@link Type } .
* @return
@ -160,20 +159,6 @@ public class Authority implements GrantedAuthority {
return this;
}
/** .
* @return
*/
public Date getCreatedAt() {
return createdAt;
}
/** .
* @param createdAt
*/
public void setCreatedAt(Date createdAt) {
this.createdAt = createdAt;
}
/**(URL) .
* @return (URL)
*/

@ -1,16 +1,15 @@
package cokr.xit.base.security.access;
import java.util.Date;
import cokr.xit.foundation.AbstractEntity;
/**
* @author mjkhan
*/
public class ActionGroup {
public class ActionGroup extends AbstractEntity {
private String
id,
name,
description;
private Date createdAt;
/**id .
* @return id
@ -54,20 +53,6 @@ public class ActionGroup {
this.description = description;
}
/** .
* @return
*/
public Date getCreatedAt() {
return createdAt;
}
/** .
* @param createdAt
*/
public void setCreatedAt(Date createdAt) {
this.createdAt = createdAt;
}
@Override
public String toString() {
return String.format("%s('%s', '%s')", getClass().getSimpleName(), getId(), getName());

@ -1,23 +1,17 @@
package cokr.xit.base.security.authentication;
import java.util.Date;
import cokr.xit.foundation.AbstractEntity;
import cokr.xit.foundation.Assert;
/** ()
* @author mjkhan
*/
public class AuthenticationPolicy {
public class AuthenticationPolicy extends AbstractEntity {
private String
userID,
ipAddress,
duplicateYN,
limitYN,
createdBy,
modifiedBy;
private Date
createdAt,
lastModified;
limitYN;
/** ID .
* @return ID
@ -106,60 +100,4 @@ public class AuthenticationPolicy {
public void setLimitYN(String limitYN) {
this.limitYN = limitYN;
}
/** ID .
* @return ID
*/
public String getCreatedBy() {
return createdBy;
}
/** ID .
* @param createdBy ID
*/
public void setCreatedBy(String createdBy) {
this.createdBy = createdBy;
}
/** ID .
* @return ID
*/
public String getModifiedBy() {
return modifiedBy;
}
/** ID .
* @param modifiedBy ID
*/
public void setModifiedBy(String modifiedBy) {
this.modifiedBy = modifiedBy;
}
/** .
* @return
*/
public Date getCreatedAt() {
return createdAt;
}
/** .
* @param createdAt
*/
public void setCreatedAt(Date createdAt) {
this.createdAt = createdAt;
}
/** .
* @return
*/
public Date getLastModified() {
return lastModified;
}
/** .
* @param lastModified
*/
public void setLastModified(Date lastModified) {
this.lastModified = lastModified;
}
}

@ -4,7 +4,7 @@
* <li> (authority)</li>
* </ul>
* .
* <p> <a href="{@docRoot}/doc-files/xit-base-mysql.sql" target="_blank"> </a> .<br />
* <p> <a href="{@docRoot}/doc-files/xit-base-mariadb.sql" target="_blank"> </a> .<br />
* .
* <ul><li> : xit-security-yy.mm.dd.jar</li>
* <li> : {@link cokr.xit.foundation xit-foundation-yy.mm.dd.jar}</li>

Loading…
Cancel
Save