Interface ClientIdentity

    • Method Detail

      • getId

        String getId()
        Client id of identity service instance.
        Returns:
        client identifier
      • isValid

        default boolean isValid()
        Returns true, if the mandatory attributes in ClientIdentity class are filled for the specified authentication method i.e X.509 or client secret
        Returns:
        the boolean
      • isCertificateBased

        default boolean isCertificateBased()
        Returns true if ClientIdentity is certificate based.
        Returns:
        the boolean
      • getSecret

        @Nullable
        default String getSecret()
        Client secret of identity service instance.
        Returns:
        client secret
      • getCertificate

        @Nullable
        default String getCertificate()
        PEM encoded certificate chain.
        Returns:
        certificate chain
      • getKey

        @Nullable
        default String getKey()
        PEM encoded private key the certificate is signed with.
        Returns:
        private key
      • hasValue

        static boolean hasValue​(String value)