Hi,

I get the following warning when I use the CookieAuthenticator

"Challenge scheme HTTP_Cookie not supported by the Restlet engine"

I am using the 2.2 build with the CookieAuthenticator and a SecretVerifier

Is there anything I need to do apart from this

CookieAuthenticator ca = new CookieAuthenticator(root.getContext(), 
        false, "southofx", encryptKey.getBytes());
    
    ca.setLogoutPath("/logout");
    ca.setLoginPath("/login");
    ca.setIdentifierFormName("login");
    ca.setSecretFormName("password");
    ca.setLoginFormPath("/loginf");
    ca.setRedirectQueryName("redir");
    ca.setVerifier(new MyVerifier());
    Router secRoot = new Router(root.getContext());
    secRoot.attach("/loginf", Login.class);
    secRoot.attach("/index", Welcome.class);
    ca.setNext(secRoot);

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2931582

Reply via email to