Class EncryptedHttpSessionHandshakeInterceptor
java.lang.Object
org.springframework.web.socket.server.support.HttpSessionHandshakeInterceptor
com.gsitm.ustra.web.socket.interceptors.EncryptedHttpSessionHandshakeInterceptor
- All Implemented Interfaces:
org.springframework.web.socket.server.HandshakeInterceptor
public class EncryptedHttpSessionHandshakeInterceptor
extends org.springframework.web.socket.server.support.HttpSessionHandshakeInterceptor
클라이언트 암호화 연동 인터셉터
-
Field Summary
FieldsFields inherited from class org.springframework.web.socket.server.support.HttpSessionHandshakeInterceptor
HTTP_SESSION_ID_ATTR_NAME -
Constructor Summary
ConstructorsConstructorDescriptionEncryptedHttpSessionHandshakeInterceptor(String parameterKey, String secretKey) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbeforeHandshake(org.springframework.http.server.ServerHttpRequest request, org.springframework.http.server.ServerHttpResponse response, org.springframework.web.socket.WebSocketHandler wsHandler, Map<String, Object> attributes) Methods inherited from class org.springframework.web.socket.server.support.HttpSessionHandshakeInterceptor
afterHandshake, getAttributeNames, isCopyAllAttributes, isCopyHttpSessionId, isCreateSession, setCopyAllAttributes, setCopyHttpSessionId, setCreateSession
-
Field Details
-
CLIENT_IP_ATTRIBUTES_NAME
- See Also:
-
-
Constructor Details
-
EncryptedHttpSessionHandshakeInterceptor
-
-
Method Details
-
beforeHandshake
public boolean beforeHandshake(org.springframework.http.server.ServerHttpRequest request, org.springframework.http.server.ServerHttpResponse response, org.springframework.web.socket.WebSocketHandler wsHandler, Map<String, Object> attributes) throws Exception- Specified by:
beforeHandshakein interfaceorg.springframework.web.socket.server.HandshakeInterceptor- Overrides:
beforeHandshakein classorg.springframework.web.socket.server.support.HttpSessionHandshakeInterceptor- Throws:
Exception
-