LPS:Java-idp-webauth-login-handler

Z HelpDesk
Verze z 3. 11. 2011, 10:37, kterou vytvořil Bodik (diskuse | příspěvky) (Nová stránka: Kategorie:bodikoviny = Webauth Login Handler Installation instructions = == Requirements == == Installation and configuration == Download an...)
(rozdíl) ← Starší verze | zobrazit aktuální verzi (rozdíl) | Novější verze → (rozdíl)


Webauth Login Handler Installation instructions

Requirements

Installation and configuration

Download and build the source (replace X.0 with the last stable version, e.g.: "tags/1.0"):

svn export https://subversds.d..........zcu.cz
cd java-idp-webauth-login-handler
mvn package

IdP - Configuration

Copy the .jar file to the installation folder:

cp target/webauth-login-handler-X.0.jar $IDP_INSTALL_DIR/lib

Configuring the server (tomcat)

In the web-application you have to enable the Webauth login servlet. You do that in $IDP_INSTALL_DIR/src/main/webapp/WEB-INF/web.xml:

<webapp>
(...)
  <servlet>
    <servlet-name>WebauthLoginServlet</servlet-name>
    <servlet-class>cz.zcu.civ.idp.webauth.WebauthLoginServlet</servlet-class>
  </servlet>

  <servlet-mapping>
    <servlet-name>WebauthLoginServlet</servlet-name>
    <url-pattern>/Authn/Webauth</url-pattern>
  </servlet-mapping>
(...)
</webapp>