Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

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

The maven artifact is:

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

Functionality

The HTTP login service authenticates against users in a configured domain using the scheme described in HTTP authentication API NG.

Configuration

The HTTP login service may be configured using the OSGi configuration PID org.clazzes.login.http using these configuration values:

Key
Description
defaultDomainThe domain to use for principals, which do not contain a domain.
domain.<domain>.controllerUriThe server to contact. Supported URL schemes: https, http.
domain.<domain>.bindUserThe user used for HTTP basic authentication before doing the actual authentication. If empty, no basic auth is performed.
domain.<domain>.bindPasswordThe password used for HTTP basic authentication before doing the actual authentication. If empty, no basic auth is performed.
domain.<domain>.useJsonIf set to "1", the JSON variant of the backend interface is used providing prettyName fields. Supported since 1.2.0.

There might be multiple domains in a configuration.

The term "domain" refers to a login domain, not a DNS domain.