Index

A C E F G I J M O R V 
All Classes and Interfaces|All Packages

A

AuthenticationFilter - Class in com.greenloop.gateway.filter
Gateway filter that authenticates incoming requests using JWT tokens from cookies.
AuthenticationFilter() - Constructor for class com.greenloop.gateway.filter.AuthenticationFilter
 

C

com.greenloop.gateway - package com.greenloop.gateway
 
com.greenloop.gateway.config - package com.greenloop.gateway.config
 
com.greenloop.gateway.filter - package com.greenloop.gateway.filter
 
com.greenloop.gateway.util - package com.greenloop.gateway.util
 
CorsGlobalConfig - Class in com.greenloop.gateway.config
Global CORS (Cross-Origin Resource Sharing) configuration for the gateway.
CorsGlobalConfig() - Constructor for class com.greenloop.gateway.config.CorsGlobalConfig
 
corsWebFilter() - Method in class com.greenloop.gateway.config.CorsGlobalConfig
Configures the CORS web filter for reactive Spring Cloud Gateway.

E

extractAllClaims(String) - Method in class com.greenloop.gateway.util.JwtUtil
Extracts all claims from a JWT token.

F

filter(ServerWebExchange, GatewayFilterChain) - Method in class com.greenloop.gateway.filter.AuthenticationFilter
Filters incoming requests to validate JWT authentication.

G

GatewayApplication - Class in com.greenloop.gateway
 
GatewayApplication() - Constructor for class com.greenloop.gateway.GatewayApplication
 
GatewayConfig - Class in com.greenloop.gateway.config
Gateway configuration that defines routing rules for microservices.
GatewayConfig() - Constructor for class com.greenloop.gateway.config.GatewayConfig
 

I

isSecured - Variable in class com.greenloop.gateway.filter.RouterValidator
Predicate that tests whether a request requires authentication.

J

JwtUtil - Class in com.greenloop.gateway.util
Utility class for JWT (JSON Web Token) operations.
JwtUtil() - Constructor for class com.greenloop.gateway.util.JwtUtil
 

M

main(String[]) - Static method in class com.greenloop.gateway.GatewayApplication
 

O

openApiEndpoints - Static variable in class com.greenloop.gateway.filter.RouterValidator
List of API endpoints that are publicly accessible without authentication.

R

RouterValidator - Class in com.greenloop.gateway.filter
Validator that determines which API endpoints require authentication.
RouterValidator() - Constructor for class com.greenloop.gateway.filter.RouterValidator
 
routes(RouteLocatorBuilder) - Method in class com.greenloop.gateway.config.GatewayConfig
Configures the route locator with mappings for all microservices.

V

validateToken(String) - Method in class com.greenloop.gateway.util.JwtUtil
Validates a JWT token's signature and expiration.
A C E F G I J M O R V 
All Classes and Interfaces|All Packages