When call this method in HttpServerAuthenticationMechanism:
AuthorizeCallback authorizeCallback = new AuthorizeCallback (username, username);
When I invoke the method always the answer is false and the user and roles are correct in the following way:
identityMap.put ("user", new SimpleRealmEntry (getCredentialsForClearPassword ("passwd"), getAttributesForRoles ("webAdmin"));
what is wrong