Class BasicCallbackHandler
java.lang.Object
org.infinispan.client.hotrod.security.BasicCallbackHandler
- All Implemented Interfaces:
CallbackHandler
A basic
CallbackHandler
. This can be used for PLAIN and CRAM-MD mechanisms- Since:
- 9.0
- Author:
- Tristan Tarrant
-
Constructor Summary
ConstructorDescriptionBasicCallbackHandler
(String username, char[] password) BasicCallbackHandler
(String username, String realm, char[] password) -
Method Summary
-
Constructor Details
-
BasicCallbackHandler
public BasicCallbackHandler() -
BasicCallbackHandler
-
BasicCallbackHandler
-
-
Method Details
-
getUsername
-
getRealm
-
getPassword
public char[] getPassword() -
handle
- Specified by:
handle
in interfaceCallbackHandler
- Throws:
UnsupportedCallbackException
-