Changes for page HTTP authentication API NG
Last modified by christoph_lechleitner@iteg_at on 2013-02-02 05.47:41
From 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
To version 15.1
edited by christoph_lechleitner@iteg_at
on 2013-02-02 05.47:41
on 2013-02-02 05.47:41
Change comment:
Migrated to Confluence 5.3
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,8 +1,8 @@ 1 1 == {{id name="HTTPauthenticationAPING-Motivation"/}}Motivation == 2 2 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]].3 +{{code language="none"}}org.clazzes.login.http{{/code}} is a the HTTP based implementation of [[DomainPasswordLoginService>>doc:LOGIN.DomainPasswordLoginService implementations and backends.WebHome]]. 4 4 5 -While the old [[HTTP authentication request>>conf luencePage:page:LOGIN.HTTPauthenticationrequests]] 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>>doc:GWTBASICS.GWT implementations of http-util HttpLoginService.HTTP login service.HTTP login service backend-requests API.WebHome]] 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 (EXPERIMENTAL,WORKINPROGRESS)"/}}JSON variants(EXPERIMENTAL, WORK IN PROGRESS)=====64 +===== {{id name="HTTPauthenticationAPING-JSONvariants"/}}JSON variants ===== 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" } 132 +{ "user" : "jdoe", "prettyName" : "John Doe", "eMailAddress" : "jdoe@foo.bar" } 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" } , 272 + { "user" : "leonard", "prettyName" : "Leonard Hofstaetter", "eMailAddress" : "lh@tbbt.foo.bar" } , 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" } 316 +{ "user" : "jdoe", "prettyName" : "John Doe", "eMailAddress" : "jdoe@foo.bar" } 317 317 {{/code}} 318 318 319 319 Not found, with response code 404:
- Confluence.Code.ConfluencePageClass[0]
-
- Id
-
... ... @@ -1,1 +1,1 @@ 1 -6888 731 +688668 - URL
-
... ... @@ -1,1 +1,1 @@ 1 -https://clazzes.atlassian.net/wiki/spaces/LOGIN/pages/6888 73/HTTP authentication API NG1 +https://clazzes.atlassian.net/wiki/spaces/LOGIN/pages/688668/HTTP authentication API NG