|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectde.intarsys.tools.authenticate.ConstantPasswordProvider
public class ConstantPasswordProvider
A simple IPasswordProvider to return a constant value.
| Constructor Summary | |
|---|---|
ConstantPasswordProvider(char[] password)
|
|
| Method Summary | |
|---|---|
char[] |
getPassword()
Returns a password or null to indicate cancellation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConstantPasswordProvider(char[] password)
| Method Detail |
|---|
public char[] getPassword()
IPasswordProviderYou should be prepared that requesting the password twice will return an empty array or null, as the provider may null out the object for security reasons.
getPassword in interface IPasswordProvider
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||