Class ClientDescriptorDaoHelper


  • public class ClientDescriptorDaoHelper
    extends Object
    Helper class for working with authentication clients within the DAO.
    Since:
    8.2.0
    Author:
    XIMA MEDIA GmbH
    • Method Detail

      • getClient

        @Nullable
        public static IClientDescriptor getClient​(IEntityContext ec,
                                                  String clientName)
        Returns the client 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 the authentictor 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.