Interface CredentialsFieldManager


public interface CredentialsFieldManager
Implement this one to manage and return extended credentials.
  • Method Details

    • getCredentialsComponents

      java.util.List<CredentialsComponent> getCredentialsComponents()
      Returns a list of CredentialsComponent objects so they can be further managed by Bookmap.
    • isConfigured

      boolean isConfigured​(java.util.Map<java.lang.String,​CredentialsSerializationField> values)
      Returns true if credentials are configured, false if not (e.g. if login or password are blank the credentials and, consequently, the connection may be considered not configured). Criteria are up to the developer.
      Parameters:
      values - values of the fields that need to be checked. Those will normally be from the components provided in getCredentialsComponents(), but you are still encouraged to check values from this parameter instead of storing the returned components