Class SecurityProfile


  • public final class SecurityProfile
    extends Object
    The lab security profile.
    • Constructor Detail

      • SecurityProfile

        public SecurityProfile()
    • Method Detail

      • registrationCode

        public String registrationCode()
        Get the registrationCode property: The registration code for the lab.
        Returns:
        the registrationCode value.
      • openAccess

        public EnableState openAccess()
        Get the openAccess property: Whether any user or only specified users can register to a lab.
        Returns:
        the openAccess value.
      • withOpenAccess

        public SecurityProfile withOpenAccess​(EnableState openAccess)
        Set the openAccess property: Whether any user or only specified users can register to a lab.
        Parameters:
        openAccess - the openAccess value to set.
        Returns:
        the SecurityProfile object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.