Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • API Authenticator Plugin is used as an extension or replacement for the default authentication methods available in the API Builder.
  • This plugin type must extend org.joget.api.model.ApiAuthenticatorAbstract abstract class.

POM file adjustments

  • Add the project dependencies below:

    Code Block
    languagexml
    <!-- Add this dependency for authenticate(...) params -->
    <dependency>
        <groupId>javax.servlet</groupId>
        <artifactId>jsp-api</artifactId>
        <version>2.0</version>
    </dependency>
    
    <!-- Add apibuilder_api dependency -->
    <dependency>
        <groupId>org.joget.api</groupId>
        <artifactId>apibuilder_api</artifactId>
        <version>${project.version}</version>
        <scope>provided</scope>
    </dependency>

Abstract Class

org.joget.api.model.ApiAuthenticatorAbstract

...