Are you running in debug model? this config is only used when spring
profile config is 'testing'.

and you can see the log printed for detail happened.

On Fri, Apr 15, 2016 at 10:14 AM, jyzheng <[email protected]> wrote:

>
>
> I have added user according to Kylin doc.
>
>
>
> Generate password:
>
>
>
> String password = "KYLIN";
>
> org.springframework.security.crypto.password.PasswordEncoder encoder
>
>    = new
> org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder();
>
> String encodedPassword = encoder.encode(password);
>
>
>
> And add user in kylinSecurity.xml:
>
>
>
> <scr:user name="xxx"
> password="$2a$10$My09I3gNoQY0lyOx6ljFZeCTvjpXIWlN5ScHhMUqaYA6dNQBtJxd6"
> authorities="ROLE_MODELER, ROLE_ANALYST" />
>
>
>
> But unable to login.
>
>
>
>
>
>
>
>
>
> --------------------------------
>
> 郑江雨  云平台
>
> Phone: 15155195496
>
>
>

Reply via email to