Package | Description |
---|---|
com.naturalprogrammer.spring.lemon | |
com.naturalprogrammer.spring.lemon.security | |
com.naturalprogrammer.spring.lemon.validation |
Modifier and Type | Method and Description |
---|---|
LemonProperties |
LemonAutoConfiguration.lemonProperties()
Spring Lemon related properties
|
Modifier and Type | Method and Description |
---|---|
AuthenticationSuccessHandler |
LemonAutoConfiguration.authenticationSuccessHandler(com.fasterxml.jackson.databind.ObjectMapper objectMapper,
JwtService jwtService,
LemonProperties properties)
Configures AuthenticationSuccessHandler if missing
|
CaptchaValidator |
LemonAutoConfiguration.captchaValidator(LemonProperties properties,
org.springframework.boot.web.client.RestTemplateBuilder restTemplateBuilder)
Configures CaptchaValidator if missing
|
void |
LemonController.createLemonController(LemonProperties properties,
LemonService<U,ID> lemonService,
JwtService jwtService) |
void |
LemonService.createLemonService(LemonProperties properties,
org.springframework.security.crypto.password.PasswordEncoder passwordEncoder,
MailSender<?> mailSender,
AbstractUserRepository<U,ID> userRepository,
org.springframework.security.core.userdetails.UserDetailsService userDetailsService,
JwtService jwtService) |
JwtService |
LemonAutoConfiguration.jwtService(LemonProperties properties)
Configures JwtService if missing
|
LemonCorsConfig |
LemonAutoConfiguration.lemonCorsConfig(LemonProperties properties)
Configures LemonCorsConfig if missing and lemon.cors.allowed-origins is provided
|
OAuth2AuthenticationSuccessHandler<?> |
LemonAutoConfiguration.oauth2AuthenticationSuccessHandler(LemonProperties properties,
JwtService jwtService)
Configures OAuth2AuthenticationSuccessHandler if missing
|
Modifier and Type | Method and Description |
---|---|
void |
LemonSecurityConfig.createLemonSecurityConfig(LemonProperties properties,
org.springframework.security.core.userdetails.UserDetailsService userDetailsService,
AuthenticationSuccessHandler authenticationSuccessHandler,
org.springframework.security.web.authentication.AuthenticationFailureHandler authenticationFailureHandler,
LemonOidcUserService oidcUserService,
LemonOAuth2UserService<?,?> oauth2UserService,
OAuth2AuthenticationSuccessHandler<?> oauth2AuthenticationSuccessHandler,
OAuth2AuthenticationFailureHandler oauth2AuthenticationFailureHandler,
JwtAuthenticationProvider<?,?> jwtAuthenticationProvider,
org.springframework.security.crypto.password.PasswordEncoder passwordEncoder) |
Constructor and Description |
---|
AuthenticationSuccessHandler(com.fasterxml.jackson.databind.ObjectMapper objectMapper,
JwtService jwtService,
LemonProperties properties) |
HttpCookieOAuth2AuthorizationRequestRepository(LemonProperties properties) |
LemonCorsConfig(LemonProperties properties) |
OAuth2AuthenticationSuccessHandler(LemonProperties properties,
JwtService jwtService) |
Constructor and Description |
---|
CaptchaValidator(LemonProperties properties,
org.springframework.boot.web.client.RestTemplateBuilder restTemplateBuilder) |