JJ NAM
@philipwq39632868
Reviews Written
1
Average Rating
5.0
Posts
Q&A
Unable to evaluate the expression Method threw 'org.hibernate.LazyInitializationException' exception. ์ด๋ผ๋ ์๋ฌ๊ฐ ๋น๋๋ค.
Account.java๋ฅผ EAGER๋ก ๋ฐ๊พธ๊ณ Role.java์ toString exclude๋ฅผ accounts ๋ก ๋ฐ๊พธ๋ฉด ๋๊ธฐ๋ ๋ฉ๋๋ค
- 0
- 2
- 1K
Q&A
Spring Security์ Postman์ ์ธ๋ ค๊ณ ํ๋๋ฐ ๋ก๊ทธ์ธ ํ์ด์ง๋ง ์๊พธ ๋์ต๋๋ค.
๊ฐ์ฌํฉ๋๋ค
- 0
- 3
- 2.7K
Q&A
CustomAuthenticationProvider๋ ์ Autowired๋ฅผ ์ฌ์ฉํ ์ ์๋์?
Error creating bean with name 'userController': Unsatisfied dependency expressed through field 'passwordEncoder'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'securityConfig': Unsatisfied dependency expressed through field 'customAuthenticationProvider'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'customAuthenticationProvider': Unsatisfied dependency expressed through field 'passwordEncoder'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'passwordEncoder': Requested bean is currently in creation: Is there an unresolvable circular reference? ์ด๋ฐ ์๋ฌ๊ฐ ๋น๋๋ค
- 0
- 4
- 853
Q&A
Spring Security์ Postman์ ์ธ๋ ค๊ณ ํ๋๋ฐ ๋ก๊ทธ์ธ ํ์ด์ง๋ง ์๊พธ ๋์ต๋๋ค.
httpBasic().and()๋ฅผ ์ค์ ํ๋๊น ์๋ํ๋ค์ ์ด์ ๋ฅผ ์ ๋ชจ๋ฅด๊ฒ ์ต๋๋ค.
- 0
- 3
- 2.7K
Q&A
CustomAuthenticationProvider๋ ์ Autowired๋ฅผ ์ฌ์ฉํ ์ ์๋์?
https://github.com/JeongJin984/SpringSecurity/blob/master/SpringSecurity2/src/main/java/com/example/SpringSecurity2/Security/SecurityConfig.java ์ฌ๊ธฐ์์ Provider @Autowired ๋ถ๋ถ์์ passwordEncoder๊ฐ ์ค๋ฅ๊ฐ ๋ฉ๋๋ค
- 0
- 4
- 853
Q&A
Oauth2.0์์ ๋ฐฐํฌ๋ฅผ ํด๋ cors ๋ฌธ์ ๊ฐ ๋ฐ์ํฉ๋๋ค.
nginx๋ฅผ ๋์ ํ๋ฉด ๋ฌธ์ ๊ฐ ํด๊ฒฐ๋์ง ์์๊น์?
- 0
- 3
- 318
Q&A
์ ๊ฐ passport_Google_OAuth_2.0 ์ ๋ฐ๋ผ์ ์์ฑ์ ํ ํ saga์์ ์๋ฒ๋ก /google/ ์ฟผ๋ฆฌ๋ฅผ ๋ฃ์๋๋ cors ์๋ฌ๊ฐ ๋น๋๋ค
api๋ฅผ ์ฐ๊ฒ ๋๋ฉด ์ ๊ฐ DB๋ฅผ ์ฌ์ฉํด์ผํด์ ํ์ฌ api ํด๋๋ด์ db๊ฐ์ฒด๋ฅผ defineํ๋ js ํ์ผ๋ค์ด ๋ค์ด ์์ต๋๋ค. ๊ทธ๋ฌ๋ฉด request๊ฐ ์๊ธธ ๋ ๋ง๋ค db.sync()๋ฅผ ํ๊ฒ ๋ฉ๋๋ค. ๊ทธ๋ฌ๋ฉด ๋๋ ค์ง๋ ๋ฑ์ ๋ฌธ์ ๊ฐ ์๊ธธ ์ ์์ง ์๋์? ๊ทธ๋ฆฌ๊ณ ์ธ์ ๋ ๋ง๋ค์ด์ผ ํด์ ์ ์๊ฐ์๋ custom server๋ก ํ๋๊ฒ์ด ๋ง๋ค๊ณ ์๊ฐํฉ๋๋ค. ์ ์๊ฐ์ด ์๋ชป๋์๋์?
- 0
- 10
- 1.3K
Q&A
์ฟ ํค & ์ธ์ ์ง๋ฌธ
https://jeong-pro.tistory.com/80
- 0
- 5
- 286
Q&A
์ ๊ฐ passport_Google_OAuth_2.0 ์ ๋ฐ๋ผ์ ์์ฑ์ ํ ํ saga์์ ์๋ฒ๋ก /google/ ์ฟผ๋ฆฌ๋ฅผ ๋ฃ์๋๋ cors ์๋ฌ๊ฐ ๋น๋๋ค
Google's OAuth 2.0 endpoint is at https://accounts.google.com/o/oauth2/v2/auth. This endpoint is accessible only over HTTPS. Plain HTTP connections are refused. The Google authorization server supports the following query string parameters for web server applications: google์ ์ด๋ ๊ฒ ์ค๋ช ์ด ๋์ด์๋๋ฐ ํน์ http๋ผ์ ๋ฌธ์ ๊ฐ ๋๊ฑด ์๋๊น์?
- 0
- 10
- 1.3K
Q&A
์ ๊ฐ passport_Google_OAuth_2.0 ์ ๋ฐ๋ผ์ ์์ฑ์ ํ ํ saga์์ ์๋ฒ๋ก /google/ ์ฟผ๋ฆฌ๋ฅผ ๋ฃ์๋๋ cors ์๋ฌ๊ฐ ๋น๋๋ค
ํํ ๋๋ฌด ๊ฐ์ฌํฉ๋๋ค.
- 0
- 10
- 1.3K




