Last modified by wolfgang_glas@iteg_at on 2019-03-06 12.09:20

From version 15.1
edited by christoph_lechleitner@iteg_at
on 2013-07-22 09.55:39
Change comment: There is no comment for this version
To version 2.1
edited by wolfgang_glas@iteg_at
on 2012-09-20 01.50:51
Change comment: There is no comment for this version

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -DomainPasswordLoginService implementations and backends
1 +(HTTP)Login Service NG: DomainPasswordLoginService
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.christoph_lechleitner@iteg_at
1 +XWiki.wolfgang_glas@iteg_at
Content
... ... @@ -1,33 +1,40 @@
1 -(% style="font-size: 10.0pt;line-height: 13.0pt;" %)This page describes The Java interface is org.clazzes.util.sec.DomainPasswordLoginService from (%%)[[https:~~/~~/svn.clazzes.org/svn/util/trunk/clazzes-util/src/main/java/org/clazzes/util/sec/DomainPasswordLoginService.java>>url:https://svn.clazzes.org/svn/util/trunk/clazzes-util/src/main/java/org/clazzes/util/sec/DomainPasswordLoginService.java||style="font-size: 10.0pt;line-height: 13.0pt;" shape="rect"]]
1 +This describes the design ideas for the next generation of the login service stuff.
2 2  
3 -== {{id name="DomainPasswordLoginServiceimplementationsandbackends-DomainPasswordLoginServiceImplementations"/}}DomainPasswordLoginService Implementations ==
3 +== {{id name="DomainPasswordLoginServiceimplementationsandbackends-BaseinterfaceDomainPasswordLoginService"/}}Base interface DomainPasswordLoginService ==
4 4  
5 -==== {{id name="DomainPasswordLoginServiceimplementationsandbackends-Currentimplementations"/}}Current implementations ====
5 +The base interface only provides a login verification API, without any HTTP session handling.
6 6  
7 -The following implementations are available:
7 +The Java interface is org.clazzes.util.sec.DomainPasswordLoginService from [[https:~~/~~/svn.clazzes.org/svn/util/trunk/clazzes-util/src/main/java/org/clazzes/util/sec/DomainPasswordLoginService.java>>url:https://svn.clazzes.org/svn/util/trunk/clazzes-util/src/main/java/org/clazzes/util/sec/DomainPasswordLoginService.java||shape="rect"]]
8 8  
9 -* [[doc:LOGIN.DomainPasswordLoginService implementations and backends.org\.clazzes\.login\.ldap.WebHome]], supporting LDAP backends like ADS
10 -* [[doc:LOGIN.DomainPasswordLoginService implementations and backends.org\.clazzes\.login\.jaas.WebHome]], using container provided JAAS authentication
11 -* [[doc:LOGIN.DomainPasswordLoginService implementations and backends.org\.clazzes\.login\.sql.WebHome]], using any legacy SQL database, i.e. one managed by [[SDS (SQL Directory Service)>>doc:LOGIN.SDS (SQL Directory Service).WebHome]]
12 -* [[doc:LOGIN.DomainPasswordLoginService implementations and backends.org\.clazzes\.login\.http.WebHome]], supporting a HTTP based API and therefore allowing for custom adapters to any backend there is
13 -* [[doc:LOGIN.DomainPasswordLoginService implementations and backends.org\.clazzes\.login\.broker.WebHome]], providing access to all other login services available in the OSGi container, selecting the mechanism by the request's authentication domain
9 +We plan the following implmentations now:
14 14  
15 -For testing them there is a testpad webapp using [[doc:LOGIN.DomainPasswordLoginService implementations and backends.org\.clazzes\.login\.adapter\.http.WebHome]], see there.
11 +* org.clazzes.login.http
12 +* org.clazzes.login.jaas
13 +* org.clazzes.login.ldap
16 16  
17 -===== {{id name="DomainPasswordLoginServiceimplementationsandbackends-MavenandSubversionrepository"/}}Maven and Subversion repository =====
15 +We will create a new svn repository "login".
18 18  
19 -All implementations have the new maven {{code language="none"}}groupId{{/code}}, {{code language="none"}}org.clazzes.login{{/code}}, and a new svn repository: [[https:~~/~~/svn.clazzes.org/svn/login>>url:https://svn.clazzes.org/svn/login/||shape="rect"]].
17 +For testing:
20 20  
21 -==== {{id name="DomainPasswordLoginServiceimplementationsandbackends-Ideasforfutureimplementations"/}}Ideas for future implementations ====
19 +* org.clazzes.login.sandbox (Test app to play with the implementations and test the interface in several environments with diverse backends)
22 22  
23 -* If not out of scope: {{code language="none"}}org.clazzes.login.openid{{/code}} (like provided by Wordpress, Google, Facebook, ...) or Mozilla's upcoming counterpart.
21 +Future ideas for implementations:
24 24  
25 -== {{id name="DomainPasswordLoginServiceimplementationsandbackends-OSGiwrapperHttpLoginServiceAdapterandTestpad"/}}OSGi wrapper HttpLoginServiceAdapter and Testpad ==
23 +* org.clazzes.login.jdbc (Standalone using local Database)
24 +* If not out of scope: org.clazzes.login.openid (like provided by Wordpress, Google, Facebook, ...)
26 26  
27 -The OSGi side for the new login serivce approach consists of one small bundle, [[doc:LOGIN.DomainPasswordLoginService implementations and backends.org\.clazzes\.login\.adapter\.http.WebHome]], that listens for providers of the {{code language="none"}}DomainPasswordLoginService{{/code}} interface and exports them adapted as [[HttpLoginService>>url:http://svn.clazzes.org/svn/util/tags/http-util-1.1.0/src/main/java/org/clazzes/util/http/sec/HttpLoginService.java||shape="rect"]].
26 +== {{id name="DomainPasswordLoginServiceimplementationsandbackends-OSGiwrapperHttpLoginServiceAdapter"/}}OSGi wrapper HttpLoginServiceAdapter ==
28 28  
29 -== {{id name="DomainPasswordLoginServiceimplementationsandbackends-DomainPasswordLoginServicebackendSDS"/}}DomainPasswordLoginService backend SDS ==
28 +The OSGi side exists of one small bundle that listens for providers of the DomainPasswordLoginService interface and exports them adapted as a HttpLoginService (see [[https:~~/~~/svn.clazzes.org/svn/util/trunk/http-util/src/main/java/org/clazzes/util/http/sec/HttpLoginService.java>>url:https://svn.clazzes.org/svn/util/trunk/http-util/src/main/java/org/clazzes/util/http/sec/HttpLoginService.java||shape="rect"]]).
30 30  
31 -We are currently in the process of implementing a backend.
30 +Current LoginServices combining login API and HTTP session handling will become obsolete: gwt-jaas-login-service,gwt-ldap-login-service, gwt-http-login-service ({{code language="none"}}https://svn.clazzes.org/svn/gwt/trunk/gwt-*-login-service{{/code}}).
32 32  
33 -For now see [[http:~~/~~/svn.clazzes.org/svn/sds/trunk/>>url:http://svn.clazzes.org/svn/sds/trunk/||shape="rect"]] (SVN) and [[SDS>>url:https://jira.clazzes.org/browse/SDS||shape="rect"]] (JIRA).
32 +Package for the wrapper: org.clazzes.login.adapter.http
33 +
34 +OSGi-bundle/project name: http-login-adapter
35 +
36 +URL of exported DomainPasswordLoginServices: {{code language="none"}}/http-login/{{/code}}<login.mechanism>{{code language="none"}}/login{{/code}}
37 +
38 +
39 +
40 +
Confluence.Code.ConfluencePageClass[0]
Id
... ... @@ -1,1 +1,1 @@
1 -688756
1 +688794
Title
... ... @@ -1,1 +1,1 @@
1 -DomainPasswordLoginService implementations and backends
1 +(HTTP)Login Service NG: DomainPasswordLoginService
URL
... ... @@ -1,1 +1,1 @@
1 -https://clazzes.atlassian.net/wiki/spaces/LOGIN/pages/688756/DomainPasswordLoginService implementations and backends
1 +https://clazzes.atlassian.net/wiki/spaces/LOGIN/pages/688794/(HTTP)Login Service NG: DomainPasswordLoginService