The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.
Tim Holloway wrote:Actually, the log seems to say that you authenticated, but failed to match an allowed role. And in any event, you apparently didn't define any roles.
Putting "/*" in as a secured URL has problems. It doesn't just screen web page URL requests, it also screens image file URL requests, javascript, css, etc., etc., etc.
Usually you'd want to be a bit more discriminating. Also, I usually like to have an unsecured "welcome" page that tells people what webapp they're talking to and whether they should be using it.
The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.
The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.
Tim Holloway wrote:If I'm not mistaken, you just defined a role and named it "*".
That matches the pattern you'd defined earlier, but I really don't recommend naming a role "*".
The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.
Tim Holloway wrote:Yes, you do have to define a role, but I'd name the role something like "user", not "*".
The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.
Muhammad FAisal khan wrote:I have to define * b/c i am using ldap for authentication and ldap does not return any role like 'user' * defines any role.
Tim Holloway wrote:Yes, you do have to define a role, but I'd name the role something like "user", not "*".
The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.
Tim Holloway wrote:You haven't defined where a user's roles are located. You need either a "roleName" or "userRoleName" attribute on the Realm definition.
The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.