Class EnvironmentVariablePasswordProvider
- java.lang.Object
-
- org.apache.sling.commons.crypto.internal.EnvironmentVariablePasswordProvider
-
- All Implemented Interfaces:
PasswordProvider
public final class EnvironmentVariablePasswordProvider extends Object implements PasswordProvider
Provider of passwords from environment variables.- See Also:
System.getenv(String)
-
-
Constructor Summary
Constructors Constructor Description EnvironmentVariablePasswordProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description char @NotNull []
getPassword()
Provides the password.
-
-
-
Method Detail
-
getPassword
public char @NotNull [] getPassword()
Description copied from interface:PasswordProvider
Provides the password.- Specified by:
getPassword
in interfacePasswordProvider
- Returns:
- The password
-
-