Version 1.1 by christoph_lechleitner@iteg_at on 2012-09-19 04.21:19

Show last authors
1 This describes the design ideas for the next generation of the login service stuff.
2
3 == {{id name="DomainPasswordLoginServiceimplementationsandbackends-BaseinterfaceDomainPasswordLoginService"/}}Base interface DomainPasswordLoginService ==
4
5 The base interface only provides a login verification API, without any HTTP session handling.
6
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
9 We plan the following implmentations now:
10
11 * org.clazzes.login.http
12 * org.clazzes.login.jaas
13 * org.clazzes.login.ldap
14
15 We will create a new svn repository "login".
16
17 For testing:
18
19 * org.clazzes.login.sandbox (Test app to play with the implementations and test the interface in several environments with diverse backends)
20
21 Future ideas for implementations:
22
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
26 == {{id name="DomainPasswordLoginServiceimplementationsandbackends-OSGiwrapperHttpLoginServiceAdapter"/}}OSGi wrapper HttpLoginServiceAdapter ==
27
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
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
32 Package for the wrapper: org.clazzes.login.adapter.http
33
34