Interface JWTLoginHandler

  • All Known Implementing Classes:
    DynamicLoginHandler

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

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

      • 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.