public class PlainPasswordCallback extends PasswordCallback
Constructor and Description |
---|
PlainPasswordCallback(String prompt,
boolean echoOn,
String plainPassword)
Constructs a new PlainPasswordCallback with the incoming plain text password.
|
Modifier and Type | Method and Description |
---|---|
String |
getPlainPassword() |
boolean |
isAuthenticated()
Method to determine if the incoming plain password is authenticated
|
void |
setAuthenticated(boolean authenticated) |
clearPassword, getPassword, getPrompt, isEchoOn, setPassword
public PlainPasswordCallback(String prompt, boolean echoOn, String plainPassword)
NullPointerException
- if the incoming plain text is nullpublic String getPlainPassword()
public void setAuthenticated(boolean authenticated)
public boolean isAuthenticated()
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.