org.mountcloud.springcloud.common.oauth2feigh.EnableOauthResourceServer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spring-cloud-common-oauth-feigh Show documentation
Show all versions of spring-cloud-common-oauth-feigh Show documentation
This project encapsulates the necessary functions of the oauth resource service, and encapsulates the oauth function of the weight client.
The newest version!
package org.mountcloud.springcloud.common.oauth2feigh;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import org.mountcloud.springcloud.common.oauth2feigh.config.OauthResourceServerConfiguration;
import org.springframework.context.annotation.Import;
import org.springframework.security.oauth2.config.annotation.web.configuration.EnableResourceServer;
/**
* @author zhanghaishan
* @version V1.0
*
* TODO: 启用oauth的资源服务
* 2020/1/17.
*/
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Import(OauthResourceServerConfiguration.class)
@EnableResourceServer
public @interface EnableOauthResourceServer {
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy