Interface CredentialsProvider
-
public interface CredentialsProvider
A credentials provider converts a credential identifier to aCredentials
object that contains a username and a password.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Credentials
getCredentials(String id)
Returns theCredentials
object corresponding to the given id.
-
-
-
Method Detail
-
getCredentials
Credentials getCredentials(String id)
Returns theCredentials
object corresponding to the given id.- Parameters:
id
- The id of the requested credentials.- Returns:
- The credentials or
null
when they could not be determined.
-
-