org.clazzes.login.http
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 |
---|---|
defaultDomain | The domain to use for principals, which do not contain a domain. |
domain.<domain>.controllerUri | The server to contact. Supported URL schemes: https , http . |
domain.<domain>.bindUser | The user used for HTTP basic authentication before doing the actual authentication. If empty, no basic auth is performed. |
domain.<domain>.bindPassword | The password used for HTTP basic authentication before doing the actual authentication. If empty, no basic auth is performed. |
domain.<domain>.useJson | If 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.