Interface CredentialEntry
- All Known Implementing Classes:
PasswordEntry
public interface CredentialEntry
Entry within the
CredentialStore.- Author:
- Daniel Sagenschneider
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]Retrieves the credentials.Retrieves the roles.
-
Method Details
-
retrieveCredentials
Retrieves the credentials.
The actual credentials are particular to the authentication scheme:
Basic: clear text password (Charsetbeing US_ASCII)Digest: encrypted "username:realm:password" as per the algorithm. For example, if the algorithm were MD5 then the following command would produce the appropriate value (Charsetbeing US_ASCII):echo -n "username:realm:password" | md5sumNegotiate: as necessary for authentication
- Returns:
- Value as per above description.
- Throws:
HttpException- If fails to retrieve the credentials.
-
retrieveRoles
Retrieves the roles.- Returns:
Setof roles.- Throws:
HttpException- If fails to retrieve the roles.
-