Class UstraJwtAuthenticationWebSocketConfigurer

java.lang.Object
com.gsitm.ustra.web.socket.config.UstraWebSocketConfigurer
com.gsitm.ustra.java.autoconfigure.security.duplication.websocket.UstraJwtAuthenticationWebSocketConfigurer
All Implemented Interfaces:
org.springframework.beans.factory.FactoryBean<org.springframework.web.socket.config.annotation.WebSocketConfigurer>

public class UstraJwtAuthenticationWebSocketConfigurer extends com.gsitm.ustra.web.socket.config.UstraWebSocketConfigurer
JWT 실시간 중복 확인 Websocket configurer
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected com.gsitm.ustra.java.security.jwt.authentication.processor.UstraJwtAuthenticationProcessor
     
    protected String
     

    Fields inherited from interface org.springframework.beans.factory.FactoryBean

    OBJECT_TYPE_ATTRIBUTE
  • Constructor Summary

    Constructors
    Constructor
    Description
    UstraJwtAuthenticationWebSocketConfigurer(com.gsitm.ustra.java.security.jwt.authentication.processor.UstraJwtAuthenticationProcessor<?,?> processor, String secretKey)
     
    UstraJwtAuthenticationWebSocketConfigurer(com.gsitm.ustra.java.security.jwt.authentication.processor.UstraJwtAuthenticationProcessor<?,?> processor, String secretKey, org.springframework.web.socket.WebSocketHandler webSocketHandler)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected static org.springframework.web.socket.WebSocketHandler
    createDefaultWebSocketHandler(com.gsitm.ustra.java.security.jwt.authentication.processor.UstraJwtAuthenticationProcessor processor, String secretKey)
     
    protected org.springframework.web.socket.server.HandshakeInterceptor[]
    interceptors
    protected boolean
     

    Methods inherited from class com.gsitm.ustra.web.socket.config.UstraWebSocketConfigurer

    allowedOrigins, configureSockJsServiceRegistration, configureWebSocketHandlerRegistration, getObject, getObjectType, getPaths, getWebSocketHandler, handshakeHandler, setHandshakeHandler

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.springframework.beans.factory.FactoryBean

    isSingleton
  • Field Details

    • secretKey

      protected String secretKey
    • processor

      protected com.gsitm.ustra.java.security.jwt.authentication.processor.UstraJwtAuthenticationProcessor processor
  • Constructor Details

    • UstraJwtAuthenticationWebSocketConfigurer

      public UstraJwtAuthenticationWebSocketConfigurer(com.gsitm.ustra.java.security.jwt.authentication.processor.UstraJwtAuthenticationProcessor<?,?> processor, String secretKey)
    • UstraJwtAuthenticationWebSocketConfigurer

      public UstraJwtAuthenticationWebSocketConfigurer(com.gsitm.ustra.java.security.jwt.authentication.processor.UstraJwtAuthenticationProcessor<?,?> processor, String secretKey, org.springframework.web.socket.WebSocketHandler webSocketHandler)
  • Method Details

    • createDefaultWebSocketHandler

      protected static org.springframework.web.socket.WebSocketHandler createDefaultWebSocketHandler(com.gsitm.ustra.java.security.jwt.authentication.processor.UstraJwtAuthenticationProcessor processor, String secretKey)
    • socketJs

      protected boolean socketJs()
      Overrides:
      socketJs in class com.gsitm.ustra.web.socket.config.UstraWebSocketConfigurer
    • interceptors

      protected org.springframework.web.socket.server.HandshakeInterceptor[] interceptors()
      interceptors
      Overrides:
      interceptors in class com.gsitm.ustra.web.socket.config.UstraWebSocketConfigurer
      Returns: