Package de.xima.fc.interfaces.auth
Interface IClientDescriptor
- All Superinterfaces:
Serializable
Common interface describing an authentication client. Client descriptors are used for creating security clients used
for authentication & authorization. Implementations must implement
hashCode()
& equals(Object)
.- Since:
- 8.0.0
- Author:
- XIMA Media GmbH
-
Method Summary
Modifier and TypeMethodDescriptionReturns the authenticator entity of the client that provides the properties for the client.default String
A String identifying this client within its scope.default String
Returns the name of the client which is the callback UUID of theentity authenticator
or the name of thetype authenticator
.default String
A string representing the scope of the client.default String
getDisplayName
(Locale locale) default String
@NotNull EAuthClientType
getType()
-
Method Details
-
getType
- Returns:
- the authenticator / client type.
-
getAuthenticator
Returns the authenticator entity of the client that provides the properties for the client. Not all clients need an authenticator to be defined. SeeEAuthClientType.isNeedsAuthenticatorEntity()
which clients require an entity authenticator.- Returns:
- the entity authenticator that provides the properties of the client.
-
getParameters
Map<String,Serializable> getParameters()- Returns:
- Additional parameters that may be required to define a client.
-
getClientIdentifier
A String identifying this client within its scope. Should always be used in conjunction with itsscope
!- Returns:
- the identifier of the client.
-
getClientScope
A string representing the scope of the client.ClientAuthenticator
s have the FC clientUUID
as scope andSystemAuthenticator
s andtype authenticators
haveSYSTEM
as scope.- Returns:
- scope of the client.
-
getClientName
Returns the name of the client which is the callback UUID of theentity authenticator
or the name of thetype authenticator
.- Returns:
- the name of the client.
-
getDisplayName
- Parameters:
locale
- to determine the display name for.- Returns:
- The display name of the client for the given locale.
-
getI18nAuthBtnTextPlaceholder
- Returns:
- the I18N variable placeholder that will be used for the label of the authentication button.
-