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

    AuthorizeCallback

    Antonio Simancas Newbie

      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