Class SalesforceBasicAuthenticator

java.lang.Object
io.trino.plugin.password.salesforce.SalesforceBasicAuthenticator
All Implemented Interfaces:
PasswordAuthenticator

public class SalesforceBasicAuthenticator extends Object implements PasswordAuthenticator
Allows users to authenticate to Presto using their Salesforce username and password + security token concatenation. You can learn about the Salesforce security token at https://help.salesforce.com/articleView?id=user_security_token.htm.

If your password is foo and token is bar, then your Presto password will be foobar.

Admins can configure one or more Salesforce Organization Ids (18 char) via salesforce.org in password-authenticator.properties to act as a single layer of authZ. Essentially, if the user who logs in is not part of the configured org, their access will be denied. Alternatively, the admin can specify "all", rather than actual orgs. This will allow any authenticated Salesforce user access to Presto.