【发布时间】:2015-11-25 20:55:21
【问题描述】:
我正在使用Spring Oauth 2 来保护 Web 应用程序并实施三足安全系统,当涉及到使用
grant_type=password
我注意到用于获取用户令牌的 URL 是:
Method : POST + Basic-Authentication header for the client
http://host:port/api/oauth/token?grant_type=password&username=xxxxx&password=xxxx
还有我的问题:
这种方法是否足够安全,因为它在 URL 上共享用户的凭据,如果不是,有什么替代或改进?
向主机添加SSL 认证是否可以解决这个问题?
谢谢
【问题讨论】:
标签: java spring spring-security oauth-2.0 spring-security-oauth2