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
FieldsModifier and TypeFieldDescriptionprotected com.gsitm.ustra.java.security.jwt.authentication.processor.UstraJwtAuthenticationProcessorprotected StringFields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE -
Constructor Summary
ConstructorsConstructorDescriptionUstraJwtAuthenticationWebSocketConfigurer(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 TypeMethodDescriptionprotected static org.springframework.web.socket.WebSocketHandlercreateDefaultWebSocketHandler(com.gsitm.ustra.java.security.jwt.authentication.processor.UstraJwtAuthenticationProcessor processor, String secretKey) protected org.springframework.web.socket.server.HandshakeInterceptor[]interceptorsprotected booleansocketJs()Methods inherited from class com.gsitm.ustra.web.socket.config.UstraWebSocketConfigurer
allowedOrigins, configureSockJsServiceRegistration, configureWebSocketHandlerRegistration, getObject, getObjectType, getPaths, getWebSocketHandler, handshakeHandler, setHandshakeHandlerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.beans.factory.FactoryBean
isSingleton
-
Field Details
-
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:
socketJsin classcom.gsitm.ustra.web.socket.config.UstraWebSocketConfigurer
-
interceptors
protected org.springframework.web.socket.server.HandshakeInterceptor[] interceptors()interceptors- Overrides:
interceptorsin classcom.gsitm.ustra.web.socket.config.UstraWebSocketConfigurer- Returns:
-