Package com.spotfire.server.security
Class WebAuthProviderDescription
java.lang.Object
com.spotfire.server.security.WebAuthProviderDescription
Describes a web authentication provider so that it may be displayed on the login page.
- Since:
- 7.8
-
Constructor Summary
ConstructorsConstructorDescriptionWebAuthProviderDescription
(String label, String providerName, String color) Creates a new instance. -
Method Summary
-
Constructor Details
-
WebAuthProviderDescription
Creates a new instance.- Parameters:
label
- the label to be displayed on the login page, must not benull
providerName
- the name of the provider, will be passed to the authenticator when retrieving the authentication endpoint URL, must not benull
color
- the background color of the button on the login page, may benull
in which case a default color will be used- Since:
- 7.8
- See Also:
-
-
Method Details
-
getLabel
Returns the label to be shown on the login page.- Returns:
- the label to be shown on the login page
- Since:
- 7.8
-
getProviderName
Returns the name of the provider. This value will be passed to the authenticator when retrieving the authentication endpoint URL, it will not be shown to end-users.- Returns:
- the name of the provider
- Since:
- 7.8
- See Also:
-
getColor
Returns the CSS color to use as background color of the button on the login page, ornull
if the default color should be used.- Returns:
- the CSS color to use as background color of the button on the login page, or
null
if the default color should be used - Since:
- 7.8
-