Java(154)
-
Spring boot Security 결과값 초기화 방법
session.invalidate()를 수행하면, 모든 값이 초기화 됨
2024.09.08 -
Spring boot Security 각 Class 역할
DaoAuthenticationProvider: 로그인 처리 프로세스 정의SimpleUrlAuthenticationSuccessHandler: 로그인 성공했을 때 처리 로직 정의AuthenticationDetailsSource: ID/Password 이외 추가 항목 생성WebAuthenticationDetails: ID/Password 이외 추가 항목 파라메터 처리
2024.09.08 -
Spring boot Security /logout 실행시, blocked:mixed-content 에러
참고: https://velog.io/@mineru/spring-mixed-content-error Spring Security Redirect Location이 Mixed Content로 차단되는 경우Spring Security Redirect Location으로 HTTP를 내려받았을 때, Mixed Content(Https에서 Http를 호출하는 경우) 이슈가 발생한 경우 처리하는 방법velog.iohttps://insanelysimple.tistory.com/204 spring boot 로그인 실패 시 후속 작업 (리다이렉트)spring boot 로그인 실패 시 후속 작업 (리다이렉트) AuthenticationFailureHandler implements 한 후, @Component 달아주면 됨...
2024.09.03 -
String 배열에 요소 추가
참조: https://codegym.cc/ko/groups/posts/ko.417.java-eseo-baeyeol-e-sae-yosoleul-chugahaneun-bangbeob Java에서 배열에 새 요소를 추가하는 방법오, 자바 배열. 그들은 수백 명의 초보 소프트웨어 개발자들의 열렬한 사랑과 증오의 대상입니다. 이미 초기화된 배열에 요소를 추가하는 것은 불가능하다고... 사실 가능하지만 고전적인 의미codegym.ccorg.apache.commons.lang3 이용Maven org.apache.commons commons-lang3 3.16.0 소스 public static T[] append(T[] array, T element) { return ArrayU..
2024.08.28 -
Spring boot Security logout 호출
Hello thymeleaf!
2024.08.25 -
nslookup 구현
참조https://a-half-human-half-developer.tistory.com/108 [Java] nslookup자바로 nslookup을 구현할 수 있다. public void nslookup(String domain) { InetAddress[] inetaddr = null; try { inetaddr = InetAddress.getAllByName(domain); } catch(Exception e) { e.printStackTrace(); } for (InetAddress inetAddress : inetaddr) { Sysblog.develop-gyuri.cloudhttps://hstory0208.tistory.com/entry/Java%EC%9E%90%EB%B0%94-List%EC%9..
2024.08.23