Wiki source code of (HTTP)Login Service NG: DomainPasswordLoginService
Version 10.1 by christoph_lechleitner@iteg_at on 2013-02-02 05.21:48
Hide last authors
| author | version | line-number | content |
|---|---|---|---|
| |
1.1 | 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 | |||
| |
3.1 | 9 | == {{id name="DomainPasswordLoginServiceimplementationsandbackends-Implementations"/}}Implementations == |
| |
1.1 | 10 | |
| |
3.1 | 11 | ==== {{id name="DomainPasswordLoginServiceimplementationsandbackends-Currentimplementations"/}}Current implementations ==== |
| |
1.1 | 12 | |
| |
3.1 | 13 | The following implementations are available: |
| |
1.1 | 14 | |
| |
7.1 | 15 | * [[doc:LOGIN.DomainPasswordLoginService implementations and backends.org\.clazzes\.login\.http.WebHome]] |
| |
8.1 | 16 | * [[doc:LOGIN.DomainPasswordLoginService implementations and backends.org\.clazzes\.login\.jaas.WebHome]] |
| |
9.1 | 17 | * [[doc:LOGIN.DomainPasswordLoginService implementations and backends.org\.clazzes\.login\.ldap.WebHome]] |
| |
1.1 | 18 | |
| |
10.1 | 19 | For testing them there is a testpad webapp using [[doc:LOGIN.DomainPasswordLoginService implementations and backends.org\.clazzes\.login\.adapter\.http.WebHome]], see there. |
| |
1.1 | 20 | |
| |
3.1 | 21 | ===== {{id name="DomainPasswordLoginServiceimplementationsandbackends-MavenandSubversionrepository"/}}Maven and Subversion repository ===== |
| |
1.1 | 22 | |
| |
3.1 | 23 | 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"]]. |
| |
1.1 | 24 | |
| |
3.1 | 25 | ==== {{id name="DomainPasswordLoginServiceimplementationsandbackends-Ideasforfutureimplementations"/}}Ideas for future implementations ==== |
| |
1.1 | 26 | |
| |
3.1 | 27 | * org.clazzes.login.jdbc (Standalone using local Database) |
| 28 | * If not out of scope: {{code language="none"}}org.clazzes.login.openid{{/code}} (like provided by Wordpress, Google, Facebook, ...) or Mozilla's upcoming counterpart. | ||
| |
1.1 | 29 | |
| |
3.1 | 30 | == {{id name="DomainPasswordLoginServiceimplementationsandbackends-OSGiwrapperHttpLoginServiceAdapterandTestpad"/}}OSGi wrapper HttpLoginServiceAdapter and Testpad == |
| |
1.1 | 31 | |
| |
10.1 | 32 | 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 a ##[[HttpLoginService>>doc:GWTBASICS.GWT implementations of http-util HttpLoginService.HTTP login service.WebHome]]##. |
| |
1.1 | 33 | |
| |
3.1 | 34 | == {{id name="DomainPasswordLoginServiceimplementationsandbackends-Deprecated/obsoleteHttpLoginServices"/}}Deprecated/obsolete HttpLoginServices == |
| |
2.1 | 35 | |
| |
3.1 | 36 | Current {{code language="none"}}org.clazzes.gwt.login.*{{/code}} 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}}). |
| |
2.1 | 37 | |
| |
1.1 | 38 | |
| |
2.1 | 39 | |
| 40 |