Package com.mikuac.shiro.boot
Class ShiroAutoConfiguration
java.lang.Object
com.mikuac.shiro.boot.ShiroAutoConfiguration
- All Implemented Interfaces:
org.springframework.web.socket.config.annotation.WebSocketConfigurer
@Component
@EnableAsync
@EnableWebSocket
@Import(Shiro.class)
@ComponentScan("com.mikuac.shiro")
public class ShiroAutoConfiguration
extends Object
implements org.springframework.web.socket.config.annotation.WebSocketConfigurer
Created on 2021/7/15.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidregisterWebSocketHandlers(org.springframework.web.socket.config.annotation.WebSocketHandlerRegistry registry) voidsetShiroProperties(ShiroProperties shiroProperties) voidsetWebSocketHandler(WebSocketHandler webSocketHandler) voidsetWebSocketProperties(WebSocketProperties webSocketProperties)
-
Constructor Details
-
ShiroAutoConfiguration
public ShiroAutoConfiguration()
-
-
Method Details
-
setWebSocketProperties
-
setShiroProperties
-
setWebSocketHandler
-
registerWebSocketHandlers
public void registerWebSocketHandlers(org.springframework.web.socket.config.annotation.WebSocketHandlerRegistry registry) - Specified by:
registerWebSocketHandlersin interfaceorg.springframework.web.socket.config.annotation.WebSocketConfigurer
-