Class ClientDescriptorHelper


  • public class ClientDescriptorHelper
    extends Object
    Helper for retrieving client descriptors for a context.
    Since:
    8.0.0
    Author:
    XIMA Media GmbH
    • Method Detail

      • getBackendClientDescriptors

        public static List<IClientDescriptor> getBackendClientDescriptors​(IEntityContext ec)
        Finds all active client descriptors that are configured for the backend in order. Clients with credentials authenticators are at the beginning of the list.
        Parameters:
        ec - entity context for accessing the database.
        Returns:
        ordered list of all active client descriptors configured for the backend.
        Since:
        8.0.0
      • isActive

        public static boolean isActive​(IClientDescriptor descriptor)
        Checks if the given client descriptor is active (and valid).
        Parameters:
        descriptor - to check
        Returns:
        true if the descriptor is active and valid