Thanks for the input. I was able to get Restlet to recognize my helper. Not 
sure I understand the implications of setting the clientSide boolean value to 
true but anyway what I'm fighting with now is the line in my overridden 
parseResponse method for setting the raw value. Unfortunately when the program 
reached that line at runtime it just loops through these same methods 
indefinitely until it finally overflows:

at 
org.restlet.engine.adapter.HttpRequest.getChallengeResponse(HttpRequest.java:227)
        at 
org.apius.identity.openam.MyAuthenticatorHelper.parseResponse(MyAuthenticatorHelper.java:48)
        at 
org.restlet.engine.security.AuthenticatorUtils.parseResponse(AuthenticatorUtils.java:350)

Perhaps I'm not approaching this the right way. I simply want to 1) register my 
scheme with the engine (which you helped me do), 2) have the framework write 
the WWW-Authenticate header with the appropriate realm on 401s and 3) change 
getRawValue() so that it returns just "<token value>" and not "token=<token 
value>". Any advice?

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

Reply via email to