repo
stringclasses
1k values
file_url
stringlengths
96
373
file_path
stringlengths
11
294
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
6 values
commit_sha
stringclasses
1k values
retrieved_at
stringdate
2026-01-04 14:45:56
2026-01-04 18:30:23
truncated
bool
2 classes
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/test/java/com/gateway/config/PostgreSqlTestContainer.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/test/java/com/gateway/config/PostgreSqlTestContainer.java
package com.gateway.config; import java.util.Collections; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.testcontainers.containers.JdbcDatabaseContainer; import org.testcontainers.containers.PostgreSQLContainer; import org.testcontainers.containers.output.Slf4jLogConsumer; public class PostgreSql...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/test/java/com/gateway/config/SqlTestContainer.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/test/java/com/gateway/config/SqlTestContainer.java
package com.gateway.config; import org.springframework.beans.factory.DisposableBean; import org.springframework.beans.factory.InitializingBean; import org.testcontainers.containers.JdbcDatabaseContainer; public interface SqlTestContainer extends InitializingBean, DisposableBean { JdbcDatabaseContainer<?> getTestC...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/test/java/com/gateway/config/EmbeddedSQL.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/test/java/com/gateway/config/EmbeddedSQL.java
package com.gateway.config; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; @Target(ElementType.TYPE) @Retention(RetentionPolicy.RUNTIME) public @interface EmbeddedSQL { }
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/test/java/com/gateway/config/SqlTestContainersSpringContextCustomizerFactory.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/test/java/com/gateway/config/SqlTestContainersSpringContextCustomizerFactory.java
package com.gateway.config; import java.util.Arrays; import java.util.List; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.config.ConfigurableListableBeanFactory; import org.springframework.boot.test.util.TestPropertyValues; import org.springframework.context.Configur...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/test/java/com/gateway/config/JHipsterBlockHoundIntegration.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/test/java/com/gateway/config/JHipsterBlockHoundIntegration.java
package com.gateway.config; import reactor.blockhound.BlockHound; import reactor.blockhound.integration.BlockHoundIntegration; public class JHipsterBlockHoundIntegration implements BlockHoundIntegration { @Override public void applyTo(BlockHound.Builder builder) { builder.allowBlockingCallsInside("or...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/test/java/com/gateway/config/AsyncSyncConfiguration.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/test/java/com/gateway/config/AsyncSyncConfiguration.java
package com.gateway.config; import java.util.concurrent.Executor; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.core.task.SyncTaskExecutor; @Configuration public class AsyncSyncConfiguration { @Bean(name = "taskExecutor...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/test/java/com/gateway/config/SpringBootTestClassOrderer.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/test/java/com/gateway/config/SpringBootTestClassOrderer.java
package com.gateway.config; import com.gateway.IntegrationTest; import java.util.Comparator; import org.junit.jupiter.api.ClassDescriptor; import org.junit.jupiter.api.ClassOrderer; import org.junit.jupiter.api.ClassOrdererContext; public class SpringBootTestClassOrderer implements ClassOrderer { @Override p...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/test/java/com/gateway/web/filter/ModifyServersOpenApiFilterTest.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/test/java/com/gateway/web/filter/ModifyServersOpenApiFilterTest.java
package com.gateway.web.filter; import static org.assertj.core.api.Assertions.assertThat; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.mockito.Mockito.*; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.nio.charset.StandardCharsets; import java.util.zip.G...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/test/java/com/gateway/web/filter/SpaWebFilterTestController.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/test/java/com/gateway/web/filter/SpaWebFilterTestController.java
package com.gateway.web.filter; import org.springframework.http.MediaType; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RestController; @RestController public class SpaWebFilterTestController { public static final String INDEX_HTML_TEST_CONTENT = "<htm...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/test/java/com/gateway/web/filter/SpaWebFilterIT.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/test/java/com/gateway/web/filter/SpaWebFilterIT.java
package com.gateway.web.filter; import com.gateway.IntegrationTest; import com.gateway.security.AuthoritiesConstants; import java.time.Duration; import org.junit.jupiter.api.Test; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.autoconfigure.web.reactive.AutoConfigur...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/test/java/com/gateway/web/rest/TestUtil.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/test/java/com/gateway/web/rest/TestUtil.java
package com.gateway.web.rest; import static org.assertj.core.api.Assertions.assertThat; import jakarta.persistence.EntityManager; import jakarta.persistence.TypedQuery; import jakarta.persistence.criteria.CriteriaBuilder; import jakarta.persistence.criteria.CriteriaQuery; import jakarta.persistence.criteria.Root; imp...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/test/java/com/gateway/web/rest/PublicUserResourceIT.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/test/java/com/gateway/web/rest/PublicUserResourceIT.java
package com.gateway.web.rest; import static org.assertj.core.api.Assertions.assertThat; import com.gateway.IntegrationTest; import com.gateway.domain.User; import com.gateway.repository.EntityManager; import com.gateway.repository.UserRepository; import com.gateway.security.AuthoritiesConstants; import com.gateway.se...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/test/java/com/gateway/web/rest/UserResourceIT.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/test/java/com/gateway/web/rest/UserResourceIT.java
package com.gateway.web.rest; import static org.assertj.core.api.Assertions.assertThat; import com.fasterxml.jackson.databind.ObjectMapper; import com.gateway.IntegrationTest; import com.gateway.config.Constants; import com.gateway.domain.Authority; import com.gateway.domain.User; import com.gateway.repository.Author...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/test/java/com/gateway/web/rest/AuthorityResourceIT.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/test/java/com/gateway/web/rest/AuthorityResourceIT.java
package com.gateway.web.rest; import static com.gateway.domain.AuthorityAsserts.*; import static org.assertj.core.api.Assertions.assertThat; import static org.hamcrest.Matchers.hasItem; import static org.hamcrest.Matchers.is; import com.fasterxml.jackson.databind.ObjectMapper; import com.gateway.IntegrationTest; impo...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/test/java/com/gateway/web/rest/AuthenticateControllerIT.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/test/java/com/gateway/web/rest/AuthenticateControllerIT.java
package com.gateway.web.rest; import com.fasterxml.jackson.databind.ObjectMapper; import com.gateway.IntegrationTest; import com.gateway.config.Constants; import com.gateway.domain.User; import com.gateway.repository.UserRepository; import com.gateway.web.rest.vm.LoginVM; import org.junit.jupiter.api.Test; import org....
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/test/java/com/gateway/web/rest/AccountResourceIT.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/test/java/com/gateway/web/rest/AccountResourceIT.java
package com.gateway.web.rest; import static org.assertj.core.api.Assertions.assertThat; import com.fasterxml.jackson.databind.ObjectMapper; import com.gateway.IntegrationTest; import com.gateway.config.Constants; import com.gateway.domain.User; import com.gateway.repository.AuthorityRepository; import com.gateway.rep...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
true
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/test/java/com/gateway/web/rest/WithUnauthenticatedMockUser.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/test/java/com/gateway/web/rest/WithUnauthenticatedMockUser.java
package com.gateway.web.rest; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; import org.springframework.security.core.context.SecurityContext; import org.springframework.security.core.context.SecurityConte...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/test/java/com/gateway/web/rest/errors/ExceptionTranslatorTestController.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/test/java/com/gateway/web/rest/errors/ExceptionTranslatorTestController.java
package com.gateway.web.rest.errors; import jakarta.validation.Valid; import jakarta.validation.constraints.NotNull; import org.springframework.dao.ConcurrencyFailureException; import org.springframework.http.HttpStatus; import org.springframework.security.access.AccessDeniedException; import org.springframework.secur...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/test/java/com/gateway/web/rest/errors/ExceptionTranslatorIT.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/test/java/com/gateway/web/rest/errors/ExceptionTranslatorIT.java
package com.gateway.web.rest.errors; import com.gateway.IntegrationTest; import org.hamcrest.core.AnyOf; import org.hamcrest.core.IsEqual; import org.junit.jupiter.api.Test; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.autoconfigure.web.reactive.AutoConfigureWebTe...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/GatewayApp.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/GatewayApp.java
package com.gateway; import com.gateway.config.ApplicationProperties; import com.gateway.config.CRLFLogConverter; import jakarta.annotation.PostConstruct; import java.net.InetAddress; import java.net.UnknownHostException; import java.util.Arrays; import java.util.Collection; import java.util.Optional; import org.apach...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/package-info.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/package-info.java
/** * Application root. */ package com.gateway;
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/GeneratedByJHipster.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/GeneratedByJHipster.java
package com.gateway; import jakarta.annotation.Generated; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; @Generated(value = "JHipster", comments = "Generated by JHipster 8.4.0") @Retention(RetentionPolicy...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/management/package-info.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/management/package-info.java
/** * Application management. */ package com.gateway.management;
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/management/SecurityMetersService.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/management/SecurityMetersService.java
package com.gateway.management; import io.micrometer.core.instrument.Counter; import io.micrometer.core.instrument.MeterRegistry; import org.springframework.stereotype.Service; @Service public class SecurityMetersService { public static final String INVALID_TOKENS_METER_NAME = "security.authentication.invalid-to...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/service/InvalidPasswordException.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/service/InvalidPasswordException.java
package com.gateway.service; public class InvalidPasswordException extends RuntimeException { private static final long serialVersionUID = 1L; public InvalidPasswordException() { super("Incorrect password"); } }
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/service/UserService.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/service/UserService.java
package com.gateway.service; import com.gateway.config.Constants; import com.gateway.domain.Authority; import com.gateway.domain.User; import com.gateway.repository.AuthorityRepository; import com.gateway.repository.UserRepository; import com.gateway.security.AuthoritiesConstants; import com.gateway.security.SecurityU...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/service/UsernameAlreadyUsedException.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/service/UsernameAlreadyUsedException.java
package com.gateway.service; public class UsernameAlreadyUsedException extends RuntimeException { private static final long serialVersionUID = 1L; public UsernameAlreadyUsedException() { super("Login name already used!"); } }
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/service/package-info.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/service/package-info.java
/** * Service layer. */ package com.gateway.service;
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/service/MailService.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/service/MailService.java
package com.gateway.service; import com.gateway.domain.User; import jakarta.mail.MessagingException; import jakarta.mail.internet.MimeMessage; import java.nio.charset.StandardCharsets; import java.util.Locale; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.context.MessageSource; im...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/service/EmailAlreadyUsedException.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/service/EmailAlreadyUsedException.java
package com.gateway.service; public class EmailAlreadyUsedException extends RuntimeException { private static final long serialVersionUID = 1L; public EmailAlreadyUsedException() { super("Email is already in use!"); } }
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/service/dto/package-info.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/service/dto/package-info.java
/** * Data transfer objects for rest mapping. */ package com.gateway.service.dto;
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/service/dto/PasswordChangeDTO.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/service/dto/PasswordChangeDTO.java
package com.gateway.service.dto; import java.io.Serializable; /** * A DTO representing a password change required data - current and new password. */ public class PasswordChangeDTO implements Serializable { private static final long serialVersionUID = 1L; private String currentPassword; private String...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/service/dto/UserDTO.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/service/dto/UserDTO.java
package com.gateway.service.dto; import com.gateway.domain.User; import java.io.Serializable; /** * A DTO representing a user, with only the public attributes. */ public class UserDTO implements Serializable { private static final long serialVersionUID = 1L; private Long id; private String login; ...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/service/dto/AdminUserDTO.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/service/dto/AdminUserDTO.java
package com.gateway.service.dto; import com.gateway.config.Constants; import com.gateway.domain.Authority; import com.gateway.domain.User; import jakarta.validation.constraints.*; import java.io.Serializable; import java.time.Instant; import java.util.Set; import java.util.stream.Collectors; /** * A DTO representing...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/service/mapper/package-info.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/service/mapper/package-info.java
/** * Data transfer objects mappers. */ package com.gateway.service.mapper;
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/service/mapper/UserMapper.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/service/mapper/UserMapper.java
package com.gateway.service.mapper; import com.gateway.domain.Authority; import com.gateway.domain.User; import com.gateway.service.dto.AdminUserDTO; import com.gateway.service.dto.UserDTO; import java.util.*; import java.util.stream.Collectors; import org.mapstruct.BeanMapping; import org.mapstruct.Mapping; import or...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/aop/logging/package-info.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/aop/logging/package-info.java
/** * Logging aspect. */ package com.gateway.aop.logging;
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/aop/logging/LoggingAspect.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/aop/logging/LoggingAspect.java
package com.gateway.aop.logging; import java.util.Arrays; import org.aspectj.lang.JoinPoint; import org.aspectj.lang.ProceedingJoinPoint; import org.aspectj.lang.annotation.AfterThrowing; import org.aspectj.lang.annotation.Around; import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.Pointcut; ...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/domain/package-info.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/domain/package-info.java
/** * Domain objects. */ package com.gateway.domain;
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/domain/Authority.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/domain/Authority.java
package com.gateway.domain; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import jakarta.validation.constraints.*; import java.io.Serializable; import java.util.Objects; import org.springframework.data.annotation.Id; import org.springframework.data.annotation.Transient; import org.springframework.data....
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/domain/AuthorityCallback.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/domain/AuthorityCallback.java
package com.gateway.domain; import org.reactivestreams.Publisher; import org.springframework.data.r2dbc.mapping.OutboundRow; import org.springframework.data.r2dbc.mapping.event.AfterConvertCallback; import org.springframework.data.r2dbc.mapping.event.AfterSaveCallback; import org.springframework.data.relational.core.s...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/domain/User.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/domain/User.java
package com.gateway.domain; import com.fasterxml.jackson.annotation.JsonIgnore; import com.gateway.config.Constants; import jakarta.validation.constraints.Email; import jakarta.validation.constraints.NotNull; import jakarta.validation.constraints.Pattern; import jakarta.validation.constraints.Size; import java.io.Seri...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/domain/AbstractAuditingEntity.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/domain/AbstractAuditingEntity.java
package com.gateway.domain; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import jakarta.persistence.Column; import java.io.Serializable; import java.time.Instant; import org.springframework.data.annotation.CreatedDate; import org.springframework.data.annotation.LastModifiedDate; /** * Base abstract ...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/repository/UserRepository.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/repository/UserRepository.java
package com.gateway.repository; import static org.springframework.data.relational.core.query.Criteria.where; import static org.springframework.data.relational.core.query.Query.query; import com.gateway.domain.Authority; import com.gateway.domain.User; import java.time.LocalDateTime; import java.util.List; import java...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/repository/UserSqlHelper.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/repository/UserSqlHelper.java
package com.gateway.repository; import java.util.ArrayList; import java.util.List; import org.springframework.data.relational.core.sql.Column; import org.springframework.data.relational.core.sql.Expression; import org.springframework.data.relational.core.sql.Table; public class UserSqlHelper { public static List...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/repository/package-info.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/repository/package-info.java
/** * Repository layer. */ package com.gateway.repository;
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/repository/AuthorityRepository.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/repository/AuthorityRepository.java
package com.gateway.repository; import com.gateway.domain.Authority; import org.springframework.data.r2dbc.repository.R2dbcRepository; import org.springframework.stereotype.Repository; /** * Spring Data R2DBC repository for the Authority entity. */ @SuppressWarnings("unused") @Repository public interface AuthorityR...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/repository/EntityManager.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/repository/EntityManager.java
package com.gateway.repository; import java.util.ArrayList; import java.util.Collection; import java.util.List; import java.util.stream.Stream; import org.springframework.data.domain.Pageable; import org.springframework.data.domain.Sort; import org.springframework.data.r2dbc.core.R2dbcEntityTemplate; import org.spring...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/repository/rowmapper/package-info.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/repository/rowmapper/package-info.java
/** * Webflux database column mapper. */ package com.gateway.repository.rowmapper;
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/repository/rowmapper/ColumnConverter.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/repository/rowmapper/ColumnConverter.java
package com.gateway.repository.rowmapper; import io.r2dbc.spi.Row; import org.springframework.core.convert.ConversionService; import org.springframework.data.r2dbc.convert.R2dbcConverter; import org.springframework.data.r2dbc.convert.R2dbcCustomConversions; import org.springframework.lang.Nullable; import org.springfr...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/repository/rowmapper/UserRowMapper.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/repository/rowmapper/UserRowMapper.java
package com.gateway.repository.rowmapper; import com.gateway.domain.User; import io.r2dbc.spi.Row; import java.time.Instant; import java.util.function.BiFunction; import org.springframework.stereotype.Service; /** * Converter between {@link Row} to {@link User}, with proper type conversions. */ @Service public clas...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/security/package-info.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/security/package-info.java
/** * Application security utilities. */ package com.gateway.security;
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/security/UserNotActivatedException.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/security/UserNotActivatedException.java
package com.gateway.security; import org.springframework.security.core.AuthenticationException; /** * This exception is thrown in case of a not activated user trying to authenticate. */ public class UserNotActivatedException extends AuthenticationException { private static final long serialVersionUID = 1L; ...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/security/SecurityUtils.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/security/SecurityUtils.java
package com.gateway.security; import java.util.Arrays; import org.springframework.security.core.Authentication; import org.springframework.security.core.GrantedAuthority; import org.springframework.security.core.context.ReactiveSecurityContextHolder; import org.springframework.security.core.context.SecurityContext; im...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/security/AuthoritiesConstants.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/security/AuthoritiesConstants.java
package com.gateway.security; /** * Constants for Spring Security authorities. */ public final class AuthoritiesConstants { public static final String ADMIN = "ROLE_ADMIN"; public static final String USER = "ROLE_USER"; public static final String ANONYMOUS = "ROLE_ANONYMOUS"; private AuthoritiesC...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/security/DomainUserDetailsService.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/security/DomainUserDetailsService.java
package com.gateway.security; import com.gateway.domain.Authority; import com.gateway.domain.User; import com.gateway.repository.UserRepository; import java.util.*; import org.hibernate.validator.internal.constraintvalidators.hv.EmailValidator; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.spring...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/security/jwt/package-info.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/security/jwt/package-info.java
/** * This package file was generated by JHipster */ package com.gateway.security.jwt;
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/security/jwt/JWTRelayGatewayFilterFactory.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/security/jwt/JWTRelayGatewayFilterFactory.java
package com.gateway.security.jwt; import static org.springframework.http.HttpHeaders.AUTHORIZATION; import org.springframework.cloud.gateway.filter.GatewayFilter; import org.springframework.cloud.gateway.filter.factory.AbstractGatewayFilterFactory; import org.springframework.security.oauth2.jwt.ReactiveJwtDecoder; im...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/config/SecurityConfiguration.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/config/SecurityConfiguration.java
package com.gateway.config; import static org.springframework.security.config.Customizer.withDefaults; import static org.springframework.security.web.server.util.matcher.ServerWebExchangeMatchers.pathMatchers; import com.gateway.security.AuthoritiesConstants; import com.gateway.web.filter.SpaWebFilter; import org.spr...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/config/ApplicationProperties.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/config/ApplicationProperties.java
package com.gateway.config; import org.springframework.boot.context.properties.ConfigurationProperties; /** * Properties specific to Gateway App. * <p> * Properties are configured in the {@code application.yml} file. * See {@link tech.jhipster.config.JHipsterProperties} for a good example. */ @ConfigurationPrope...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/config/DatabaseConfiguration.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/config/DatabaseConfiguration.java
package com.gateway.config; import io.r2dbc.spi.ConnectionFactory; import java.sql.SQLException; import java.time.Duration; import java.time.Instant; import java.time.LocalDateTime; import java.time.ZoneOffset; import java.time.ZonedDateTime; import java.util.ArrayList; import java.util.BitSet; import java.util.List; ...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/config/package-info.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/config/package-info.java
/** * Application configuration. */ package com.gateway.config;
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/config/DateTimeFormatConfiguration.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/config/DateTimeFormatConfiguration.java
package com.gateway.config; import org.springframework.context.annotation.Configuration; import org.springframework.format.FormatterRegistry; import org.springframework.format.datetime.standard.DateTimeFormatterRegistrar; import org.springframework.web.reactive.config.WebFluxConfigurer; /** * Configure the converter...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/config/CRLFLogConverter.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/config/CRLFLogConverter.java
package com.gateway.config; import ch.qos.logback.classic.spi.ILoggingEvent; import ch.qos.logback.core.pattern.CompositeConverter; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; import org.slf4j.Marker; import org.slf4j.MarkerFactory; import org.springframework.bo...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/config/AsyncConfiguration.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/config/AsyncConfiguration.java
package com.gateway.config; import java.util.concurrent.Executor; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.aop.interceptor.AsyncUncaughtExceptionHandler; import org.springframework.aop.interceptor.SimpleAsyncUncaughtExceptionHandler; import org.springframework.boot.autoconfig...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/config/WebConfigurer.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/config/WebConfigurer.java
package com.gateway.config; import com.fasterxml.jackson.databind.ObjectMapper; import com.gateway.web.rest.errors.ExceptionTranslator; import java.util.concurrent.TimeUnit; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.boot.autoconfigure.web.reactive.ResourceHandlerRegistrationCu...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/config/JacksonConfiguration.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/config/JacksonConfiguration.java
package com.gateway.config; import com.fasterxml.jackson.datatype.jdk8.Jdk8Module; import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; @Configuration public class JacksonConfiguration { /** ...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/config/LoggingConfiguration.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/config/LoggingConfiguration.java
package com.gateway.config; import static tech.jhipster.config.logging.LoggingUtils.*; import ch.qos.logback.classic.LoggerContext; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.ObjectMapper; import java.util.HashMap; import java.util.Map; import org.slf4j.LoggerFact...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/config/SecurityJwtConfiguration.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/config/SecurityJwtConfiguration.java
package com.gateway.config; import static com.gateway.security.SecurityUtils.AUTHORITIES_KEY; import static com.gateway.security.SecurityUtils.JWT_ALGORITHM; import com.gateway.management.SecurityMetersService; import com.nimbusds.jose.jwk.source.ImmutableSecret; import com.nimbusds.jose.util.Base64; import javax.cry...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/config/LiquibaseConfiguration.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/config/LiquibaseConfiguration.java
package com.gateway.config; import java.util.Optional; import java.util.concurrent.Executor; import javax.sql.DataSource; import liquibase.integration.spring.SpringLiquibase; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Qualifier; import org.springframewo...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/config/OpenApiConfiguration.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/config/OpenApiConfiguration.java
package com.gateway.config; import org.springdoc.core.models.GroupedOpenApi; import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.P...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/config/EurekaWorkaroundConfiguration.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/config/EurekaWorkaroundConfiguration.java
// This is a workaround for // https://github.com/jhipster/jhipster-registry/issues/537 // https://github.com/jhipster/generator-jhipster/issues/18533 // The original issue will be fixed with spring cloud 2021.0.4 // https://github.com/spring-cloud/spring-cloud-netflix/issues/3941 package com.gateway.config; import or...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/config/Constants.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/config/Constants.java
package com.gateway.config; /** * Application constants. */ public final class Constants { // Regex for acceptable logins public static final String LOGIN_REGEX = "^(?>[a-zA-Z0-9!$&*+=?^_`{|}~.-]+@[a-zA-Z0-9-]+(?:\\.[a-zA-Z0-9-]+)*)|(?>[_.@A-Za-z0-9-]+)$"; public static final String SYSTEM = "system"; ...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/config/LoggingAspectConfiguration.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/config/LoggingAspectConfiguration.java
package com.gateway.config; import com.gateway.aop.logging.LoggingAspect; import org.springframework.context.annotation.*; import org.springframework.core.env.Environment; import tech.jhipster.config.JHipsterConstants; @Configuration @EnableAspectJAutoProxy public class LoggingAspectConfiguration { @Bean @Pr...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/config/ReactorConfiguration.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/config/ReactorConfiguration.java
package com.gateway.config; import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.Profile; import reactor.core.publisher.Hooks; import tech.jhipster.config.JHipsterConstants; @Configuration @Profile("!" + JHipsterConstants.SPRING_PROFILE_PRODUCTION) public class Re...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/web/filter/SpaWebFilter.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/web/filter/SpaWebFilter.java
package com.gateway.web.filter; import org.springframework.web.server.ServerWebExchange; import org.springframework.web.server.WebFilter; import org.springframework.web.server.WebFilterChain; import reactor.core.publisher.Mono; public class SpaWebFilter implements WebFilter { /** * Forwards any unmapped pat...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/web/filter/package-info.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/web/filter/package-info.java
/** * Request chain filters. */ package com.gateway.web.filter;
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/web/filter/ModifyServersOpenApiFilter.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/web/filter/ModifyServersOpenApiFilter.java
package com.gateway.web.filter; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.node.ArrayNode; import com.fasterxml.jackson.databind.node.ObjectNode; import java.io.Byte...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/web/rest/AccountResource.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/web/rest/AccountResource.java
package com.gateway.web.rest; import com.gateway.repository.UserRepository; import com.gateway.security.SecurityUtils; import com.gateway.service.MailService; import com.gateway.service.UserService; import com.gateway.service.dto.AdminUserDTO; import com.gateway.service.dto.PasswordChangeDTO; import com.gateway.web.re...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/web/rest/GatewayResource.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/web/rest/GatewayResource.java
package com.gateway.web.rest; import com.gateway.security.AuthoritiesConstants; import com.gateway.web.rest.vm.RouteVM; import java.util.ArrayList; import java.util.List; import org.springframework.beans.factory.annotation.Value; import org.springframework.cloud.client.discovery.DiscoveryClient; import org.springframe...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/web/rest/AuthenticateController.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/web/rest/AuthenticateController.java
package com.gateway.web.rest; import static com.gateway.security.SecurityUtils.AUTHORITIES_KEY; import static com.gateway.security.SecurityUtils.JWT_ALGORITHM; import com.fasterxml.jackson.annotation.JsonProperty; import com.gateway.web.rest.vm.LoginVM; import jakarta.validation.Valid; import java.security.Principal;...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/web/rest/package-info.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/web/rest/package-info.java
/** * Rest layer. */ package com.gateway.web.rest;
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/web/rest/PublicUserResource.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/web/rest/PublicUserResource.java
package com.gateway.web.rest; import com.gateway.service.UserService; import com.gateway.service.dto.UserDTO; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.List; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.data.domain.PageImp...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/web/rest/UserResource.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/web/rest/UserResource.java
package com.gateway.web.rest; import com.gateway.config.Constants; import com.gateway.domain.User; import com.gateway.repository.UserRepository; import com.gateway.security.AuthoritiesConstants; import com.gateway.service.MailService; import com.gateway.service.UserService; import com.gateway.service.dto.AdminUserDTO;...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/web/rest/AuthorityResource.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/web/rest/AuthorityResource.java
package com.gateway.web.rest; import com.gateway.domain.Authority; import com.gateway.repository.AuthorityRepository; import com.gateway.web.rest.errors.BadRequestAlertException; import jakarta.validation.Valid; import java.net.URI; import java.net.URISyntaxException; import java.util.List; import org.slf4j.Logger; im...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/web/rest/errors/InvalidPasswordException.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/web/rest/errors/InvalidPasswordException.java
package com.gateway.web.rest.errors; import org.springframework.http.HttpStatus; import org.springframework.web.ErrorResponseException; import tech.jhipster.web.rest.errors.ProblemDetailWithCause.ProblemDetailWithCauseBuilder; @SuppressWarnings("java:S110") // Inheritance tree of classes should not be too deep public...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/web/rest/errors/package-info.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/web/rest/errors/package-info.java
/** * Rest layer error handling. */ package com.gateway.web.rest.errors;
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/web/rest/errors/LoginAlreadyUsedException.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/web/rest/errors/LoginAlreadyUsedException.java
package com.gateway.web.rest.errors; @SuppressWarnings("java:S110") // Inheritance tree of classes should not be too deep public class LoginAlreadyUsedException extends BadRequestAlertException { private static final long serialVersionUID = 1L; public LoginAlreadyUsedException() { super(ErrorConstant...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/web/rest/errors/ErrorConstants.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/web/rest/errors/ErrorConstants.java
package com.gateway.web.rest.errors; import java.net.URI; public final class ErrorConstants { public static final String ERR_CONCURRENCY_FAILURE = "error.concurrencyFailure"; public static final String ERR_VALIDATION = "error.validation"; public static final String PROBLEM_BASE_URL = "https://www.jhipste...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/web/rest/errors/FieldErrorVM.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/web/rest/errors/FieldErrorVM.java
package com.gateway.web.rest.errors; import java.io.Serializable; public class FieldErrorVM implements Serializable { private static final long serialVersionUID = 1L; private final String objectName; private final String field; private final String message; public FieldErrorVM(String dto, Str...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/web/rest/errors/EmailAlreadyUsedException.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/web/rest/errors/EmailAlreadyUsedException.java
package com.gateway.web.rest.errors; @SuppressWarnings("java:S110") // Inheritance tree of classes should not be too deep public class EmailAlreadyUsedException extends BadRequestAlertException { private static final long serialVersionUID = 1L; public EmailAlreadyUsedException() { super(ErrorConstant...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/web/rest/errors/BadRequestAlertException.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/web/rest/errors/BadRequestAlertException.java
package com.gateway.web.rest.errors; import java.net.URI; import org.springframework.http.HttpStatus; import org.springframework.web.ErrorResponseException; import tech.jhipster.web.rest.errors.ProblemDetailWithCause; import tech.jhipster.web.rest.errors.ProblemDetailWithCause.ProblemDetailWithCauseBuilder; @Suppress...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/web/rest/errors/ExceptionTranslator.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/web/rest/errors/ExceptionTranslator.java
package com.gateway.web.rest.errors; import static org.springframework.core.annotation.AnnotatedElementUtils.findMergedAnnotation; import java.net.URI; import java.util.Arrays; import java.util.Collection; import java.util.List; import java.util.Map; import java.util.Optional; import org.apache.commons.lang3.StringUt...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/web/rest/vm/package-info.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/web/rest/vm/package-info.java
/** * Rest layer visual models. */ package com.gateway.web.rest.vm;
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/web/rest/vm/RouteVM.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/web/rest/vm/RouteVM.java
package com.gateway.web.rest.vm; import java.util.List; import org.springframework.cloud.client.ServiceInstance; /** * View Model that stores a route managed by the Gateway. */ public class RouteVM { private String path; private String serviceId; private List<ServiceInstance> serviceInstances; p...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/web/rest/vm/KeyAndPasswordVM.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/web/rest/vm/KeyAndPasswordVM.java
package com.gateway.web.rest.vm; /** * View Model object for storing the user's key and password. */ public class KeyAndPasswordVM { private String key; private String newPassword; public String getKey() { return key; } public void setKey(String key) { this.key = key; } ...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/web/rest/vm/ManagedUserVM.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/web/rest/vm/ManagedUserVM.java
package com.gateway.web.rest.vm; import com.gateway.service.dto.AdminUserDTO; import jakarta.validation.constraints.Size; /** * View Model extending the AdminUserDTO, which is meant to be used in the user management UI. */ public class ManagedUserVM extends AdminUserDTO { public static final int PASSWORD_MIN_L...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/web/rest/vm/LoginVM.java
jhipster-8-modules/jhipster-8-microservice/gateway-app/src/main/java/com/gateway/web/rest/vm/LoginVM.java
package com.gateway.web.rest.vm; import jakarta.validation.constraints.NotNull; import jakarta.validation.constraints.Size; /** * View Model object for storing a user's credentials. */ public class LoginVM { @NotNull @Size(min = 1, max = 50) private String username; @NotNull @Size(min = 4, max...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/security-modules/oauth2-framework-impl/oauth2-client/src/main/java/com/baeldung/oauth2/client/CallbackServlet.java
security-modules/oauth2-framework-impl/oauth2-client/src/main/java/com/baeldung/oauth2/client/CallbackServlet.java
package com.baeldung.oauth2.client; import org.eclipse.microprofile.config.Config; import javax.inject.Inject; import javax.json.JsonObject; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; i...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false
eugenp/tutorials
https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/security-modules/oauth2-framework-impl/oauth2-client/src/main/java/com/baeldung/oauth2/client/AbstractServlet.java
security-modules/oauth2-framework-impl/oauth2-client/src/main/java/com/baeldung/oauth2/client/AbstractServlet.java
package com.baeldung.oauth2.client; import javax.servlet.RequestDispatcher; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.io.IOException; import java.util.Base64; public abstract cl...
java
MIT
4463e58ffb73fe599bac2479abd84598c6e70a1a
2026-01-04T14:45:57.069771Z
false