public class AuthenticationDescription
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
AuthenticationDescription.BasicSupport
Support types for Basic authentication
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COLOR
The authentication settings property name for the color in the GUI.
|
static java.lang.String |
DISPLAYNAME
The authentication settings property name for the display name in the GUI.
|
static java.lang.String |
DISPLAYNAME_DETAILS
The authentication settings property name for the display details in the GUI.
|
static java.lang.String |
PASSWORD_MINIMUM_LENGTH
The minimum length of the password that has to be set for users created in the product provider
|
static java.lang.String |
PASSWORD_MINIMUM_STRENGTH
The minimum strength of the password that has to be set for users created in the product provider
|
static java.lang.String[] |
PASSWORD_MINIMUM_STRENGTH_VALUES
The allowed values for the password strength
|
static java.lang.String |
PROVIDER
The authentication settings property name for the name of the provider.
|
static java.lang.String |
PROVIDER_PRODUCT
Value of provider property for the one product provider.
|
static java.lang.String |
PROVIDER_SYSTEM
Value of provider property for the one system provider.
|
static java.lang.String |
SYSTEM_LOGINTYPE
The authentication settings property name for the real provider for the "system" provider.
|
static java.lang.String |
SYSTEM_PROVIDER_ACTION
Category and group for the config structure provider for the system authentication provider.
|
static java.lang.String |
USER_CAN_REGISTER
The authentication settings property name for the product provider for the flag if a user can register.
|
Constructor and Description |
---|
AuthenticationDescription(AuthenticationProvider provider,
java.util.HashMap<java.lang.String,java.lang.String> settings,
java.lang.String name,
AuthenticationDescription.BasicSupport basicSupport)
Create a description of the authentication method.
|
Modifier and Type | Method and Description |
---|---|
AuthenticationDescription.BasicSupport |
getBasicSupport()
If this authentication supports basic authentication.
|
java.lang.String |
getColor()
Get the color as hex value, e.g.
|
java.lang.String |
getDisplayName()
Get the display name for this authentication method.
|
java.net.URL |
getIconURL()
Get the Icon resource URL for displaying in the user ui.
|
java.lang.String |
getName()
The unique name of the authentication.
|
AuthenticationProvider |
getProvider()
Get the provider that has generate this description.
|
java.util.HashMap<java.lang.String,java.lang.String> |
getSettings()
Get all the settings in the configuration manager.
|
public static final java.lang.String PROVIDER
public static final java.lang.String DISPLAYNAME
public static final java.lang.String DISPLAYNAME_DETAILS
public static final java.lang.String COLOR
public static final java.lang.String PROVIDER_SYSTEM
public static final java.lang.String PROVIDER_PRODUCT
public static final java.lang.String SYSTEM_PROVIDER_ACTION
public static final java.lang.String SYSTEM_LOGINTYPE
public static final java.lang.String USER_CAN_REGISTER
public static final java.lang.String PASSWORD_MINIMUM_LENGTH
public static final java.lang.String PASSWORD_MINIMUM_STRENGTH
public static final java.lang.String[] PASSWORD_MINIMUM_STRENGTH_VALUES
public AuthenticationDescription(@Nonnull AuthenticationProvider provider, @Nonnull java.util.HashMap<java.lang.String,java.lang.String> settings, @Nonnull java.lang.String name, @Nonnull AuthenticationDescription.BasicSupport basicSupport)
provider
- the creating providersettings
- the settings in the configuration managername
- the unique namebasicSupport
- the type of basic support@Nonnull public AuthenticationProvider getProvider()
@Nonnull public java.util.HashMap<java.lang.String,java.lang.String> getSettings()
public java.lang.String getName()
public java.lang.String getDisplayName()
public java.lang.String getColor()
public java.net.URL getIconURL()
public AuthenticationDescription.BasicSupport getBasicSupport()
Copyright © 1999-2020 by i-net software GmbH