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 clientswithin 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 theauthentictorfor the given callback UUID.static IClientDescriptorgetClient(IEntityContext ec, String clientName)Returns theclientfor the given client name.
-
-
-
Method Detail
-
getClient
@Nullable public static IClientDescriptor getClient(IEntityContext ec, String clientName)
Returns theclientfor 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
nullif none was found - Since:
- 8.2.0
-
getAuthenticator
public static IAuthenticator<?> getAuthenticator(IEntityContext ec, UUID callbackUuid)
Returns theauthentictorfor 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
nullif none was found.
-
-