Changeset 2256


Ignore:
Timestamp:
Feb 27, 2014, 11:18:36 AM (9 years ago)
Author:
Nicklas Nordborg
Message:

References #580: Authenticate users using YubiKey? sticks

Adding extension that customizes the login form for YubiKey? usage.

Location:
extensions/net.sf.basedb.yubikey/trunk
Files:
7 added
3 edited

Legend:

Unmodified
Added
Removed
  • extensions/net.sf.basedb.yubikey/trunk/.classpath

    r2252 r2256  
    55  <classpathentry kind="lib" path="lib/base-core-3.3.0.jar"/>
    66  <classpathentry kind="lib" path="META-INF/lib/yubico-validation-client2-2.0.1.jar"/>
     7  <classpathentry kind="lib" path="lib/base-webclient-3.3.0.jar"/>
    78  <classpathentry kind="output" path="bin"/>
    89</classpath>
  • extensions/net.sf.basedb.yubikey/trunk/META-INF/extensions.xml

    r2252 r2256  
    2525      <factory-class>net.sf.basedb.yubikey.YubiKeyAuthenticationManagerFactory</factory-class>
    2626    </action-factory>
     27  </extension>
     28 
     29  <extension
     30    id="net.sf.basedb.yubikey.login-form"
     31    extends="net.sf.basedb.clients.web.login-form"
     32    >
     33    <about>
     34      <name>UbiKey login form</name>
     35    </about>
     36    <index>1</index>
     37    <action-factory>
     38      <factory-class>net.sf.basedb.yubikey.YubiKeyLoginFormFactory</factory-class>
     39      <parameters>
     40        <stylesheet>~/css/yubico.css</stylesheet>
     41      </parameters>
     42    </action-factory>
    2743 
    2844  </extension>
     45 
    2946</extensions>
  • extensions/net.sf.basedb.yubikey/trunk/build.xml

    r2249 r2256  
    127127      <fileset dir="${build}" />
    128128      <fileset dir="." includes="META-INF/**" />
     129      <fileset dir="." includes="resources/**" />
    129130    </jar>
    130131  </target>
     
    136137    <available classname="net.sf.basedb.core.Application"
    137138      classpathref="classpath" property="base-core" />
     139    <available classname="net.sf.basedb.clients.web.Base"
     140      classpathref="classpath" property="base-web" />
    138141
    139142    <fail unless="base-core" message="Can't find base-core-${depend.base-version}.jar in ./lib/compile. Try 'ant download-lib' to download the missing file." />
     143    <fail unless="base-web" message="Can't find base-webclient-${depend.base-version}.jar in ./lib/compile. Try 'ant download-lib' to download the missing file." />
    140144    <echo>Found base-core-${depend.base-version}.jar.</echo>
     145    <echo>Found base-webclient-${depend.base-version}.jar.</echo>
    141146  </target>
    142147 
     
    153158    </echo>
    154159    <download-lib file="base-core-${depend.base-version}.jar" />
     160    <download-lib file="base-webclient-${depend.base-version}.jar" />
    155161  </target>
    156162 
Note: See TracChangeset for help on using the changeset viewer.