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