JAAS login service

Last modified by wolfgang_glas@iteg_at on 2012-01-19 12.38:36

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

obr:addurl http://maven.clazzes.org/repository.xml

obr:deploy gwt-jaas-login-service

The maven artifact is:

<groupId>org.clazzes.gwt</groupId>

<artifactId>gwt-jaas-login-service</artifactId>

Functionality

The JAAS login service authenticates against users in a JAAS (Java Authentication and Authorization Service) domain.

Configuration

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

org.clazzes.gwt.login.jaas

as shown in the following gwt-config-manager screenshot

Bildschirmfoto 2012-01-18 um 20.53.03.png

The configuration values are

Key

Default Value

Description

defaultDomain

karaf

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