Class UinGeneratorImpl

  • All Implemented Interfaces:
    UinGenerator

    @Component
    public class UinGeneratorImpl
    extends Object
    implements UinGenerator
    This class generates a list of uins
    Since:
    1.0.0
    Author:
    Dharmesh Khandelwal
    • Constructor Detail

      • UinGeneratorImpl

        public UinGeneratorImpl​(@Value("${mosip.kernel.uin.uins-to-generate}")
                                long uinsCount,
                                @Value("${mosip.kernel.uin.length}")
                                int uinLength)
        Constructor to set uinsCount and uinLength
        Parameters:
        uinsCount - The number of uins to generate
        uinLength - The length of the uin
    • Method Detail

      • generateId

        public void generateId​(long noOfUINToGenerate)
        Specified by:
        generateId in interface UinGenerator