Package com.example.blogs.app.security
package com.example.blogs.app.security
-
ClassDescriptionCryptographic hashing service for generating irreversible token digests.Hashes strings using SHA-256 algorithm and returns hexadecimal representation.Generates unique JWT Token Identifiers (JTI) for use as the subject claim in JWTs.Default implementation of JtiGenerator that produces UUID-based token identifiers.Catches JWT exceptions thrown during request processing and writes error responses.Converts JWT tokens to UserPrincipal authentication tokens for Spring Security context.Represents the authenticated user's identity extracted from JWT token claims.Spring Security authentication token holding UserPrincipal and JWT credentials.