JAAS login service

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

The configuration values are

KeyDefault ValueDescription
defaultDomainkarafThe JAAS 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.