Package org.jgroups.auth
Class Krb5TokenUtils.LoginCallbackHandler
- java.lang.Object
-
- org.jgroups.auth.Krb5TokenUtils.LoginCallbackHandler
-
- All Implemented Interfaces:
javax.security.auth.callback.CallbackHandler
- Enclosing class:
- Krb5TokenUtils
public static class Krb5TokenUtils.LoginCallbackHandler extends java.lang.Object implements javax.security.auth.callback.CallbackHandler
-
-
Constructor Summary
Constructors Constructor Description LoginCallbackHandler()
LoginCallbackHandler(java.lang.String password)
LoginCallbackHandler(java.lang.String name, java.lang.String password)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
handle(javax.security.auth.callback.Callback[] callbacks)
Handles the callbacks, and sets the user/password detail.
-
-
-
Method Detail
-
handle
public void handle(javax.security.auth.callback.Callback[] callbacks) throws java.io.IOException, javax.security.auth.callback.UnsupportedCallbackException
Handles the callbacks, and sets the user/password detail.- Specified by:
handle
in interfacejavax.security.auth.callback.CallbackHandler
- Parameters:
callbacks
- the callbacks to handle- Throws:
java.io.IOException
- if an input or output error occurs.javax.security.auth.callback.UnsupportedCallbackException
-
-