Changes for page org.clazzes.login.adapter.http
Last modified by Christoph Lechleitner on 2026-03-26 06.53:36
From version 12.1
edited by wolfgang_glas@iteg_at
on 2013-07-23 09.40:25
on 2013-07-23 09.40:25
Change comment:
There is no comment for this version
To version 2.1
edited by christoph_lechleitner@iteg_at
on 2013-02-02 05.08:58
on 2013-02-02 05.08:58
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. wolfgang_glas@iteg_at1 +XWiki.christoph_lechleitner@iteg_at - Content
-
... ... @@ -1,6 +1,6 @@ 1 1 === {{id name="org.clazzes.login.adapter.http-LoginAdapter"/}}Login Adapter === 2 2 3 -The login-service-adapter {{code language="none"}}org.clazzes.login.adapter.http{{/code}} listens for providers of the ##[[DomainPasswordLoginService>> doc:LOGIN.DomainPasswordLoginServiceimplementations and backends.WebHome]]## interface and exports them adapted as a ##[[HttpLoginService>>doc:GWTBASICS.GWT implementations ofhttp-utilHttpLoginService.HTTP login service.WebHome]]## (see [[https:~~/~~/svn.clazzes.org/svn/util/trunk/http-util/src/main/java/org/clazzes/util/http/sec/HttpLoginService.java>>url:https://svn.clazzes.org/svn/util/trunk/http-util/src/main/java/org/clazzes/util/http/sec/HttpLoginService.java||shape="rect"]]).3 +The login-service-adapter {{code language="none"}}org.clazzes.login.adapter.http{{/code}} listens for providers of the ##[[DomainPasswordLoginService>>confluencePage:page:OSGI.(HTTP)Login Service NG: DomainPasswordLoginService]]## interface and exports them adapted as a ##[[HttpLoginService>>confluencePage:page:LOGIN.HTTP login service]]## (see [[https:~~/~~/svn.clazzes.org/svn/util/trunk/http-util/src/main/java/org/clazzes/util/http/sec/HttpLoginService.java>>url:https://svn.clazzes.org/svn/util/trunk/http-util/src/main/java/org/clazzes/util/http/sec/HttpLoginService.java||shape="rect"]]). 4 4 5 5 It is provided as an OSGi bundle, which may be activated by 6 6 ... ... @@ -19,44 +19,10 @@ 19 19 ))) 20 20 21 21 URL of exported {{code language="none"}}DomainPasswordLoginService{{/code}}: {{code language="none"}}/http-login/<login.mechanism>/login{{/code}} 22 -<login.mechanism> beeing i.e. {{code language="none"}}jaas{{/code}} from [[ doc:LOGIN.DomainPasswordLoginService implementations and backends.org\.clazzes\.login\.jaas.WebHome]], {{code language="none"}}ldap{{/code}} from [[doc:LOGIN.DomainPasswordLoginService implementations and backends.org\.clazzes\.login\.ldap.WebHome]], {{code language="none"}}http{{/code}} from [[doc:LOGIN.DomainPasswordLoginService implementations and backends.org\.clazzes\.login\.http.WebHome]].22 +<login.mechanism> beeing i.e. {{code language="none"}}jaas{{/code}} from [[confluencePage:page:OSGI.org.clazzes.login.jaas]], {{code language="none"}}ldap{{/code}} from [[confluencePage:page:OSGI.org.clazzes.login.ldap]], {{code language="none"}}http{{/code}} from [[confluencePage:page:OSGI.org.clazzes.login.http]]. 23 23 24 - Startingwithversion 1.2.0 of http-login-adapter, the timezoneof the userlogging in isdetermined viajavascriptand propagated to the server as the logintime zone, whentheconfigurationparameter {{code language="none"}}doTimeZoneDetection=true{{/code}}is set.Thelogin timezone may be queried using HttpLoginServer.getTimeZone() or ThreadLocalManager.getLoginTimeZone()when using HttpCheckLoginInterceptor of http-aop-util-1.2.0 or later24 +=== {{id name="org.clazzes.login.adapter.http-Testpad"/}}Testpad === 25 25 26 -The login time zone and/or login local may be overwritten using URL parameters to the login service like in the following examples: 27 - 28 -|=((( 29 -login URL 30 -)))|=((( 31 -remarks 32 -))) 33 -|((( 34 -(% class="code" %) 35 -((( 36 -/http-login/<login.mechanism>/login?tz=America/Los_Angeles 37 -))) 38 -)))|((( 39 -login with the browser's default locale and Los Angeles time zone 40 -))) 41 -|((( 42 -(% class="code" %) 43 -((( 44 -/http-login/<login.mechanism>/login?tz=GMT+01:00&locale=fr 45 -))) 46 -)))|((( 47 -login with a timezone with fixed offset and a french locale. 48 -))) 49 -|((( 50 -(% class="code" %) 51 -((( 52 -/http-login/<login.mechanism>/login?locale=fr-CA 53 -))) 54 -)))|((( 55 -login with a french canadian locale. 56 -))) 57 - 58 -(% style="color: rgb(0,0,0);font-size: 16.0px;line-height: 1.5625;" %)Testpad 59 - 60 60 There is a small testpad application to play with this adapter. 61 61 62 62 It is provided as an OSGi bundle, which may be activated by
- Confluence.Code.ConfluencePageClass[0]
-
- Id
-
... ... @@ -1,1 +1,1 @@ 1 -68890 51 +688906 - URL
-
... ... @@ -1,1 +1,1 @@ 1 -https://clazzes.atlassian.net/wiki/spaces/LOGIN/pages/68890 5/org.clazzes.login.adapter.http1 +https://clazzes.atlassian.net/wiki/spaces/LOGIN/pages/688906/org.clazzes.login.adapter.http