public class UsernameHashedPasswordCallbackHandler extends Object implements CallbackHandler
Constructor and Description |
---|
UsernameHashedPasswordCallbackHandler(String user,
String password) |
Modifier and Type | Method and Description |
---|---|
protected void |
finalize() |
static char[] |
getHash(String text) |
void |
handle(Callback[] callbacks) |
public void handle(Callback[] callbacks) throws IOException, UnsupportedCallbackException
handle
in interface CallbackHandler
IOException
UnsupportedCallbackException
protected void finalize() throws Throwable
public static char[] getHash(String text) throws NoSuchAlgorithmException, UnsupportedEncodingException
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.