public class BasicCallbackHandler extends Object implements CallbackHandler
CallbackHandler
. This can be used for PLAIN and CRAM-MD mechanismsConstructor and Description |
---|
BasicCallbackHandler() |
BasicCallbackHandler(String username,
char[] password) |
BasicCallbackHandler(String username,
String realm,
char[] password) |
Modifier and Type | Method and Description |
---|---|
char[] |
getPassword() |
String |
getRealm() |
String |
getUsername() |
void |
handle(Callback[] callbacks) |
public BasicCallbackHandler()
public BasicCallbackHandler(String username, char[] password)
public String getUsername()
public String getRealm()
public char[] getPassword()
public void handle(Callback[] callbacks) throws UnsupportedCallbackException
handle
in interface CallbackHandler
UnsupportedCallbackException
Copyright © 2021 JBoss by Red Hat. All rights reserved.