public interface ConsoleCredentialsProvider
Modifier and Type | Method and Description |
---|---|
Credentials |
getCredentials()
Get the credentials required to access a Caplin product's JMX server.
|
void |
init(java.awt.Component parent,
ConsoleCredentialsInitialisationListener initialisationListener)
Called when the Caplin Management Console starts up - do any required startup items here, such as
verifying users' credentials etc.
|
void init(java.awt.Component parent, ConsoleCredentialsInitialisationListener initialisationListener)
ConsoleCredentialsInitialisationListener
to indicate whether initialisation was successful or the Console will not finish loading.parent
- the java.awt.Component
that should be used as the parent (for obtaining a GraphicsConfiguration
or for centering purposes) if any child dialog boxes need to be created (for example, to show a login UI).initialisationListener
- the ConsoleCredentialsInitialisationListener
to call back on when
initialisation is complete.Credentials getCredentials() throws com.caplin.credentials.CredentialsException
com.caplin.credentials.CredentialsException
- if there is a problem retrieving / validating the user or credentialsPlease send bug reports and comments to Caplin support