AbstractComponent -> AbstractBean

master
mjkhan21 6 months ago
parent 4ebeedb6a3
commit 649465c8ea

@ -15,15 +15,15 @@ import org.springframework.stereotype.Component;
import cokr.xit.base.security.AccessContext; import cokr.xit.base.security.AccessContext;
import cokr.xit.base.security.SecuredUserInfo; import cokr.xit.base.security.SecuredUserInfo;
import cokr.xit.foundation.AbstractComponent;
import cokr.xit.foundation.Access; import cokr.xit.foundation.Access;
import cokr.xit.foundation.component.AbstractBean;
/** .<br /> /** .<br />
* . * .
* @author mjkhan * @author mjkhan
*/ */
@Component("applicationAccess") @Component("applicationAccess")
public class ApplicationAccess extends AbstractComponent implements AccessDecisionVoter<Object>, AuthorizationManager<RequestAuthorizationContext> { public class ApplicationAccess extends AbstractBean implements AccessDecisionVoter<Object>, AuthorizationManager<RequestAuthorizationContext> {
/** 권한별 가용 기능(URL) */ /** 권한별 가용 기능(URL) */
@Resource(name="accessContext") @Resource(name="accessContext")
protected AccessContext accessContext; protected AccessContext accessContext;

@ -9,14 +9,14 @@ import org.springframework.stereotype.Component;
import cokr.xit.base.security.access.ActionGroup; import cokr.xit.base.security.access.ActionGroup;
import cokr.xit.base.security.access.dao.ActionGroupMapper; import cokr.xit.base.security.access.dao.ActionGroupMapper;
import cokr.xit.base.security.access.service.ActionQuery; import cokr.xit.base.security.access.service.ActionQuery;
import cokr.xit.foundation.AbstractComponent; import cokr.xit.foundation.component.AbstractBean;
import cokr.xit.foundation.data.DataObject; import cokr.xit.foundation.data.DataObject;
/** Bean /** Bean
* @author mjkhan * @author mjkhan
*/ */
@Component("actionGroupBean") @Component("actionGroupBean")
public class ActionGroupBean extends AbstractComponent { public class ActionGroupBean extends AbstractBean {
@Resource(name = "actionGroupMapper") @Resource(name = "actionGroupMapper")
private ActionGroupMapper actionGroupMapper; private ActionGroupMapper actionGroupMapper;

@ -9,14 +9,14 @@ import org.springframework.stereotype.Component;
import cokr.xit.base.security.Authority; import cokr.xit.base.security.Authority;
import cokr.xit.base.security.access.dao.AuthorityMapper; import cokr.xit.base.security.access.dao.AuthorityMapper;
import cokr.xit.base.security.access.service.AuthorityQuery; import cokr.xit.base.security.access.service.AuthorityQuery;
import cokr.xit.foundation.AbstractComponent; import cokr.xit.foundation.component.AbstractBean;
import cokr.xit.foundation.data.DataObject; import cokr.xit.foundation.data.DataObject;
/** Bean /** Bean
* @author mjkhan * @author mjkhan
*/ */
@Component("authorityBean") @Component("authorityBean")
public class AuthorityBean extends AbstractComponent { public class AuthorityBean extends AbstractBean {
@Resource(name = "authorityMapper") @Resource(name = "authorityMapper")
private AuthorityMapper authorityMapper; private AuthorityMapper authorityMapper;

@ -11,8 +11,8 @@ import org.springframework.stereotype.Component;
import cokr.xit.base.security.authentication.AuthenticationPolicy; import cokr.xit.base.security.authentication.AuthenticationPolicy;
import cokr.xit.base.security.authentication.dao.PolicyMapper; import cokr.xit.base.security.authentication.dao.PolicyMapper;
import cokr.xit.base.user.dao.UserMapper; import cokr.xit.base.user.dao.UserMapper;
import cokr.xit.foundation.AbstractComponent;
import cokr.xit.foundation.User; import cokr.xit.foundation.User;
import cokr.xit.foundation.component.AbstractBean;
import cokr.xit.foundation.component.QueryRequest; import cokr.xit.foundation.component.QueryRequest;
import cokr.xit.foundation.data.DataObject; import cokr.xit.foundation.data.DataObject;
@ -20,7 +20,7 @@ import cokr.xit.foundation.data.DataObject;
* @author mjkhan * @author mjkhan
*/ */
@Component("authenticationBean") @Component("authenticationBean")
public class AuthenticationBean extends AbstractComponent { public class AuthenticationBean extends AbstractBean {
@Resource(name = "userMapper") @Resource(name = "userMapper")
private UserMapper userMapper; private UserMapper userMapper;
@Resource(name = "policyMapper") @Resource(name = "policyMapper")

Loading…
Cancel
Save