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

From version 11.1
edited by christoph_lechleitner@iteg_at
on 2013-02-02 05.47:40
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,32 +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\.http.WebHome]]
10 -* [[doc:LOGIN.DomainPasswordLoginService implementations and backends.org\.clazzes\.login\.jaas.WebHome]]
11 -* [[doc:LOGIN.DomainPasswordLoginService implementations and backends.org\.clazzes\.login\.ldap.WebHome]]
12 -* [[org.clazzes.login.sql>>confluencePage:page:LOGIN.org.clazzes.login.sql (work in progress)]]
9 +We plan the following implmentations now:
13 13  
14 -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
15 15  
16 -===== {{id name="DomainPasswordLoginServiceimplementationsandbackends-MavenandSubversionrepository"/}}Maven and Subversion repository =====
15 +We will create a new svn repository "login".
17 17  
18 -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:
19 19  
20 -==== {{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)
21 21  
22 -* 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:
23 23  
24 -== {{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, ...)
25 25  
26 -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 ==
27 27  
28 -== {{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"]]).
29 29  
30 -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}}).
31 31  
32 -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 -688828
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/688828/DomainPasswordLoginService implementations and backends
1 +https://clazzes.atlassian.net/wiki/spaces/LOGIN/pages/688794/(HTTP)Login Service NG: DomainPasswordLoginService