public class SessionServiceHandler extends ServiceHandler
stringTable| Constructor and Description |
|---|
SessionServiceHandler(SessionManager sessionManager) |
checkRequestLength, fireRequestResponse, getEncoderContext, getMaxOperationsPerRequest, getNode, getNodeManagerTable, getOperationLimits, getServer, getSessionManager, handleServiceResultException, hasNode, localizationHintsForServiceContext, setMaxOperationsPerRequest, setRequestListener, setRequestResponseListener, toExtensionObject, validateOperationalDiagnostics, validateRequest, validateRequest, validateResponse, validateResponse, validateServiceDiagnosticspublic SessionServiceHandler(SessionManager sessionManager)
public int getMinServerNonceLength()
public final void onActivateSession(EndpointServiceRequest<ActivateSessionRequest,ActivateSessionResponse> req) throws ServiceFaultException
ServiceFaultExceptionpublic final void onCancel(EndpointServiceRequest<CancelRequest,CancelResponse> req) throws ServiceFaultException
ServiceFaultExceptionpublic final void onCloseSession(EndpointServiceRequest<CloseSessionRequest,CloseSessionResponse> req) throws ServiceFaultException
ServiceFaultExceptionpublic final void onCreateSession(EndpointServiceRequest<CreateSessionRequest,CreateSessionResponse> req) throws ServiceFaultException
ServiceFaultExceptionpublic void setMinServerNonceLength(int minServerNonceLength)
protected ServiceContext createServiceContext(RequestHeader requestHeader, ServiceRequest<?> request) throws ServiceException
ServiceHandlerRequestHeader.getAuthenticationToken(). Note
that when the ServiceRequest is CreateSessionRequest, this method returns a
ServiceContext whose Session is null, as the Session doesn't exist until the request is
handled.createServiceContext in class ServiceHandlerrequestHeader - The session token used to identity the session during communicationsrequest - The service request from which the requestHeader isServiceException - If the serviceContext is not found, StatusCode = Bad_SessionIdInvalidprotected ServiceContext createServiceContextAfterCreateSession(Session session, RequestHeader requestHeader, CreateSessionRequest request)
ServiceContext after CreateSessionRequest handling has reached a point
where the Session has been created. This is used e.g. for
RequestResponseListener. The
createServiceContext(RequestHeader, ServiceRequest) is used for CreateSession until
this has been called (and has null ServiceContext.getSession()).protected org.slf4j.Logger getLogger()
getLogger in class ServiceHandlerCopyright © 2026. All rights reserved.