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