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 Details

    • ShiroAutoConfiguration

      public ShiroAutoConfiguration()
  • Method Details

    • setWebSocketProperties

      @Autowired public void setWebSocketProperties(WebSocketProperties webSocketProperties)
    • setShiroProperties

      @Autowired public void setShiroProperties(ShiroProperties shiroProperties)
    • setWebSocketHandler

      @Autowired public void setWebSocketHandler(WebSocketHandler webSocketHandler)
    • registerWebSocketHandlers

      public void registerWebSocketHandlers(org.springframework.web.socket.config.annotation.WebSocketHandlerRegistry registry)
      Specified by:
      registerWebSocketHandlers in interface org.springframework.web.socket.config.annotation.WebSocketConfigurer