Package alluxio.security.authentication
Interface SaslClientHandler
-
- All Superinterfaces:
java.lang.AutoCloseable
- All Known Implementing Classes:
AbstractSaslClientHandler
,SaslClientHandlerPlain
public interface SaslClientHandler extends java.lang.AutoCloseable
Interface for authentication scheme specificSaslClient
management.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
close()
Close the handler and dispose internal resources.alluxio.grpc.SaslMessage
handleMessage(alluxio.grpc.SaslMessage message)
Handles the givenSaslMessage
from the server.
-
-
-
Method Detail
-
handleMessage
alluxio.grpc.SaslMessage handleMessage(alluxio.grpc.SaslMessage message) throws javax.security.sasl.SaslException
Handles the givenSaslMessage
from the server.- Parameters:
message
- server-side Sasl message to handle- Returns:
- client's answer. null if client is completed
- Throws:
javax.security.sasl.SaslException
-
close
void close()
Close the handler and dispose internal resources.- Specified by:
close
in interfacejava.lang.AutoCloseable
-
-