Package de.xima.fc.dao.utils
Class ClientDescriptorDaoHelper
- java.lang.Object
-
- de.xima.fc.dao.utils.ClientDescriptorDaoHelper
-
public class ClientDescriptorDaoHelper extends Object
Helper class for working withauthentication clients
within the DAO.- Since:
- 8.2.0
- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IAuthenticator<?>
getAuthenticator(IEntityContext ec, UUID callbackUuid)
Returns theauthentictor
for the given callback UUID.static IClientDescriptor
getClient(IEntityContext ec, String clientName)
Returns theclient
for the given client name.
-
-
-
Method Detail
-
getClient
@Nullable public static IClientDescriptor getClient(IEntityContext ec, String clientName)
Returns theclient
for the given client name.- Parameters:
ec
- Current entity context for accessing the database.clientName
- to get client descriptor for- Returns:
- the client for the given client name if available or
null
if none was found - Since:
- 8.2.0
-
getAuthenticator
public static IAuthenticator<?> getAuthenticator(IEntityContext ec, UUID callbackUuid)
Returns theauthentictor
for the given callback UUID.- Parameters:
ec
- entity context for database transactions.callbackUuid
- callback UUID of the authenticator.- Returns:
- the authenticator with the given callback UUID or
null
if none was found.
-
-