Class TSLValidationJob


  • public class TSLValidationJob
    extends Object
    This class is job class which allows to launch TSL loading/parsing/validation. An instance of this class can be injected in a Spring quartz job.
    • Constructor Detail

      • TSLValidationJob

        public TSLValidationJob()
    • Method Detail

      • setExecutorService

        public void setExecutorService​(ExecutorService executorService)
      • setDataLoader

        public void setDataLoader​(DataLoader dataLoader)
      • setRepository

        public void setRepository​(TSLRepository repository)
      • setLotlCode

        public void setLotlCode​(String lotlCode)
        This method allows to set the LOTL country code
        Parameters:
        lotlCode - the country code (EU in European Union)
      • setLotlUrl

        public void setLotlUrl​(String lotlUrl)
        This method allows to set the LOTL URL
        Parameters:
        lotlUrl - the LOTL Url
      • setOjUrl

        public void setOjUrl​(String ojurl)
        This method allows to set the current used Official Journal URL (where the trusted certificates are listed)
        Parameters:
        ojurl - the Official Journal URL
      • setCheckLOTLSignature

        public void setCheckLOTLSignature​(boolean checkLOTLSignature)
      • setCheckTSLSignatures

        public void setCheckTSLSignatures​(boolean checkTSLSignatures)
      • setFilterTerritories

        public void setFilterTerritories​(List<String> filterTerritories)
      • setOtherTrustedLists

        public void setOtherTrustedLists​(List<OtherTrustedList> otherTrustedLists)
        This parameter allows to add non EU trusted lists.
        Parameters:
        otherTrustedLists - a list of additional trusted lists to be supported
      • initRepository

        public void initRepository()
      • refresh

        public void refresh()