0
스프링 보안 3.2.5 및 톰캣 7을 사용하고 있습니다. 인증이 필요한 페이지를 https를 통해 원격 서버에 입력하려고하면 기본 스프링 보안 로그인 양식으로 리디렉션되지 않습니다. .스프링 보안 https 인증
내 security.xml :
<security:intercept-url pattern="/**"
access="isAuthenticated()" requires-channel="https"/>
<security:port-mappings>
<!-- Default ports -->
<security:port-mapping http="8080" https="443" />
</security:port-mappings>
오류 내가 갖는 :
Google Chrome's connection attempt to X.X.XXX.42 was rejected. The website may be down, or your network may not be properly configured.ERR_CONNECTION_REFUSED
내가이 튜토리얼을 따라하려고 : Link
인용문
당신은 server.xml의 HTTPS 커넥터를 사용할 수 있나요? 방화벽에 포트 443이 있습니까? – Stefan
예. https가 리디렉션을 작동하지 않습니다 – lior
http를 통해 로그인 페이지에 액세스 할 수 있습니까? – Stefan