Wiki source code of org.clazzes.login.sql
Last modified by christoph_lechleitner@iteg_at on 2013-07-15 01.30:42
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | = {{id name="org.clazzes.login.sql-Introduction"/}}Introduction = | ||
| 2 | |||
| 3 | The {{code language="none"}}sql-login-service{{/code}} is provided as an OSGi bundle, which may be activated by | ||
| 4 | |||
| 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 | |||
| 19 | = {{id name="org.clazzes.login.sql-Functionality"/}}Functionality = | ||
| 20 | |||
| 21 | The SQL login service authenticates against users in a SQL database, using configurable SQL queries. | ||
| 22 | |||
| 23 | There are no plans to support authentication domains, because typical standalone login systems do not care for domains. | ||
| 24 | |||
| 25 | = {{id name="org.clazzes.login.sql-Configuration"/}}Configuration = | ||
| 26 | |||
| 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. | ||
| 28 | |||
| 29 | Therefor the configuration depends on the version of {{code language="none"}}sql-login-service{{/code}} used: | ||
| 30 | |||
| 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]] |