Interface JWTLoginHandler

All Known Implementing Classes:
DynamicLoginHandler

public interface JWTLoginHandler
Interface for handling JWT login.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    String constant identifying the login mechanism.
  • Method Summary

    Modifier and Type
    Method
    Description
    Takes a JWT string, decodes it, validates it and returns the username encoded in the JWT.
  • Field Details

  • Method Details

    • handleToken

      String handleToken(String token)
      Takes a JWT string, decodes it, validates it and returns the username encoded in the JWT.
      Parameters:
      token - The JWT string.
      Returns:
      The username or null if the validation failed.