1 | <?xml version="1.0" encoding="UTF-8" ?> |
---|
2 | <extensions xmlns="http://base.thep.lu.se/extensions.xsd"> |
---|
3 | <about safe-scripts="1"> |
---|
4 | <name>WebAuthn authentication</name> |
---|
5 | <description> |
---|
6 | A package that makes it possible to use security keys |
---|
7 | that implements the WebAuthn protocol for logging in to BASE. |
---|
8 | </description> |
---|
9 | <version>1.0-beta1</version> |
---|
10 | <min-base-version>3.19.3</min-base-version> |
---|
11 | <copyright>BASE development team</copyright> |
---|
12 | <email>basedb-users@lists.sourceforge.net</email> |
---|
13 | <url>https://baseplugins.thep.lu.se/wiki/net.sf.basedb.webauthn</url> |
---|
14 | </about> |
---|
15 | |
---|
16 | <extension |
---|
17 | id="net.sf.basedb.webauthn.user-edit" |
---|
18 | extends="net.sf.basedb.clients.web.tabcontrol.edit.user" |
---|
19 | > |
---|
20 | <about> |
---|
21 | <name>WebAuthn tab in user edit dialog</name> |
---|
22 | </about> |
---|
23 | <index>5</index> |
---|
24 | <action-factory> |
---|
25 | <factory-class> |
---|
26 | net.sf.basedb.clients.web.extensions.tabcontrol.IncludeContentTabFactory |
---|
27 | </factory-class> |
---|
28 | <parameters> |
---|
29 | <id>webauthn-tab</id> |
---|
30 | <title>WebAuthn</title> |
---|
31 | <tooltip>Register a WebAuthn-compatible security key</tooltip> |
---|
32 | <include>~/edit-user.jsp</include> |
---|
33 | <stylesheet>~/css/webauthn.css</stylesheet> |
---|
34 | <script>~/edit-user.js</script> |
---|
35 | <script>~/webauthn-utils.js</script> |
---|
36 | </parameters> |
---|
37 | </action-factory> |
---|
38 | </extension> |
---|
39 | |
---|
40 | <extension |
---|
41 | id="net.sf.basedb.webauthn.login-form" |
---|
42 | extends="net.sf.basedb.clients.web.login-form" |
---|
43 | > |
---|
44 | <about> |
---|
45 | <name>WebAuthn login form</name> |
---|
46 | </about> |
---|
47 | <index>5</index> |
---|
48 | <action-factory> |
---|
49 | <factory-class>net.sf.basedb.webauthn.WebAuthnLoginFormFactory</factory-class> |
---|
50 | <parameters> |
---|
51 | <stylesheet>~/css/webauthn.css</stylesheet> |
---|
52 | <script>~/webauthn-login.js</script> |
---|
53 | <script>~/webauthn-utils.js</script> |
---|
54 | </parameters> |
---|
55 | </action-factory> |
---|
56 | </extension> |
---|
57 | |
---|
58 | <extension |
---|
59 | id="net.sf.basedb.webauthn.authentication-manager" |
---|
60 | extends="net.sf.basedb.core.authentication-manager" |
---|
61 | > |
---|
62 | <about> |
---|
63 | <name>WebAuthn authentication manager</name> |
---|
64 | </about> |
---|
65 | <index>5</index> |
---|
66 | <action-factory> |
---|
67 | <factory-class>net.sf.basedb.webauthn.WebAuthnAuthenticationManagerFactory</factory-class> |
---|
68 | </action-factory> |
---|
69 | </extension> |
---|
70 | |
---|
71 | |
---|
72 | </extensions> |
---|