Class AuthenticationSettings
- java.lang.Object
-
- com.salesforce.datacloud.jdbc.auth.AuthenticationSettings
-
public abstract class AuthenticationSettings extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static classAuthenticationSettings.Defaultsprotected static classAuthenticationSettings.Keysprotected static classAuthenticationSettings.Messages
-
Constructor Summary
Constructors Modifier Constructor Description protectedAuthenticationSettings(@NonNull Properties properties)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetClientId()StringgetClientSecret()StringgetDataspace()StringgetLoginUrl()intgetMaxRetries()PropertiesgetRelevantProperties()StringgetUserAgent()static booleanhasAll(Properties properties, Set<String> keys)static booleanhasAny(Properties properties)static AuthenticationSettingsof(@NonNull Properties properties)
-
-
-
Constructor Detail
-
AuthenticationSettings
protected AuthenticationSettings(@NonNull @NonNull Properties properties) throws SQLException- Throws:
SQLException
-
-
Method Detail
-
of
public static AuthenticationSettings of(@NonNull @NonNull Properties properties) throws SQLException
- Throws:
SQLException
-
hasAll
public static boolean hasAll(Properties properties, Set<String> keys)
-
hasAny
public static boolean hasAny(Properties properties)
-
getRelevantProperties
public Properties getRelevantProperties()
-
getLoginUrl
public String getLoginUrl()
-
getClientId
public String getClientId()
-
getClientSecret
public String getClientSecret()
-
getDataspace
public String getDataspace()
-
getUserAgent
public String getUserAgent()
-
getMaxRetries
public int getMaxRetries()
-
-