0 Replies Latest reply on Mar 15, 2019 3:22 PM by psimancas

    AuthorizeCallback

    psimancas

      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