All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.mountcloud.springcloud.common.oauth2feigh.EnableOauthResourceServer Maven / Gradle / Ivy

Go to download

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