Package sk.ipesoft.d2000.d2japi
Interface SpnegoHandler.ResponseHandler
-
- Enclosing interface:
- SpnegoHandler
public static interface SpnegoHandler.ResponseHandler
Handler of single SPNEGO response.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FutureEvent<D2JapiErrorCode>
onFailed(java.lang.Throwable throwable)
Report to the server that SPNEGO exchange has encountered error.void
respondWithToken(byte[] token)
Accepts updated SPNEGO token from the client.
-
-
-
Method Detail
-
respondWithToken
void respondWithToken(byte[] token)
Accepts updated SPNEGO token from the client. Delivers the token to the server.- Parameters:
token
- updated SPNEGO token
-
onFailed
FutureEvent<D2JapiErrorCode> onFailed(java.lang.Throwable throwable)
Report to the server that SPNEGO exchange has encountered error.- Parameters:
throwable
-- Returns:
- asynchronous confirmation of closed communication channel
-
-