public static class Krb5TokenUtils.LoginCallbackHandler
extends java.lang.Object
implements javax.security.auth.callback.CallbackHandler
Constructor and Description |
---|
LoginCallbackHandler() |
LoginCallbackHandler(java.lang.String password) |
LoginCallbackHandler(java.lang.String name,
java.lang.String password) |
Modifier and Type | Method and Description |
---|---|
void |
handle(javax.security.auth.callback.Callback[] callbacks)
Handles the callbacks, and sets the user/password detail.
|
public LoginCallbackHandler()
public LoginCallbackHandler(java.lang.String name, java.lang.String password)
public LoginCallbackHandler(java.lang.String password)
public void handle(javax.security.auth.callback.Callback[] callbacks) throws java.io.IOException, javax.security.auth.callback.UnsupportedCallbackException
handle
in interface javax.security.auth.callback.CallbackHandler
callbacks
- the callbacks to handlejava.io.IOException
- if an input or output error occurs.javax.security.auth.callback.UnsupportedCallbackException
Copyright © 1998-2020 Red Hat. All Rights Reserved.