Package org.openjdk.jmc.common.security
Class InMemoryCredentials
java.lang.Object
org.openjdk.jmc.common.security.InMemoryCredentials
- All Implemented Interfaces:
ICredentials
Credentials only stored in memory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription
-
Constructor Details
-
InMemoryCredentials
-
-
Method Details
-
getUsername
- Specified by:
getUsername
in interfaceICredentials
- Returns:
- the username
-
getPassword
- Specified by:
getPassword
in interfaceICredentials
- Returns:
- the password
-
getExportedId
- Specified by:
getExportedId
in interfaceICredentials
- Returns:
- the id of the exported credentials, or null if the object is not exported.
-