resolved... I use to do this
return new SimpleAuthenticationInfo(username, token, bs, getName());
}
now I do this
return new SimpleAuthenticationInfo(username, token.getCredentials(),
bs, getName());
}
inside my realm authentication routine.
and shiro works
???
