Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个 grails 项目。现在,用户可以使用 HTTP 或 HTTPS 访问它。我想要求他们只能通过 HTTPS 访问它。有任何想法吗?我确实安装了弹簧安全核心,如果有帮助的话
谢谢杰森
Spring 的核心支持:
grails.plugins.springsecurity.secureChannel.definition = [ '/path/**': 'REQUIRES_SECURE_CHANNEL' ]