• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item5945: restHandlers need to be able to be called without auth.

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine   Normal New   n/a  

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

to completely replace the need for adding new cgi scripts, plugins need to be able to specify that a restHandler can be called without auth, or that if there is no auth, that the user will be redirected to login..

the default registration should continue to require auth - not via apache auth, but selectivly, as for view in an DENYVIEW context, to add authless operation a plugin author has to do so intentionally.

-- TWiki:Main/SvenDowideit - 20 Aug 2008

Can you describe a use case where you'd like to implement a REST handler where auth would be a problem.

-- TWiki:Main.MichaelDaum - 21 Aug 2008

yup. any get operation on a data item that is open to TWikiGuest.

such as a query for 'this month's appointments' in JSON form.

worse, in the current implementation, any rest query made as the first contact from an external 'app' will result in a 401 error - no pointer to the auth url, no possibilities for refunds, nothing.

nother use case - replace the kinosearch cgi script with a handler - search should not necessarily require previous auth - unless its being done on restricted content.

-- TWiki:Main.SvenDowideit - 21 Aug 2008

ItemTemplate
Summary restHandlers need to be able to be called without auth.
ReportedBy TWiki:Main.SvenDowideit
Codebase 4.2.0, 4.2.1, 4.2.2, ~twiki4
SVN Range TWiki-5.0.0, Mon, 18 Aug 2008, build 17431
AppliesTo Engine
Component

Priority Normal
CurrentState New
WaitingFor

Checkins

TargetRelease n/a
ReleasedIn

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r3 - 2008-08-21 - SvenDowideit
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback