Interface CredentialsProvider


  • public interface CredentialsProvider
    This interface should be implemented by classes that provide mappings between client users and data source (database) users and passwords. An implementation of this class can be specified for property information-services.ds.credentials-provider.
    Since:
    3.0
    • Method Detail

      • getCredentials

        DataSourceCredentials getCredentials​(String dataSource,
                                             String userName,
                                             String domainName)
        Parameters:
        dataSource - A string identifying the data source to authenticate against. When authenticating against a database, this parameter is the connection URL.
        userName - The name of the Spotfire user.
        domainName - The domain name of the Spotfire user.
        Returns:
        The user name and password to use when accessing the data source.
        Since:
        3.0