00064 Change package to org.monkeyk.sos
parent
2c1ded395a
commit
a16e41c2c8
2
pom.xml
2
pom.xml
|
@ -4,7 +4,7 @@
|
||||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
<groupId>wdcy.cc</groupId>
|
<groupId>monkeyk.com</groupId>
|
||||||
<artifactId>spring-oauth-server</artifactId>
|
<artifactId>spring-oauth-server</artifactId>
|
||||||
<version>0.4-beta</version>
|
<version>0.4-beta</version>
|
||||||
<name>spring-oauth-server</name>
|
<name>spring-oauth-server</name>
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package cc.wdcy.domain;
|
package com.monkeyk.sos.domain;
|
||||||
|
|
||||||
import cc.wdcy.infrastructure.DateUtils;
|
import com.monkeyk.sos.infrastructure.DateUtils;
|
||||||
import cc.wdcy.domain.shared.GuidGenerator;
|
import com.monkeyk.sos.domain.shared.GuidGenerator;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
|
@ -1,7 +1,7 @@
|
||||||
package cc.wdcy.domain.dto;
|
package com.monkeyk.sos.domain.dto;
|
||||||
|
|
||||||
import cc.wdcy.domain.oauth.OauthClientDetails;
|
import com.monkeyk.sos.domain.oauth.OauthClientDetails;
|
||||||
import cc.wdcy.infrastructure.DateUtils;
|
import com.monkeyk.sos.infrastructure.DateUtils;
|
||||||
import org.apache.commons.lang.StringUtils;
|
import org.apache.commons.lang.StringUtils;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
|
@ -1,7 +1,7 @@
|
||||||
package cc.wdcy.domain.dto;
|
package com.monkeyk.sos.domain.dto;
|
||||||
|
|
||||||
import cc.wdcy.domain.user.Privilege;
|
import com.monkeyk.sos.domain.user.Privilege;
|
||||||
import cc.wdcy.domain.user.User;
|
import com.monkeyk.sos.domain.user.User;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
|
@ -1,4 +1,4 @@
|
||||||
package cc.wdcy.domain.oauth;
|
package com.monkeyk.sos.domain.oauth;
|
||||||
|
|
||||||
import org.springframework.security.oauth2.provider.client.JdbcClientDetailsService;
|
import org.springframework.security.oauth2.provider.client.JdbcClientDetailsService;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package cc.wdcy.domain.oauth;
|
package com.monkeyk.sos.domain.oauth;
|
||||||
|
|
||||||
import cc.wdcy.infrastructure.DateUtils;
|
import com.monkeyk.sos.infrastructure.DateUtils;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
|
@ -1,6 +1,6 @@
|
||||||
package cc.wdcy.domain.oauth;
|
package com.monkeyk.sos.domain.oauth;
|
||||||
|
|
||||||
import cc.wdcy.domain.shared.Repository;
|
import com.monkeyk.sos.domain.shared.Repository;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package cc.wdcy.domain.shared;
|
package com.monkeyk.sos.domain.shared;
|
||||||
|
|
||||||
import java.util.UUID;
|
import java.util.UUID;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package cc.wdcy.domain.shared;
|
package com.monkeyk.sos.domain.shared;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Shengzhao Li
|
* @author Shengzhao Li
|
|
@ -1,7 +1,7 @@
|
||||||
package cc.wdcy.domain.shared.security;
|
package com.monkeyk.sos.domain.shared.security;
|
||||||
|
|
||||||
import cc.wdcy.domain.user.Privilege;
|
import com.monkeyk.sos.domain.user.Privilege;
|
||||||
import cc.wdcy.domain.user.User;
|
import com.monkeyk.sos.domain.user.User;
|
||||||
import org.springframework.security.core.GrantedAuthority;
|
import org.springframework.security.core.GrantedAuthority;
|
||||||
import org.springframework.security.core.authority.SimpleGrantedAuthority;
|
import org.springframework.security.core.authority.SimpleGrantedAuthority;
|
||||||
import org.springframework.security.core.userdetails.UserDetails;
|
import org.springframework.security.core.userdetails.UserDetails;
|
|
@ -1,4 +1,4 @@
|
||||||
package cc.wdcy.domain.user;
|
package com.monkeyk.sos.domain.user;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Shengzhao Li
|
* @author Shengzhao Li
|
|
@ -1,8 +1,7 @@
|
||||||
package cc.wdcy.domain.user;
|
package com.monkeyk.sos.domain.user;
|
||||||
|
|
||||||
import cc.wdcy.domain.AbstractDomain;
|
import com.monkeyk.sos.domain.AbstractDomain;
|
||||||
|
|
||||||
import java.sql.Timestamp;
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
import java.util.List;
|
import java.util.List;
|
|
@ -1,6 +1,6 @@
|
||||||
package cc.wdcy.domain.user;
|
package com.monkeyk.sos.domain.user;
|
||||||
|
|
||||||
import cc.wdcy.domain.shared.Repository;
|
import com.monkeyk.sos.domain.shared.Repository;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Shengzhao Li
|
* @author Shengzhao Li
|
|
@ -1,4 +1,4 @@
|
||||||
package cc.wdcy.infrastructure;
|
package com.monkeyk.sos.infrastructure;
|
||||||
|
|
||||||
import java.text.SimpleDateFormat;
|
import java.text.SimpleDateFormat;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
|
@ -9,9 +9,9 @@
|
||||||
* it only in accordance with the terms of the license agreement you
|
* it only in accordance with the terms of the license agreement you
|
||||||
* entered into with MONKEYK Information Technology Co. Ltd.
|
* entered into with MONKEYK Information Technology Co. Ltd.
|
||||||
*/
|
*/
|
||||||
package cc.wdcy.infrastructure.jdbc;
|
package com.monkeyk.sos.infrastructure.jdbc;
|
||||||
|
|
||||||
import cc.wdcy.domain.oauth.OauthClientDetails;
|
import com.monkeyk.sos.domain.oauth.OauthClientDetails;
|
||||||
import org.springframework.jdbc.core.RowMapper;
|
import org.springframework.jdbc.core.RowMapper;
|
||||||
|
|
||||||
import java.sql.ResultSet;
|
import java.sql.ResultSet;
|
|
@ -9,14 +9,12 @@
|
||||||
* it only in accordance with the terms of the license agreement you
|
* it only in accordance with the terms of the license agreement you
|
||||||
* entered into with MONKEYK Information Technology Co. Ltd.
|
* entered into with MONKEYK Information Technology Co. Ltd.
|
||||||
*/
|
*/
|
||||||
package cc.wdcy.infrastructure.jdbc;
|
package com.monkeyk.sos.infrastructure.jdbc;
|
||||||
|
|
||||||
import cc.wdcy.domain.oauth.OauthClientDetails;
|
import com.monkeyk.sos.domain.oauth.OauthClientDetails;
|
||||||
import cc.wdcy.domain.oauth.OauthRepository;
|
import com.monkeyk.sos.domain.oauth.OauthRepository;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.dao.DataAccessException;
|
|
||||||
import org.springframework.jdbc.core.JdbcTemplate;
|
import org.springframework.jdbc.core.JdbcTemplate;
|
||||||
import org.springframework.jdbc.core.PreparedStatementCallback;
|
|
||||||
import org.springframework.jdbc.core.PreparedStatementSetter;
|
import org.springframework.jdbc.core.PreparedStatementSetter;
|
||||||
import org.springframework.stereotype.Repository;
|
import org.springframework.stereotype.Repository;
|
||||||
|
|
|
@ -9,11 +9,11 @@
|
||||||
* it only in accordance with the terms of the license agreement you
|
* it only in accordance with the terms of the license agreement you
|
||||||
* entered into with MONKEYK Information Technology Co. Ltd.
|
* entered into with MONKEYK Information Technology Co. Ltd.
|
||||||
*/
|
*/
|
||||||
package cc.wdcy.infrastructure.jdbc;
|
package com.monkeyk.sos.infrastructure.jdbc;
|
||||||
|
|
||||||
import cc.wdcy.domain.user.Privilege;
|
import com.monkeyk.sos.domain.user.Privilege;
|
||||||
import cc.wdcy.domain.user.User;
|
import com.monkeyk.sos.domain.user.User;
|
||||||
import cc.wdcy.domain.user.UserRepository;
|
import com.monkeyk.sos.domain.user.UserRepository;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.jdbc.core.JdbcTemplate;
|
import org.springframework.jdbc.core.JdbcTemplate;
|
||||||
import org.springframework.jdbc.core.PreparedStatementSetter;
|
import org.springframework.jdbc.core.PreparedStatementSetter;
|
|
@ -9,9 +9,9 @@
|
||||||
* it only in accordance with the terms of the license agreement you
|
* it only in accordance with the terms of the license agreement you
|
||||||
* entered into with MONKEYK Information Technology Co. Ltd.
|
* entered into with MONKEYK Information Technology Co. Ltd.
|
||||||
*/
|
*/
|
||||||
package cc.wdcy.infrastructure.jdbc;
|
package com.monkeyk.sos.infrastructure.jdbc;
|
||||||
|
|
||||||
import cc.wdcy.domain.user.User;
|
import com.monkeyk.sos.domain.user.User;
|
||||||
import org.springframework.jdbc.core.RowMapper;
|
import org.springframework.jdbc.core.RowMapper;
|
||||||
|
|
||||||
import java.sql.ResultSet;
|
import java.sql.ResultSet;
|
|
@ -1,7 +1,7 @@
|
||||||
package cc.wdcy.service;
|
package com.monkeyk.sos.service;
|
||||||
|
|
||||||
import cc.wdcy.domain.dto.OauthClientDetailsDto;
|
import com.monkeyk.sos.domain.dto.OauthClientDetailsDto;
|
||||||
import cc.wdcy.domain.oauth.OauthClientDetails;
|
import com.monkeyk.sos.domain.oauth.OauthClientDetails;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package cc.wdcy.service;
|
package com.monkeyk.sos.service;
|
||||||
|
|
||||||
import cc.wdcy.domain.dto.UserJsonDto;
|
import com.monkeyk.sos.domain.dto.UserJsonDto;
|
||||||
import org.springframework.security.core.userdetails.UserDetailsService;
|
import org.springframework.security.core.userdetails.UserDetailsService;
|
||||||
|
|
||||||
/**
|
/**
|
|
@ -1,9 +1,9 @@
|
||||||
package cc.wdcy.service.impl;
|
package com.monkeyk.sos.service.impl;
|
||||||
|
|
||||||
import cc.wdcy.domain.dto.OauthClientDetailsDto;
|
import com.monkeyk.sos.domain.dto.OauthClientDetailsDto;
|
||||||
import cc.wdcy.domain.oauth.OauthClientDetails;
|
import com.monkeyk.sos.domain.oauth.OauthClientDetails;
|
||||||
import cc.wdcy.domain.oauth.OauthRepository;
|
import com.monkeyk.sos.domain.oauth.OauthRepository;
|
||||||
import cc.wdcy.service.OauthService;
|
import com.monkeyk.sos.service.OauthService;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
package cc.wdcy.service.impl;
|
package com.monkeyk.sos.service.impl;
|
||||||
|
|
||||||
import cc.wdcy.domain.dto.UserJsonDto;
|
import com.monkeyk.sos.domain.dto.UserJsonDto;
|
||||||
import cc.wdcy.domain.shared.security.WdcyUserDetails;
|
import com.monkeyk.sos.domain.shared.security.WdcyUserDetails;
|
||||||
import cc.wdcy.domain.user.User;
|
import com.monkeyk.sos.domain.user.User;
|
||||||
import cc.wdcy.domain.user.UserRepository;
|
import com.monkeyk.sos.domain.user.UserRepository;
|
||||||
import cc.wdcy.service.UserService;
|
import com.monkeyk.sos.service.UserService;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.security.core.Authentication;
|
import org.springframework.security.core.Authentication;
|
||||||
import org.springframework.security.core.GrantedAuthority;
|
import org.springframework.security.core.GrantedAuthority;
|
|
@ -1,4 +1,4 @@
|
||||||
package cc.wdcy.web;
|
package com.monkeyk.sos.web;
|
||||||
|
|
||||||
import org.apache.commons.lang.StringUtils;
|
import org.apache.commons.lang.StringUtils;
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
package cc.wdcy.web.controller;
|
package com.monkeyk.sos.web.controller;
|
||||||
|
|
||||||
import cc.wdcy.domain.dto.OauthClientDetailsDto;
|
import com.monkeyk.sos.domain.dto.OauthClientDetailsDto;
|
||||||
import cc.wdcy.service.OauthService;
|
import com.monkeyk.sos.service.OauthService;
|
||||||
import cc.wdcy.web.oauth.OauthClientDetailsDtoValidator;
|
import com.monkeyk.sos.web.oauth.OauthClientDetailsDtoValidator;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.stereotype.Controller;
|
import org.springframework.stereotype.Controller;
|
||||||
import org.springframework.ui.Model;
|
import org.springframework.ui.Model;
|
|
@ -1,4 +1,4 @@
|
||||||
package cc.wdcy.web.controller;
|
package com.monkeyk.sos.web.controller;
|
||||||
|
|
||||||
import org.springframework.stereotype.Controller;
|
import org.springframework.stereotype.Controller;
|
||||||
import org.springframework.web.bind.annotation.RequestMapping;
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
@ -1,7 +1,7 @@
|
||||||
package cc.wdcy.web.controller.mobile;
|
package com.monkeyk.sos.web.controller.mobile;
|
||||||
|
|
||||||
import cc.wdcy.domain.dto.UserJsonDto;
|
import com.monkeyk.sos.domain.dto.UserJsonDto;
|
||||||
import cc.wdcy.service.UserService;
|
import com.monkeyk.sos.service.UserService;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.stereotype.Controller;
|
import org.springframework.stereotype.Controller;
|
||||||
import org.springframework.web.bind.annotation.RequestMapping;
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
@ -1,7 +1,7 @@
|
||||||
package cc.wdcy.web.controller.unity;
|
package com.monkeyk.sos.web.controller.unity;
|
||||||
|
|
||||||
import cc.wdcy.domain.dto.UserJsonDto;
|
import com.monkeyk.sos.domain.dto.UserJsonDto;
|
||||||
import cc.wdcy.service.UserService;
|
import com.monkeyk.sos.service.UserService;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.stereotype.Controller;
|
import org.springframework.stereotype.Controller;
|
||||||
import org.springframework.web.bind.annotation.RequestMapping;
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
@ -1,7 +1,7 @@
|
||||||
package cc.wdcy.web.oauth;
|
package com.monkeyk.sos.web.oauth;
|
||||||
|
|
||||||
import cc.wdcy.domain.dto.OauthClientDetailsDto;
|
import com.monkeyk.sos.domain.dto.OauthClientDetailsDto;
|
||||||
import cc.wdcy.service.OauthService;
|
import com.monkeyk.sos.service.OauthService;
|
||||||
import org.apache.commons.lang.StringUtils;
|
import org.apache.commons.lang.StringUtils;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.stereotype.Component;
|
import org.springframework.stereotype.Component;
|
|
@ -1,7 +1,7 @@
|
||||||
package cc.wdcy.web.oauth;
|
package com.monkeyk.sos.web.oauth;
|
||||||
|
|
||||||
import cc.wdcy.domain.oauth.OauthClientDetails;
|
import com.monkeyk.sos.domain.oauth.OauthClientDetails;
|
||||||
import cc.wdcy.service.OauthService;
|
import com.monkeyk.sos.service.OauthService;
|
||||||
import org.springframework.security.core.Authentication;
|
import org.springframework.security.core.Authentication;
|
||||||
import org.springframework.security.oauth2.provider.AuthorizationRequest;
|
import org.springframework.security.oauth2.provider.AuthorizationRequest;
|
||||||
import org.springframework.security.oauth2.provider.approval.TokenStoreUserApprovalHandler;
|
import org.springframework.security.oauth2.provider.approval.TokenStoreUserApprovalHandler;
|
|
@ -10,7 +10,7 @@
|
||||||
|
|
||||||
<!--annotation configuration -->
|
<!--annotation configuration -->
|
||||||
<context:annotation-config/>
|
<context:annotation-config/>
|
||||||
<context:component-scan base-package="cc.wdcy"/>
|
<context:component-scan base-package="com.monkeyk.sos"/>
|
||||||
|
|
||||||
<!-- property configuration -->
|
<!-- property configuration -->
|
||||||
<bean id="propertyConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
|
<bean id="propertyConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
|
||||||
|
|
|
@ -83,7 +83,7 @@
|
||||||
|
|
||||||
<!--</oauth2:client-details-service>-->
|
<!--</oauth2:client-details-service>-->
|
||||||
|
|
||||||
<beans:bean id="clientDetailsService" class="cc.wdcy.domain.oauth.CustomJdbcClientDetailsService">
|
<beans:bean id="clientDetailsService" class="com.monkeyk.sos.domain.oauth.CustomJdbcClientDetailsService">
|
||||||
<beans:constructor-arg index="0" ref="dataSource"/>
|
<beans:constructor-arg index="0" ref="dataSource"/>
|
||||||
</beans:bean>
|
</beans:bean>
|
||||||
|
|
||||||
|
@ -113,7 +113,7 @@
|
||||||
</beans:bean>
|
</beans:bean>
|
||||||
|
|
||||||
|
|
||||||
<beans:bean id="oauthUserApprovalHandler" class="cc.wdcy.web.oauth.OauthUserApprovalHandler">
|
<beans:bean id="oauthUserApprovalHandler" class="com.monkeyk.sos.web.oauth.OauthUserApprovalHandler">
|
||||||
<beans:property name="tokenStore" ref="tokenStore"/>
|
<beans:property name="tokenStore" ref="tokenStore"/>
|
||||||
<beans:property name="clientDetailsService" ref="clientDetailsService"/>
|
<beans:property name="clientDetailsService" ref="clientDetailsService"/>
|
||||||
<beans:property name="requestFactory" ref="oAuth2RequestFactory"/>
|
<beans:property name="requestFactory" ref="oAuth2RequestFactory"/>
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
<!--aop-->
|
<!--aop-->
|
||||||
<aop:config>
|
<aop:config>
|
||||||
<aop:advisor advice-ref="applicationAdvisor" pointcut="execution(* cc.wdcy.service.*.*(..))"/>
|
<aop:advisor advice-ref="applicationAdvisor" pointcut="execution(* com.monkeyk.sos.service.*.*(..))"/>
|
||||||
</aop:config>
|
</aop:config>
|
||||||
|
|
||||||
<!--advisor-->
|
<!--advisor-->
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
|
|
||||||
<!--annotation configuration -->
|
<!--annotation configuration -->
|
||||||
<context:annotation-config/>
|
<context:annotation-config/>
|
||||||
<context:component-scan base-package="cc.wdcy.web"/>
|
<context:component-scan base-package="com.monkeyk.sos.web"/>
|
||||||
|
|
||||||
<!--static resource-->
|
<!--static resource-->
|
||||||
<mvc:resources mapping="/index.jsp*" location="/index.jsp"/>
|
<mvc:resources mapping="/index.jsp*" location="/index.jsp"/>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package cc.wdcy;
|
package com.monkeyk.sos;
|
||||||
|
|
||||||
import org.springframework.test.context.ContextConfiguration;
|
import org.springframework.test.context.ContextConfiguration;
|
||||||
import org.springframework.test.context.testng.AbstractTransactionalTestNGSpringContextTests;
|
import org.springframework.test.context.testng.AbstractTransactionalTestNGSpringContextTests;
|
|
@ -1,4 +1,4 @@
|
||||||
package cc.wdcy;
|
package com.monkeyk.sos;
|
||||||
|
|
||||||
import org.springframework.beans.factory.config.PropertyPlaceholderConfigurer;
|
import org.springframework.beans.factory.config.PropertyPlaceholderConfigurer;
|
||||||
import org.springframework.context.ApplicationContextInitializer;
|
import org.springframework.context.ApplicationContextInitializer;
|
|
@ -1,6 +1,6 @@
|
||||||
package cc.wdcy.infrastructure;
|
package com.monkeyk.sos.infrastructure;
|
||||||
|
|
||||||
import cc.wdcy.ContextTest;
|
import com.monkeyk.sos.ContextTest;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.jdbc.core.JdbcTemplate;
|
import org.springframework.jdbc.core.JdbcTemplate;
|
||||||
|
|
|
@ -9,12 +9,12 @@
|
||||||
* it only in accordance with the terms of the license agreement you
|
* it only in accordance with the terms of the license agreement you
|
||||||
* entered into with MONKEYK Information Technology Co. Ltd.
|
* entered into with MONKEYK Information Technology Co. Ltd.
|
||||||
*/
|
*/
|
||||||
package cc.wdcy.infrastructure.jdbc;
|
package com.monkeyk.sos.infrastructure.jdbc;
|
||||||
|
|
||||||
import cc.wdcy.domain.oauth.OauthClientDetails;
|
import com.monkeyk.sos.domain.oauth.OauthClientDetails;
|
||||||
import cc.wdcy.domain.oauth.OauthRepository;
|
import com.monkeyk.sos.domain.oauth.OauthRepository;
|
||||||
import cc.wdcy.domain.shared.GuidGenerator;
|
import com.monkeyk.sos.domain.shared.GuidGenerator;
|
||||||
import cc.wdcy.infrastructure.AbstractRepositoryTest;
|
import com.monkeyk.sos.infrastructure.AbstractRepositoryTest;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.testng.annotations.Test;
|
import org.testng.annotations.Test;
|
||||||
|
|
|
@ -9,15 +9,14 @@
|
||||||
* it only in accordance with the terms of the license agreement you
|
* it only in accordance with the terms of the license agreement you
|
||||||
* entered into with MONKEYK Information Technology Co. Ltd.
|
* entered into with MONKEYK Information Technology Co. Ltd.
|
||||||
*/
|
*/
|
||||||
package cc.wdcy.infrastructure.jdbc;
|
package com.monkeyk.sos.infrastructure.jdbc;
|
||||||
|
|
||||||
import cc.wdcy.domain.user.User;
|
import com.monkeyk.sos.domain.user.User;
|
||||||
import cc.wdcy.domain.user.UserRepository;
|
import com.monkeyk.sos.domain.user.UserRepository;
|
||||||
import cc.wdcy.infrastructure.AbstractRepositoryTest;
|
import com.monkeyk.sos.infrastructure.AbstractRepositoryTest;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.testng.annotations.Test;
|
import org.testng.annotations.Test;
|
||||||
|
|
||||||
import static org.testng.Assert.*;
|
|
||||||
import static org.testng.AssertJUnit.assertEquals;
|
import static org.testng.AssertJUnit.assertEquals;
|
||||||
import static org.testng.AssertJUnit.assertNotNull;
|
import static org.testng.AssertJUnit.assertNotNull;
|
||||||
import static org.testng.AssertJUnit.assertNull;
|
import static org.testng.AssertJUnit.assertNull;
|
Loading…
Reference in New Issue