2.0 架构调整
2.0 架构调整
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
package com.jiscuss;
|
||||
|
||||
import com.jiscuss.dso.AuthProcessorImpl;
|
||||
import org.noear.solon.annotation.Bean;
|
||||
import org.noear.solon.annotation.Configuration;
|
||||
import org.noear.solon.auth.AuthUtil;
|
||||
|
||||
/**
|
||||
* @author cyy 2023/7/12 created
|
||||
*/
|
||||
@Configuration
|
||||
public class Config {
|
||||
@Bean
|
||||
public void authAdapter(){
|
||||
AuthUtil.adapter()
|
||||
.processor(new AuthProcessorImpl());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user