Package org.openjdk.jmc.common.security
Interface ICredentials
- All Known Implementing Classes:
InMemoryCredentials
,PersistentCredentials
public interface ICredentials
An object holding a username and a password.
-
Method Summary
Modifier and TypeMethodDescription
-
Method Details
-
getUsername
- Returns:
- the username
- Throws:
SecurityException
-
getPassword
- Returns:
- the password
- Throws:
SecurityException
-
getExportedId
String getExportedId()- Returns:
- the id of the exported credentials, or null if the object is not exported.
-