public interface CustomConsoleCredentialsProvider extends ConsoleCredentialsProvider
Modifier and Type | Method and Description |
---|---|
java.lang.Class<? extends com.caplin.console.credentials.editor.CredentialsEditor> |
getEditorClass()
Returns the
Class that should be used for editing this type of credentials provider. |
java.util.Map<java.lang.String,java.lang.String> |
getProperties()
Saves this
CustomConsoleCredentialsProvider to the returned Map . |
void |
setProperties(java.util.Map<java.lang.String,java.lang.String> properties)
Loads this
CustomConsoleCredentialsProvider with the values in the parameter Map . |
getCredentials, init
java.util.Map<java.lang.String,java.lang.String> getProperties()
CustomConsoleCredentialsProvider
to the returned Map
. The Map
will be saved to persistent storage so that is may be restored at configuration time, when the application is started up.CustomConsoleCredentialsProvider
instance.void setProperties(java.util.Map<java.lang.String,java.lang.String> properties)
CustomConsoleCredentialsProvider
with the values in the parameter Map
.
This method is called at configuration time to restore an exising CustomConsoleCredentialsProvider
properties
- A map of attributes, retrieved from persistent storage, that contain the variables used by this
CustomConsoleCredentialsProvider
instance.java.lang.Class<? extends com.caplin.console.credentials.editor.CredentialsEditor> getEditorClass()
Class
that should be used for editing this type of credentials provider. The class must
implement the CredentialsEditor
interface and have a zero-argument constructor.CustomConsoleCredentialsProvider
type.Please send bug reports and comments to Caplin support