Package com.tangosol.net
Interface PasswordProvider
- 
- All Known Implementing Classes:
 InputStreamPasswordProvider,PasswordProviderBuilderProcessor.DefaultPasswordProvider,URLPasswordProvider
public interface PasswordProviderPasswordProvider allows Coherence users to plug in their own mechanism to determine the appropriate password.- Since:
 - 12.2.1.4
 - Author:
 - spuneet
 
 
- 
- 
Field Summary
Fields Modifier and Type Field Description static PasswordProviderNullImplementationA singleton implementation of aPasswordProviderthat always returns an empty array. 
- 
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description char[]get()Returns the password to be used in clear format.static voidreset(char[]... arrays)Resets the contents of a password array 
 - 
 
- 
- 
Field Detail
- 
NullImplementation
static final PasswordProvider NullImplementation
A singleton implementation of aPasswordProviderthat always returns an empty array. 
 - 
 
- 
Method Detail
- 
get
char[] get()
Returns the password to be used in clear format. The char[] returned from the get() method is not retained by the provider, and it is expected that the consumer zero's out the array once it is done with the password.- Returns:
 - password as char[]
 
 
- 
reset
static void reset(char[]... arrays)
Resets the contents of a password array- Parameters:
 arrays- an array of character arrays to reset
 
 - 
 
 -