Package com.mikuac.shiro.boot
Class Shiro
java.lang.Object
com.mikuac.shiro.boot.Shiro
Created on 2021/7/16.
-
Constructor Summary
ConstructorsConstructorDescriptionShiro(WebSocketProperties wsProp, BotFactory botFactory, EventHandler eventHandler, ActionHandler actionHandler, ShiroAsyncTask shiroAsyncTask, BotContainer botContainer, CoreEvent coreEvent, ScheduledTask scheduledTask, ShiroProperties shiroProps, org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor shiroTaskExecutor) -
Method Summary
Modifier and TypeMethodDescription
-
Constructor Details
-
Shiro
@Autowired public Shiro(WebSocketProperties wsProp, BotFactory botFactory, EventHandler eventHandler, ActionHandler actionHandler, ShiroAsyncTask shiroAsyncTask, BotContainer botContainer, CoreEvent coreEvent, ScheduledTask scheduledTask, ShiroProperties shiroProps, @Qualifier("shiroTaskExecutor") org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor shiroTaskExecutor)
-
-
Method Details
-
webSocketServerHandler
@Bean @ConditionalOnMissingBean @ConditionalOnProperty(value="shiro.ws.server.enable", havingValue="true") public WebSocketServerHandler webSocketServerHandler() -
webSocketClientHandler
@Bean @ConditionalOnMissingBean @ConditionalOnProperty(value="shiro.ws.client.enable", havingValue="true") public WebSocketClientHandler webSocketClientHandler()
-