본문 바로가기

분류 전체보기109

학원 수업 65일차 221122 9-10 네이버 오픈 API 신청 Documents > 네이버 로그인 > 개발 가이드 https://developers.naver.com/docs/login/devguide/devguide.md#%EB%84%A4%EC%9D%B4%EB%B2%84%20%EB%A1%9C%EA%B7%B8%EC%9D%B8-%EA%B0%9C%EB%B0%9C%EA%B0%80%EC%9D%B4%EB%93%9C https://developers.naver.com/docs/login/api/api.md#3-2--%EC%A0%91%EA%B7%BC-%ED%86%A0%ED%81%B0-%EB%B0%9C%EA%B8%89%EA%B0%B1%EC%8B%A0%EC%82%AD%EC%A0%9C-%EC%9A%94%EC%B2%AD https://developer.. 2023. 4. 28.
Java Spring JPA 검색을 포함한 페이지네이션 pagenation 기능 구현 프로젝트명 : 3rdAssignment 사용언어 및 프레임워크 : Java8, JQuery, Thymeleaf, JPA, Gradle ... >> // 최적의 임대료 찾기 @Override public void findBestRent(int pageNum, String search, String searchType, Model model) { // 리스트 페이지에 출력해줄 데이터리스트 Page rent = null; // 페이징기능(페이지인덱스번호,페이지 사이즈,정렬방식,정렬할 컬럼이름) Pageable page = PageRequest.of(pageNum - 1, pageSize, Direction.DESC, "rentNo"); int rowTotal = 0; if.. 2023. 4. 27.
modal 모달창에 데이터 전달하기(table tr td , row, closest) 프로젝트명 : 3rdAssignment 사용언어 및 프레임워크 : Java8, JQuery, Thymeleaf, JPA, Gradle ... × 보유 원룸 수가 이고, 방이 매진되는 월 임대료가 일 때 월 임대료를 씩 증액하고 방 하나당 유지비가 이라면 임대되는 방의 개수는 이고 최상 월 임대료는 이며 최고 수익은 입니다 보유 원룸 수 매진 월 임대료 월 임대료 증액 유지비 최상 월 임대료 임대된 원룸 수 최고 수익 자기 이름 내 PC IP 주소 등록 날짜와 시간 작성자로 검색 보유원룸수로 검색 [검색하기] [리셋] [HOME] >> @charset "UTF-8"; /* The Modal (background) */ .modal { display: none; /* H.. 2023. 4. 27.
학원 수업 64일차 221121 9-10 프로젝트명 : springWebSecurity04 https://www.thymeleaf.org/ecosystem.html#thymeleaf-spring-security https://github.com/thymeleaf/thymeleaf-extras-springsecurity#namespace Thymeleaf-based equivalent to the Spring Security JSP tag library. Adds new expression utility objects like #authentication and #authorization for integrating Spring Security capabilities into Thymeleaf expressions. Adds new at.. 2023. 4. 27.
학원 수업 63일차 221118 9-10 OAuth2 Client : 소설로그인을 위한 security 설정 authentication 인증 10-11 csrf https://docs.spring.io/spring-security/reference/5.7.3/servlet/exploits/csrf.html#servlet-csrf-include-form-attr Example 6. CSRF Token in Form with Request Attribute 11-12 (/springWebSecurity04/src/main/java/com/green/nowon/security/CustomUserDetailsService.java) In-Memory Authentication https://docs.spring.io/spring-securit.. 2023. 4. 27.
학원 수업 62일차 221117 9-10 OneToMany? (안쓸수있으면 최대한 안쓰는걸로) ManyToOne? (추천) 물리 DB는 many 테이블에 생김 10-11 (/springWebSecurity03OneToMany/src/test/java/com/green/nowon/SpringWebSecurity03ApplicationTests.java) 댓글작성 void 댓글저장() {} void board를이용한댓글저장() {} 11-12 @Transactional ? 세션유지? OneToMany Board -> Reply 단방향 reply에 접근하는 controller도 BoardController에 만들어야 함 (ReplyController : X) 12-1 orElseThrow() : get과 같은 용도지만 'null이면 말고 n.. 2023. 4. 27.
학원 수업 61일차 221116 9-10 Expression-Based Access Control https://docs.spring.io/spring-security/reference/servlet/authorization/expression-based.html 10-11 수정기능구현 jQuery CDN https://www.w3schools.com/jquery/jquery_get_started.asp Downloading jQuery https://jquery.com/download/ Download the compressed, production jQuery 3.6.1 클릭! 우클릭 후 다른이름으로저장 > tools에 저장 아래 Download the uncompressed, development jQuery 3.6.1 이걸로 다.. 2023. 4. 27.
학원 수업 60일차 221115 9-10 게시글 작성 10-11 https://docs.spring.io/spring-data/jpa/docs/current/reference/html/#appendix.query.method.predicate 게시글 조회, 정렬 11-12 게시글 페이징 12-1 colspan spring data jpa 조회할때 어떤 키워드쓰지? https://docs.spring.io/spring-data/jpa/docs/current/reference/html/#appendix.query.method.subject Optional? 2-3 게시글 글쓰기, security 권한 적용 (/springWebSecurity03/src/main/java/com/green/nowon/security/SecurityConfig.. 2023. 4. 27.
학원 수업 59일차 221114 9-10 https://www.thymeleaf.org/doc/articles/springsecurity.html This content is only shown to authenticated users. This content is only shown to administrators. This content is only shown to users. https://docs.spring.io/spring-security/reference/servlet/authorization/authorize-http-requests.html 스프링 시큐리티 / 서블릿 애플리케이션 / 권한 부여 / HTTP 요청 승인 스프링 시큐리티 / 서블릿 애플리케이션 / 권한 부여 / Expression-Based Access C.. 2023. 4. 27.