Class X509FederationRequest.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • certificate

        public X509FederationRequest.Builder certificate​(String certificate)
        The x509 certificate of the service instance, issued by his CA.
        Parameters:
        certificate - the value to set
        Returns:
        this builder
      • publicKey

        public X509FederationRequest.Builder publicKey​(String publicKey)
        A temporary public key, owned by the service.

        The service also owns the corresponding private key. This public key will be put inside the security token by the auth service after successful validation of the certificate.

        Parameters:
        publicKey - the value to set
        Returns:
        this builder
      • intermediateCertificates

        public X509FederationRequest.Builder intermediateCertificates​(List<String> intermediateCertificates)
        An array of intermediate certificates to form the chain from the leaf certificate to the root CA.

        If auth service already has the intermediate certificate(s), then this is not required.

        Parameters:
        intermediateCertificates - the value to set
        Returns:
        this builder