Skip to content

Realm [com.monkeyk.os.infrastructure.shiro.AuthzRedisRealm@2ac8c111] was unable to find account data for the submitted AuthenticationToken [org.apache.shiro.authc.UsernamePasswordToken  #1

Open
@zhangwonderful

Description

我按照示例创建了clientdetail,系统返回提示:username为test,password也为test,可是用这个用户名和密码登录报以下错误:
Realm [com.monkeyk.os.infrastructure.shiro.AuthzRedisRealm@2ac8c111] was unable to find account data for the submitted AuthenticationToken [org.apache.shiro.authc.UsernamePasswordToken - test, rememberMe=false].
传入参数为:
client_id:ng2-admin
scope:read
response_type:code
redirect_uri:http://localhost:7777/spring-oauth-client/authorization_code_callback
state:7a7e3e00-040d-4425-8894-e6dba766d217
client_secret:
username:test
password:test
没有查出来是什么原因导致的。

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions