Wiki source code of org.clazzes.login.adapter.http
Version 6.1 by christoph_lechleitner@iteg_at on 2013-02-02 05.21:47
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | === {{id name="org.clazzes.login.adapter.http-LoginAdapter"/}}Login Adapter === | ||
| 2 | |||
| 3 | The login-service-adapter {{code language="none"}}org.clazzes.login.adapter.http{{/code}} listens for providers of the ##[[DomainPasswordLoginService>>confluencePage:page:LOGIN.(HTTP)Login Service NG: DomainPasswordLoginService]]## interface and exports them adapted as a ##[[HttpLoginService>>doc:GWTBASICS.GWT implementations of http-util HttpLoginService.HTTP login service.WebHome]]## (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"]]). | ||
| 4 | |||
| 5 | It is provided as an OSGi bundle, which may be activated by | ||
| 6 | |||
| 7 | (% class="code" %) | ||
| 8 | ((( | ||
| 9 | obr:addurl http:~/~/maven.clazzes.org/repository.xml | ||
| 10 | obr:deploy http-login-adapter | ||
| 11 | ))) | ||
| 12 | |||
| 13 | The maven artifact is: | ||
| 14 | |||
| 15 | (% class="code" %) | ||
| 16 | ((( | ||
| 17 | <groupId>org.clazzes.login</groupId> | ||
| 18 | <artifactId>http-login-adapter</artifactId> | ||
| 19 | ))) | ||
| 20 | |||
| 21 | URL of exported {{code language="none"}}DomainPasswordLoginService{{/code}}: {{code language="none"}}/http-login/<login.mechanism>/login{{/code}} | ||
| 22 | <login.mechanism> beeing i.e. {{code language="none"}}jaas{{/code}} from [[doc:LOGIN.DomainPasswordLoginService implementations and backends.org\.clazzes\.login\.jaas.WebHome]], {{code language="none"}}ldap{{/code}} from [[confluencePage:page:OSGI.org.clazzes.login.ldap]], {{code language="none"}}http{{/code}} from [[doc:LOGIN.DomainPasswordLoginService implementations and backends.org\.clazzes\.login\.http.WebHome]]. | ||
| 23 | |||
| 24 | === {{id name="org.clazzes.login.adapter.http-Testpad"/}}Testpad === | ||
| 25 | |||
| 26 | There is a small testpad application to play with this adapter. | ||
| 27 | |||
| 28 | It is provided as an OSGi bundle, which may be activated by | ||
| 29 | |||
| 30 | (% class="code" %) | ||
| 31 | ((( | ||
| 32 | obr:addurl http:~/~/maven.clazzes.org/repository.xml | ||
| 33 | obr:deploy http-login-testpad | ||
| 34 | ))) | ||
| 35 | |||
| 36 | The maven artifact is: | ||
| 37 | |||
| 38 | (% class="code" %) | ||
| 39 | ((( | ||
| 40 | <groupId>org.clazzes.login</groupId> | ||
| 41 | <artifactId>http-login-testpad</artifactId> | ||
| 42 | ))) | ||
| 43 | |||
| 44 |