com.spotfire.ws.im.ds.authspi
Interface CredentialsProvider


public interface CredentialsProvider

This interface should be implemented by classes that provide mappings between DecisionSite users and data source (database) users and passwords.


Method Summary
 DataSourceCredentials getCredentials(String dataSource, String userName)
           
 

Method Detail

getCredentials

DataSourceCredentials getCredentials(String dataSource,
                                     String userName)
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 DecisionSite user.
Returns:
The user name and password to use when accessing the data source.


Copyright © 2000-2009 TIBCO Software Inc. All Rights Reserved.