public class StaticUsernamePasswordCallbackHandler
extends java.lang.Object
implements javax.security.auth.callback.CallbackHandler
Constructor and Description |
---|
StaticUsernamePasswordCallbackHandler() |
Modifier and Type | Method and Description |
---|---|
void |
handle(javax.security.auth.callback.Callback[] callbacks) |
static void |
setPassword(java.lang.String password) |
static void |
setUsername(java.lang.String username) |
public StaticUsernamePasswordCallbackHandler()
public static void setUsername(java.lang.String username)
public static void setPassword(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
java.io.IOException
javax.security.auth.callback.UnsupportedCallbackException