java.lang.Object
com.bonitasoft.processbuilder.extension.template.auth.NoAuthConfig
All Implemented Interfaces:
AuthConfig

public final class NoAuthConfig extends Object implements AuthConfig
Configuration for APIs that require no authentication.
Since:
2025-02-06
Author:
Process Builder Team
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final NoAuthConfig
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the authentication type identifier.
    com.fasterxml.jackson.databind.JsonNode
    toJson(com.fasterxml.jackson.databind.ObjectMapper mapper)
    Converts this configuration to a JSON node for storage.
    com.fasterxml.jackson.databind.JsonNode
    toJsonEncrypted(com.fasterxml.jackson.databind.ObjectMapper mapper)
    Converts this configuration to a JSON node with sensitive fields encrypted.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

  • Method Details

    • getAuthType

      public String getAuthType()
      Description copied from interface: AuthConfig
      Gets the authentication type identifier.
      Specified by:
      getAuthType in interface AuthConfig
      Returns:
      The authentication type string (lowercase)
    • toJson

      public com.fasterxml.jackson.databind.JsonNode toJson(com.fasterxml.jackson.databind.ObjectMapper mapper)
      Description copied from interface: AuthConfig
      Converts this configuration to a JSON node for storage.
      Specified by:
      toJson in interface AuthConfig
      Parameters:
      mapper - The ObjectMapper to use for JSON creation
      Returns:
      JSON representation of this configuration
    • toJsonEncrypted

      public com.fasterxml.jackson.databind.JsonNode toJsonEncrypted(com.fasterxml.jackson.databind.ObjectMapper mapper)
      Description copied from interface: AuthConfig
      Converts this configuration to a JSON node with sensitive fields encrypted.
      Specified by:
      toJsonEncrypted in interface AuthConfig
      Parameters:
      mapper - The ObjectMapper to use for JSON creation
      Returns:
      JSON representation with encrypted sensitive fields
    • toString

      public String toString()
      Overrides:
      toString in class Object