I had the same problem.
If i remember correctly, i solved it by changing the Constructor of my
Custom scheme.
As you can see, the restlet-Engine automatically adds "HTTP_" to your Scheme
name and searches the registered Schemes only for that name. Don't know if
its a bug or intended this way.
Either way, try to change your code like this:

public static final ChallengeScheme MYSCHEME = 
    new ChallengeScheme( 
    "HTTP_MYSCHEME", 
    "MYSCHEME", 
    "A custom challenge authentication scheme."); 


--
View this message in context: 
http://restlet-discuss.1400322.n2.nabble.com/Custom-Challenge-Scheme-tp6434473p6435068.html
Sent from the Restlet Discuss mailing list archive at Nabble.com.

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

Reply via email to