HTTP login service

The http-login-service is provided as an OSGi bundle, which may be activated by

obr:addurl http://maven.clazzes.org/repository.xml
obr:deploy gwt-http-login-service

The maven artifact is:

<groupId>org.clazzes.gwt</groupId>
<artifactId>gwt-http-login-service</artifactId>

Functionality

The HTTP login service authenticates against users in a configured domain using the scheme described in HTTP login service backend-requests API.

Configuration

The HTTP login service may be configured using the OSGi configuration PID

org.clazzes.gwt.login.http

as shown in the following gwt-config-manager screenshot

The configuration values are

KeyDefault ValueDescription
defaultDomain The domain to use for principals, which do not contain a domain.
maxRetries3The maximal number of retries before a user agent is blocked.
sessionTimeout180The session timeout in Minutes to set on the HTTPSession upon successful authentication.
domain.<domain>.controller The server to contact. Supported URL schemes: https.
domain.<domain>.bindpw The password used for HTTP basic authentication before doing the acutal authentication. If empty, no basi auth is performed.
domain.<domain>.binduser The user used for HTTP basic authentication before doing the acutal authentication. If empty, no basi auth is performed.

There might be multiple domains in a configuration.