HTTP login servce

Version 1.1 by wolfgang_glas@iteg_at on 2012-01-18 09.31:26

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 authentication requests.

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

Bildschirmfoto 2012-01-18 um 21.29.32.png

The configuration values are

Key

Default Value

Description

defaultDomain

 

The domain to use for principals, which do not contain a domain.

maxRetries

3

The maximal number of retries before a user agent is blocked.

sessionTimeout

180

The 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.