Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 12 Next »

Login Adapter

The login-service-adapter org.clazzes.login.adapter.http listens for providers of the DomainPasswordLoginService interface and exports them adapted as a HttpLoginService (see

It is provided as an OSGi bundle, which may be activated by

obr:deploy http-login-adapter

The maven artifact is:


URL of exported DomainPasswordLoginService/http-login/<login.mechanism>/login
<login.mechanism> beeing i.e. jaas from org.clazzes.login.jaasldap from org.clazzes.login.ldaphttp from org.clazzes.login.http.

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 doTimeZoneDetection=true 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

The login time zone and/or login local may be overwritten using URL parameters to the login service like in the following examples:

login URLremarks
login with the browser's default locale and Los Angeles time zone
login with a timezone with fixed offset and a french locale.
login with a french canadian locale.


There is a small testpad application to play with this adapter.

It is provided as an OSGi bundle, which may be activated by

obr:deploy http-login-testpad

The maven artifact is:



  • No labels