Changes for page HTTP authentication API NG
Last modified by christoph_lechleitner@iteg_at on 2013-02-02 05.47:41
From version 11.1
edited by christoph_lechleitner@iteg_at
on 2013-02-02 05.21:47
on 2013-02-02 05.21:47
Change comment:
There is no comment for this version
To version 5.1
edited by christoph_lechleitner@iteg_at
on 2012-11-08 07.13:58
on 2012-11-08 07.13:58
Change comment:
Trying to specify a JSON variant
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -2,7 +2,7 @@ 2 2 3 3 {{code language="none"}}org.clazzes.login.http{{/code}} is a the HTTP based implementation of [[DomainPasswordLoginService>>confluencePage:page:LOGIN.(HTTP)Login Service NG: DomainPasswordLoginService]]. 4 4 5 -While the old [[HTTP authentication request>>confluencePage:page: UTIL.HTTP authentication requeststowardshttp-util's HttpLoginService]] is satisfying for user/password checks, new optional features like group membership queries require new handshakes for the HTTP backend API.5 +While the old [[HTTP authentication request>>confluencePage:page:LOGIN.HTTP authentication requests]] is satisfying for user/password checks, new optional features like group membership queries require new handshakes for the HTTP backend API. 6 6 7 7 This document speficies the next-gen HTTP authentication API. 8 8 ... ... @@ -61,7 +61,7 @@ 61 61 62 62 The server may enforce the use of HTTP basic authentication in order to keep offending servers away from dictionary attacks. 63 63 64 -===== {{id name="HTTPauthenticationAPING-JSONvariants"/}}JSON variants ===== 64 +===== {{id name="HTTPauthenticationAPING-JSONvariants(EXPERIMENTAL,WORKINPROGRESS)"/}}JSON variants (EXPERIMENTAL, WORK IN PROGRESS) ===== 65 65 66 66 A backend may support to return the response in the form of small JSON documents. 67 67 ... ... @@ -129,7 +129,7 @@ 129 129 (% style="color: rgb(0, 0, 0); color: rgb(0, 0, 0)" %)Successful: 130 130 131 131 {{code language="none"}} 132 -{ "user" : "jdoe", "prettyName" : "John Doe" ,"eMailAddress" : "jdoe@foo.bar"}132 +{ "user" : "jdoe", "prettyName" : "John Doe" } 133 133 {{/code}} 134 134 135 135 Not found or problem: See documentation of "searchUser". ... ... @@ -269,7 +269,7 @@ 269 269 270 270 {{code language="none"}} 271 271 [ 272 - { "user" : "leonard", "prettyName" : "Leonard Hofstaetter" ,"eMailAddress" : "lh@tbbt.foo.bar"} ,272 + { "user" : "leonard", "prettyName" : "Leonard Hofstaetter" } , 273 273 { "user" : "penny" } , 274 274 { "user" : "sheldon" } 275 275 ] ... ... @@ -313,7 +313,7 @@ 313 313 Successful, with response code 200: 314 314 315 315 {{code language="none"}} 316 -{ "user" : "jdoe", "prettyName" : "John Doe" ,"eMailAddress" : "jdoe@foo.bar"}316 +{ "user" : "jdoe", "prettyName" : "John Doe" } 317 317 {{/code}} 318 318 319 319 Not found, with response code 404:
- Confluence.Code.ConfluencePageClass[0]
-
- Id
-
... ... @@ -1,1 +1,1 @@ 1 -688 9821 +688873 - URL
-
... ... @@ -1,1 +1,1 @@ 1 -https://clazzes.atlassian.net/wiki/spaces/LOGIN/pages/688 982/HTTP authentication API NG1 +https://clazzes.atlassian.net/wiki/spaces/LOGIN/pages/688873/HTTP authentication API NG