Changes for page org.clazzes.login.adapter.http
Last modified by Christoph Lechleitner on 2026-03-26 06.53:36
From version 14.1
edited by wolfgang_glas@iteg_at
on 2019-03-06 11.43:29
on 2019-03-06 11.43:29
Change comment:
There is no comment for this version
To 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
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,4 +1,4 @@ 1 -=== {{id name="org.clazzes.login.adapter.http- HTTPLoginAdapter"/}}HTTPLogin Adapter ===1 +=== {{id name="org.clazzes.login.adapter.http-LoginAdapter"/}}Login Adapter === 2 2 3 3 The login-service-adapter {{code language="none"}}org.clazzes.login.adapter.http{{/code}} listens for providers of the ##[[DomainPasswordLoginService>>doc:LOGIN.DomainPasswordLoginService implementations and backends.WebHome]]## interface and exports them adapted as a ##[[HttpLoginService>>doc:GWTBASICS.GWT implementations of http-util HttpLoginService.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"]]). 4 4 ... ... @@ -21,13 +21,10 @@ 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. 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 later24 +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 later 25 25 26 -=== {{id name="org.clazzes.login.adapter.http-URLschemeandparameters"/}}URL scheme and parameters === 27 - 28 28 The login time zone and/or login local may be overwritten using URL parameters to the login service like in the following examples: 29 29 30 -(% class="wrapped" %) 31 31 |=((( 32 32 login URL 33 33 )))|=((( ... ... @@ -39,27 +39,27 @@ 39 39 /http-login/<login.mechanism>/login?tz=America/Los_Angeles 40 40 ))) 41 41 )))|((( 42 - loginwith the browser's default locale and Los Angeles time zone39 + 43 43 ))) 44 44 |((( 45 -(% class="code" %) 46 -((( 47 -/http-login/<login.mechanism>/login?tz=GMT+01:00&locale=fr 48 -))) 42 + 49 49 )))|((( 50 - loginwith a timezone with fixed offset and a french locale.44 + 51 51 ))) 52 52 |((( 53 -(% class="code" %) 54 -((( 55 -/http-login/<login.mechanism>/login?locale=fr-CA 56 -))) 47 + 57 57 )))|((( 58 - loginwith a french canadian locale.49 + 59 59 ))) 60 60 61 - === {{id name="org.clazzes.login.adapter.http-Testpad"/}}(% style="color: rgb(0,0,0);font-size: 16.0px;line-height: 1.5625;" %)Testpad(%%) ===52 +\\ 62 62 54 +\\ 55 + 56 + 57 + 58 +=== {{id name="org.clazzes.login.adapter.http-Testpad"/}}Testpad === 59 + 63 63 There is a small testpad application to play with this adapter. 64 64 65 65 It is provided as an OSGi bundle, which may be activated by ... ... @@ -78,57 +78,4 @@ 78 78 <artifactId>http-login-testpad</artifactId> 79 79 ))) 80 80 81 -=== {{id name="org.clazzes.login.adapter.http-Configuration"/}}Configuration === 82 - 83 -The following configuration overview is valid as of version 1.3.0, which will be released around 2013-10-28. 84 - 85 -(% class="wrapped" %) 86 -|=((( 87 -Name 88 -)))|=((( 89 -Description 90 -))) 91 -|((( 92 -doTimeZoneDetection 93 -)))|((( 94 -Set to {{code language="none"}}true{{/code}} for multi-time-zone applications. Defaults to {{code language="none"}}false{{/code}}. 95 -))) 96 -|((( 97 -failureTimeout 98 -)))|((( 99 -Delay penalty after bad login attempts, in {{code language="none"}}ms{{/code}}. Default to 500. 100 -))) 101 -|((( 102 -secureCookie 103 -)))|((( 104 -Wether to flag the session cookie as secure. Defaults to {{code language="none"}}false{{/code}}. 105 -Set to {{code language="none"}}true{{/code}} for {{code language="none"}}https{{/code}}-only operations, which is highly recommended. 106 -))) 107 -|((( 108 -sessionCookie 109 -)))|((( 110 -Name of session cookie. Defaults to {{code language="none"}}LOGIN_SESSION_ID{{/code}}. 111 -))) 112 -|((( 113 -sessionTimeout 114 -)))|((( 115 -Session timeout in minutes. Defaults to {{code language="none"}}180{{/code}} (=3 hours). 116 -))) 117 -|((( 118 -(% class="p1" %) 119 -(% class="s1" %)mailSender 120 -)))|((( 121 -Mail address of the sender of mails for two-factor authentication containing an ephemeral token. 122 -))) 123 -|((( 124 -(% class="p1" %) 125 -(% class="s1" %)smsSender 126 -)))|((( 127 -SMS sender number of SMSes for two-factor authentication containing an ephemeral token. 128 -))) 129 -|((( 130 -(% class="p1" %) 131 -(% class="s1" %)ephemeralOtpSeconds 132 -)))|((( 133 -The lifetime of ephemeral tokens in seconds. 134 -))) 78 +
- Confluence.Code.ConfluencePageClass[0]
-
- Id
-
... ... @@ -1,1 +1,1 @@ 1 -9 425387611 +688933 - URL
-
... ... @@ -1,1 +1,1 @@ 1 -https://clazzes.atlassian.net/wiki/spaces/LOGIN/pages/9 42538761/org.clazzes.login.adapter.http1 +https://clazzes.atlassian.net/wiki/spaces/LOGIN/pages/688933/org.clazzes.login.adapter.http