Interface CredentialsFieldManager
public interface CredentialsFieldManager
Implement this one to manage and return extended credentials.
-
Method Summary
Modifier and Type Method Description java.util.List<CredentialsComponent>
getCredentialsComponents()
Returns a list ofCredentialsComponent
objects so they can be further managed by Bookmap.boolean
isConfigured(java.util.Map<java.lang.String,CredentialsSerializationField> values)
Returns true if credentials are configured, false if not (e.g.
-
Method Details
-
getCredentialsComponents
java.util.List<CredentialsComponent> getCredentialsComponents()Returns a list ofCredentialsComponent
objects so they can be further managed by Bookmap. -
isConfigured
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 ingetCredentialsComponents()
, but you are still encouraged to check values from this parameter instead of storing the returned components
-