Wiki source code of (HTTP)Login Service NG: DomainPasswordLoginService
Version 7.1 by christoph_lechleitner@iteg_at on 2013-02-02 05.21:47
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 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 | == {{id name="DomainPasswordLoginServiceimplementationsandbackends-Implementations"/}}Implementations == | ||
| 10 | |||
| 11 | ==== {{id name="DomainPasswordLoginServiceimplementationsandbackends-Currentimplementations"/}}Current implementations ==== | ||
| 12 | |||
| 13 | The following implementations are available: | ||
| 14 | |||
| 15 | * [[doc:LOGIN.DomainPasswordLoginService implementations and backends.org\.clazzes\.login\.http.WebHome]] | ||
| 16 | * [[confluencePage:page:OSGI.org.clazzes.login.jaas]] | ||
| 17 | * [[confluencePage:page:OSGI.org.clazzes.login.ldap]] | ||
| 18 | |||
| 19 | For testing them there is a testpad webapp using [[confluencePage:page:OSGI.org.clazzes.login.adapter.http]], see there. | ||
| 20 | |||
| 21 | ===== {{id name="DomainPasswordLoginServiceimplementationsandbackends-MavenandSubversionrepository"/}}Maven and Subversion repository ===== | ||
| 22 | |||
| 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"]]. | ||
| 24 | |||
| 25 | ==== {{id name="DomainPasswordLoginServiceimplementationsandbackends-Ideasforfutureimplementations"/}}Ideas for future implementations ==== | ||
| 26 | |||
| 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. | ||
| 29 | |||
| 30 | == {{id name="DomainPasswordLoginServiceimplementationsandbackends-OSGiwrapperHttpLoginServiceAdapterandTestpad"/}}OSGi wrapper HttpLoginServiceAdapter and Testpad == | ||
| 31 | |||
| 32 | The OSGi side for the new login serivce approach consists of one small bundle, [[confluencePage:page:OSGI.org.clazzes.login.adapter.http]], 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]]##. | ||
| 33 | |||
| 34 | == {{id name="DomainPasswordLoginServiceimplementationsandbackends-Deprecated/obsoleteHttpLoginServices"/}}Deprecated/obsolete HttpLoginServices == | ||
| 35 | |||
| 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}}). | ||
| 37 | |||
| 38 | |||
| 39 | |||
| 40 |