public final class DefaultAuthConfigurationProvider extends Object implements AuthConfigurationProvider
AuthConfigurationProvider that reads from a standard properties file located within the
classpath.| Constructor and Description |
|---|
DefaultAuthConfigurationProvider()
Initializing constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getApplicationId()
Get the application id associated to the client credentials.
|
URL |
getAuthServiceBaseUrl()
Get the authorization service base URL.
|
String |
getClientId()
Get the client id.
|
String |
getClientSecret()
Get the client secret.
|
protected Properties |
getProperties()
Gets the properties loaded by this loader.
|
protected String |
getPropertyFileName()
Returns the name of the property file to load.
|
public DefaultAuthConfigurationProvider()
@Nullable public String getApplicationId()
getApplicationId in interface AuthConfigurationProvider@Nonnull @NotEmpty public String getClientId()
getClientId in interface AuthConfigurationProvider@Nonnull @NotEmpty public String getClientSecret()
getClientSecret in interface AuthConfigurationProvider@Nonnull public URL getAuthServiceBaseUrl()
getAuthServiceBaseUrl in interface AuthConfigurationProvider@Nonnull @NotEmpty protected String getPropertyFileName()
protected final Properties getProperties()
Copyright © 2015 Covisint. All rights reserved.