public abstract class KrbHandler extends Object
| Constructor and Description |
|---|
KrbHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
handleRequest(KdcRequest kdcRequest,
boolean tryNextKdc)
Handle the kdc request.
|
void |
init(KrbContext context)
Init with krbcontext.
|
void |
onResponseMessage(KdcRequest kdcRequest,
ByteBuffer responseMessage)
Process the response message from kdc.
|
protected abstract void |
sendMessage(KdcRequest kdcRequest,
ByteBuffer requestMessage)
Send message to kdc.
|
public void init(KrbContext context)
context - The krbcontextpublic void handleRequest(KdcRequest kdcRequest, boolean tryNextKdc) throws KrbException
kdcRequest - The kdc requesttryNextKdc - try next kdc or notKrbException - epublic void onResponseMessage(KdcRequest kdcRequest, ByteBuffer responseMessage) throws KrbException
kdcRequest - The kdc requestresponseMessage - The message from kdcKrbException - eprotected abstract void sendMessage(KdcRequest kdcRequest, ByteBuffer requestMessage) throws IOException
kdcRequest - The kdc requestrequestMessage - The request message to kdcIOException - eCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.