본문 바로가기
반응형

Java/Spring Framework21

[Spring Framework][STS] STS 설치 에러 * 참고: http://stackoverflow.com/questions/25255834/eclipse-sts-welcome-dash-board-error-unable-to-see-welcome-dash-board Eclipse (STS) Welcome dash board error - Unable to see welcome dash board when I am trying start STS (Spring Tool Suite) I am getting this error: Plug-in "org.springsource.ide.eclipse.commons.gettingstarted" was unable to instantiate class "org.springsource.ide.eclipse. stackov.. 2019. 9. 9.
ROOT-CONTEXT.XML과 POM.XML을 같이 설정해보자 지금 현재의 root-context.xml 과 jdbc.properties 파일의 모습은 밑의 그림과 같을 것입니다. A. 현재 root-context.xml 파일 B. 현재 jdbc.properties 파일 위에 그림처럼 되었으면, 이젠 mybatis 사용을 위한 설정을 한번 해보도록 하지요. 1. root-context.xml 파일에 위의 코드를 추가해줍시다. 자 또 빨간줄이 쫙 그였죠? 라이브러리가 필요합니다. pom.xml에 밑에 두개를 추가해줍시다. (추가하는 방법은 7번째 수업에 나와있습니다.) 자 그럼 mybatis가 도대체 뭐냐? 'MyBatis 는 개발자가 지정한 SQL, 저장프로시저 그리고 몇가지 고급 매핑을 지원하는 퍼시스턴스 프레임워크이다. 기존에 jdbc connection, sq.. 2019. 9. 9.
@Annotation / 어노테이션 정리 관련 문서 http://docs.spring.io/spring/docs/current/spring-framework-reference/htmlsingle/ http://docs.spring.io/spring/docs 목차 @Component @Required @Autowired @Qualifier @Resource @Scope @PostConstruct @PreDestroy @Inject @Service @Repository @Controller @RequestMapping @RequestParam @SessionAttributes @RequestBody @ResponseBody @PathVariable 이 글은 스프링 2.x 기준으로 작성되었음. 사용빈도가 높은 어노테이션 위주로 정리. 목차에 없는 항.. 2019. 9. 9.
spring security 파헤치기 (구조, 인증과정, 설정, 핸들러 및 암호화 예제, @Secured, @AuthenticationPrincipal, taglib) 참조문서 https://docs.spring.io/spring-security/site/docs/4.2.7.RELEASE/reference/htmlsingle/#getting-started http://springsource.tistory.com/80 https://okky.kr/article/382738 1. 스프링 시큐리티란? 스프링 시큐리티는 스프링 기반의 어플리케이션의 보안(인증과 권한)을 담당하는 프레임워크이다. 만약 스프링시큐리티를 사용하지 않았다면, 자체적으로 세션을 체크하고 redirect 등을 해야할 것이다. 스프링 시큐리티는 보안과 관련해서 체계적으로 많은 옵션들로 이를 지원해준다. spring security는 filter 기반으로 동작하기 때문에 spring MVC 와 분리되어 관리.. 2019. 9. 6.
반응형