|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PasswordFinder
Services requests for plaintext passwords.
Method Summary | |
---|---|
char[] |
reqPassword(Resource<?> resource)
Request password for specified resource. |
boolean |
shouldRetry(Resource<?> resource)
If password turns out to be incorrect, indicates whether another call to reqPassword(Resource) should be
made. |
Method Detail |
---|
char[] reqPassword(Resource<?> resource)
null
when the request cannot be serviced, e.g. when the user cancels a password
prompt.
resource
- the resource for which password is being requested
null
boolean shouldRetry(Resource<?> resource)
reqPassword(Resource)
should be
made.
This method is geared at interactive implementations, and stub implementations may simply return false
.
resource
- the resource for which password is being requested
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |