본문 바로가기
반응형

전체 글254

[Java] org.json 사용하기 dependency // gradle // https://mvnrepository.com/artifact/org.json/json implementation group: 'org.json', name: 'json', version: '20230227' // maven org.json json 20180813 JSONObject public class RunTestController { public static void main(String[] args) throws Exception { /** * Json 넣기 */ JSONObject jsonObject = new JSONObject(); jsonObject.put("id", "흰둥이"); jsonObject.put("password", "1234");.. 2023. 5. 8.
[HttpsUrlConnection] 인증서 GET/POST JSON 통신 Http 가 아닌 Https 다 회사에서 사용하는 인증서가 따로 있어서 인증서 생성하는 과정은 생략 했다 Get 방식 package com.example.practice.controller; import javax.net.ssl.HostnameVerifier; import javax.net.ssl.HttpsURLConnection; import javax.net.ssl.SSLContext; import javax.net.ssl.SSLSession; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.net.Malforme.. 2023. 5. 6.
[EClipse] 이클립스 설치하기 1. JDK 설치하기 https://www.oracle.com/java/technologies/downloads/#java8-windows Download the Latest Java LTS Free Subscribe to Java SE and get the most comprehensive Java support available, with 24/7 global access to the experts. www.oracle.com 사이트 하단에 Java 8 버전이 있다 자신의 운영체제에 맞춰서 설치하자 (해당 사이트는 회원가입을 해야하며 개발자라면 해당 사이트를 무조건 가입해야할 것이다) 파일을 다운 받아 설치하면 해당 폴더에 파일이 생성된다 시작 -> cmd(명령 프롬프트) -> java -versio.. 2023. 5. 2.
[SpringBoot] Security 로그인 인증, 인가(9) - 실행하기 이전글 https://greed-yb.tistory.com/230 [SpringBoot] Security 로그인 인증, 인가(8) - Controller 이전글 https://greed-yb.tistory.com/229 [SpringBoot] Security 로그인 인증, 인가(7) - html 이전글 https://greed-yb.tistory.com/228 [SpringBoot] Security 로그인 인증, 인가(6) - Service 이전글 https://greed-yb.tistory.com/227 [SpringBoo greed-yb.tistory.com 프로젝트 실행 localhost:9090 으로 접속하면 해당 주소에 대한 권한이 없기 때문에 /login 경로로 이동이 된다 회원가입 login.. 2023. 4. 30.
[SpringBoot] Security 로그인 인증, 인가(8) - Controller 이전글 https://greed-yb.tistory.com/229 [SpringBoot] Security 로그인 인증, 인가(7) - html 이전글 https://greed-yb.tistory.com/228 [SpringBoot] Security 로그인 인증, 인가(6) - Service 이전글 https://greed-yb.tistory.com/227 [SpringBoot] Security 로그인 인증, 인가(5) - Vo , Mapper 이전글 https://greed-yb.tistory.com/226 [Sp greed-yb.tistory.com UserController package com.example.practice.controller.login; import com.example.pract.. 2023. 4. 30.
[SpringBoot] Security 로그인 인증, 인가(7) - html 이전글 https://greed-yb.tistory.com/228 [SpringBoot] Security 로그인 인증, 인가(6) - Service 이전글 https://greed-yb.tistory.com/227 [SpringBoot] Security 로그인 인증, 인가(5) - Vo , Mapper 이전글 https://greed-yb.tistory.com/226 [SpringBoot] Security 로그인 인증, 인가(4) - AuthProvider 이전글 https://greed-yb.tistory.com/22 greed-yb.tistory.com Main 화면 : home login 화면 : loginPage 회원가입 화면 : signupPage 회원정보 수정 화면 : editPage 권한이 .. 2023. 4. 30.
반응형