스프링 데이터 JPA를 사용하여 Apache Shiro와 Spring Boot를 통합했습니다. Spring Boot 프로젝트는 this GitHub 레포에 있습니다. 내가 실행하고 나는Shiro with Springboot integration
roleAdmin.getId() 1: null
roleAdmin.getId() 2: 3
Current user is not authenticated.
2016-08-13 09:49:45.715 WARN 10528 --- [lication Thread] o.h.engine.jdbc.spi.SqlExceptionHelper : SQL Error: 0, SQLState: S0022
2016-08-13 09:49:45.716 ERROR 10528 --- [lication Thread] o.h.engine.jdbc.spi.SqlExceptionHelper : Column 'id' not found.
Authentication failed for token submission [org.apache.shiro.authc.UsernamePasswordToken - yunus, rememberMe=false]. Possible unexpected error? (Typical or expected login exceptions should extend from AuthenticationException).
그것은 완전히 인증하지 못하는 다음과 같은 오류를 얻을 응용 프로그램을 인증 할 때
문제
이며, 나는 내 문제를 정교 this의 repo를 만들 수 있었다. 확인 해봐.해결 방법과 비판은 매우 수용 가능합니다.
업데이트
여분의 정보가 내 질문을 명확히 할 필요가, 그냥 물어
그것은 당신 덕분에 작동합니다. 이 문제는 저를 loooong 동안 붙들고 있습니다. –
굉장! Btw, 실행 가능한 예제를 게시하면 많은 도움이되었습니다. 더 많은 사람들이 그렇게한다면 문제를 추적하는 데 약 5 분이 걸렸습니다. :) –