Skip to content
This repository has been archived by the owner on Dec 27, 2024. It is now read-only.

Commit

Permalink
dev/security/ Исправил код по checkstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderGarifullin committed Dec 12, 2024
1 parent e4bd522 commit 8cf51dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions src/main/java/com/cf/cfteam/config/AppConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,16 @@

import com.cf.cfteam.services.security.MyUserDetailsService;
import lombok.RequiredArgsConstructor;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.http.HttpHeaders;
import org.springframework.http.MediaType;
import org.springframework.security.authentication.AuthenticationManager;
import org.springframework.security.authentication.AuthenticationProvider;
import org.springframework.security.authentication.dao.DaoAuthenticationProvider;
import org.springframework.security.config.annotation.authentication.configuration.AuthenticationConfiguration;
import org.springframework.security.core.userdetails.UserDetailsService;
import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;
import org.springframework.security.crypto.password.PasswordEncoder;
import org.springframework.web.client.RestClient;


@Configuration
@RequiredArgsConstructor
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import lombok.Builder;

@Builder
public record JwtAuthenticationResponse (
public record JwtAuthenticationResponse(
String token
) {
}

0 comments on commit 8cf51dc

Please sign in to comment.