Software Development, Spring Boot, Jwt, Java, Web Development.
@Value("${app.jwtSecret}") private String jwtSecret; @Value("${app.jwtExpirationMs}") private int jwtExpirationMs; public String generateJwtToken(Authentication authentication) { UserDetailsImpl userPrincipal = (UserDetailsImpl) authentication.getPrincipal(); return Jwts.builder()