|
|
@@ -1,5 +1,6 @@
|
|
|
package com.kxs.common.security.annotation;
|
|
|
|
|
|
+import com.kxs.common.security.component.AuthResourceServerConfiguration;
|
|
|
import com.kxs.common.security.component.SkyResourceServerAutoConfiguration;
|
|
|
import com.kxs.common.security.component.SkyResourceServerConfiguration;
|
|
|
import org.springframework.context.annotation.Import;
|
|
|
@@ -18,7 +19,7 @@ import java.lang.annotation.*;
|
|
|
@Inherited
|
|
|
@Target({ ElementType.TYPE })
|
|
|
@Retention(RetentionPolicy.RUNTIME)
|
|
|
-@Import({ SkyResourceServerAutoConfiguration.class, SkyResourceServerConfiguration.class})
|
|
|
+@Import({ SkyResourceServerAutoConfiguration.class, AuthResourceServerConfiguration.class})
|
|
|
public @interface EnableAuthResourceServer {
|
|
|
|
|
|
}
|