|
|
@ -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")
|
|
|
|