Changes for page org.clazzes.login.adapter.http
Last modified by Christoph Lechleitner on 2026-03-26 06.53:36
From version 10.1
edited by wolfgang_glas@iteg_at
on 2013-07-23 09.35:53
on 2013-07-23 09.35:53
Change comment:
There is no comment for this version
To 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
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -21,7 +21,7 @@ 21 21 URL of exported {{code language="none"}}DomainPasswordLoginService{{/code}}: {{code language="none"}}/http-login/<login.mechanism>/login{{/code}} 22 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]]. 23 23 24 -Starting with version 1. 1.0 of http-login-adapter, the timezone of the user logging in is determined via javascript and propagated to the server as the login time zone, when the configuration parameter {{code language="none"}}doTimeZoneDetection=true{{/code}} is set. The login timezone may be queried using HttpLoginServer.getTimeZone() or ThreadLocalManager.getLoginTimeZone() when using HttpCheckLoginInterceptor of http-aop-util-1.2.0 or later24 +Starting with version 1.2.0 of http-login-adapter, the timezone of the user logging in is determined via javascript and propagated to the server as the login time zone, when the configuration parameter {{code language="none"}}doTimeZoneDetection=true{{/code}} is set. The login timezone may be queried using HttpLoginServer.getTimeZone() or ThreadLocalManager.getLoginTimeZone() when using HttpCheckLoginInterceptor of http-aop-util-1.2.0 or later 25 25 26 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 27 ... ... @@ -36,27 +36,27 @@ 36 36 /http-login/<login.mechanism>/login?tz=America/Los_Angeles 37 37 ))) 38 38 )))|((( 39 - 39 +login with the browser's default locale and Los Angeles time zone 40 40 ))) 41 41 |((( 42 - 42 +(% class="code" %) 43 +((( 44 +/http-login/<login.mechanism>/login?tz=GMT+01:00&locale=fr 45 +))) 43 43 )))|((( 44 - 47 +login with a timezone with fixed offset and a french locale. 45 45 ))) 46 46 |((( 47 - 50 +(% class="code" %) 51 +((( 52 +/http-login/<login.mechanism>/login?locale=fr-CA 53 +))) 48 48 )))|((( 49 - 55 +login with a french canadian locale. 50 50 ))) 51 51 52 - \\58 +(% style="color: rgb(0,0,0);font-size: 16.0px;line-height: 1.5625;" %)Testpad 53 53 54 -\\ 55 - 56 - 57 - 58 -=== {{id name="org.clazzes.login.adapter.http-Testpad"/}}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 -6889 331 +688905 - URL
-
... ... @@ -1,1 +1,1 @@ 1 -https://clazzes.atlassian.net/wiki/spaces/LOGIN/pages/6889 33/org.clazzes.login.adapter.http1 +https://clazzes.atlassian.net/wiki/spaces/LOGIN/pages/688905/org.clazzes.login.adapter.http