Wiki source code of org.clazzes.login.sql

Last modified by christoph_lechleitner@iteg_at on 2013-07-15 01.30:42

Hide last authors
christoph_lechleitner@iteg_at 10.1 1 = {{id name="org.clazzes.login.sql-Introduction"/}}Introduction =
christoph_lechleitner@iteg_at 1.1 2
christoph_lechleitner@iteg_at 10.1 3 The {{code language="none"}}sql-login-service{{/code}} is provided as an OSGi bundle, which may be activated by
4
christoph_lechleitner@iteg_at 1.1 5 (% class="code" %)
6 (((
7 obr:addurl http:~/~/maven.clazzes.org/repository.xml
8 obr:deploy sql-login-service
9 )))
10
11 The maven artifact is:
12
13 (% class="code" %)
14 (((
15 <groupId>org.clazzes.login</groupId>
16 <artifactId>sql-login-service</artifactId>
17 )))
18
christoph_lechleitner@iteg_at 10.1 19 = {{id name="org.clazzes.login.sql-Functionality"/}}Functionality =
christoph_lechleitner@iteg_at 1.1 20
christoph_lechleitner@iteg_at 2.1 21 The SQL login service authenticates against users in a SQL database, using configurable SQL queries.
christoph_lechleitner@iteg_at 1.1 22
christoph_lechleitner@iteg_at 2.1 23 There are no plans to support authentication domains, because typical standalone login systems do not care for domains.
24
christoph_lechleitner@iteg_at 10.1 25 = {{id name="org.clazzes.login.sql-Configuration"/}}Configuration =
christoph_lechleitner@iteg_at 1.1 26
christoph_lechleitner@iteg_at 10.1 27 With version 1.2 we introducted a new feature (support for multiple authentication domains covered by distinct databases) and switched to [[JDBC-Provider>>doc:UTIL.Multi-DataSource pooling with JDBC-Provider.WebHome]] as DataSource pool.
christoph_lechleitner@iteg_at 1.1 28
christoph_lechleitner@iteg_at 10.1 29 Therefor the configuration depends on the version of {{code language="none"}}sql-login-service{{/code}} used:
christoph_lechleitner@iteg_at 8.1 30
christoph_lechleitner@iteg_at 10.1 31 (% style="list-style-type: square;" %)
32 * [[doc:LOGIN.DomainPasswordLoginService implementations and backends.org\.clazzes\.login\.sql.Configuring org\.clazzes\.login\.sql 1\.0 to 1\.1.WebHome]]
33 * [[doc:LOGIN.DomainPasswordLoginService implementations and backends.org\.clazzes\.login\.sql.Configuring org\.clazzes\.login\.sql 1\.2+.WebHome]]