|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - Type of credential read by this instance.public interface CredentialReader<T>
Reads a credential from an IO source.
| Method Summary | |
|---|---|
T |
read(InputStream is,
String... params)
Reads a credential object from an input stream. |
T |
read(String path,
String... params)
Reads a credential object from a path. |
| Method Detail |
|---|
T read(String path,
String... params)
throws IOException,
GeneralSecurityException
path - Path from which to read credential.params - Arbitrary string parameters, e.g. password, needed to read
the credential.
IOException - On IO errors.
GeneralSecurityException - On errors with the credential data.
T read(InputStream is,
String... params)
throws IOException,
GeneralSecurityException
is - Input stream from which to read credential.params - Arbitrary string parameters, e.g. password, needed to read
the credential.
IOException - On IO errors.
GeneralSecurityException - On errors with the credential data.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||