Class TlsScope

    • Method Detail

      • tenant

        public static TlsScope tenant​(Long tenantId)
        Creates a TLS scope for a specific tenant.
        Parameters:
        tenantId - The ID of the tenant.
        Returns:
        A TLS scope for the specified tenant.
      • keystore

        public static TlsScope keystore​(Long keystoreId)
        Creates a TLS scope for a specific keystore.
        Parameters:
        keystoreId - The ID of the keystore.
        Returns:
        A TLS scope for the specified keystore.
      • system

        public static TlsScope system()
        Creates a TLS scope for the whole system.
        Returns:
        A TLS scope for the whole system.
      • getSubject

        public String getSubject()
        The subject of the TLS scope. Depending on the type, this can be a Long as the ID of the tenant, a Long as the ID of the keystore, or it may be null if the scope is system-wide.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object