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

master
mjkhan21 2 years ago
parent d83739de2c
commit be23e37a51

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

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

@ -1,23 +1,17 @@
package cokr.xit.base.security.authentication; package cokr.xit.base.security.authentication;
import java.util.Date; import cokr.xit.foundation.AbstractEntity;
import cokr.xit.foundation.Assert; import cokr.xit.foundation.Assert;
/** () /** ()
* @author mjkhan * @author mjkhan
*/ */
public class AuthenticationPolicy { public class AuthenticationPolicy extends AbstractEntity {
private String private String
userID, userID,
ipAddress, ipAddress,
duplicateYN, duplicateYN,
limitYN, limitYN;
createdBy,
modifiedBy;
private Date
createdAt,
lastModified;
/** ID . /** ID .
* @return ID * @return ID
@ -106,60 +100,4 @@ public class AuthenticationPolicy {
public void setLimitYN(String limitYN) { public void setLimitYN(String limitYN) {
this.limitYN = 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> * <li> (authority)</li>
* </ul> * </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> * <ul><li> : xit-security-yy.mm.dd.jar</li>
* <li> : {@link cokr.xit.foundation xit-foundation-yy.mm.dd.jar}</li> * <li> : {@link cokr.xit.foundation xit-foundation-yy.mm.dd.jar}</li>

Loading…
Cancel
Save