You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
751 B
26 lines
751 B
package com.fr.plugin.xxxx.auth; |
|
|
|
import com.fr.decision.fun.HttpHandler; |
|
import com.fr.decision.fun.impl.AbstractHttpHandlerProvider; |
|
import com.fr.plugin.xxxx.auth.handler.*; |
|
import com.fr.plugin.transform.FunctionRecorder; |
|
import com.fr.stable.fun.Authorize; |
|
|
|
/** |
|
* @author fr.open |
|
* @since 2021/07/28 |
|
*/ |
|
@FunctionRecorder |
|
@Authorize(callSignKey = Constants.PLUGIN_ID) |
|
public class RequestHandlerBridge extends AbstractHttpHandlerProvider { |
|
@Override |
|
public HttpHandler[] registerHandlers() { |
|
return new HttpHandler[]{ |
|
new CptListHandler(), |
|
new AddRoleHandler(), |
|
new DelRoleHandler(), |
|
new EditRoleHandler(), |
|
new AddUserHandler(), |
|
}; |
|
} |
|
}
|
|
|