java/HrisniciSpameri/web/WEB-INF/web.xml
author František Kučera <franta-hg@frantovo.cz>
Sun Mar 01 00:10:46 2009 +0100 (2009-03-01)
changeset 38 9bb0a26fd616
parent 34 0e8967c954a0
permissions -rw-r--r--
Cewolf – knihovna pro grnerování grafů
franta-hg@0
     1
<?xml version="1.0" encoding="UTF-8"?>
franta-hg@0
     2
<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
franta-hg@0
     3
    <session-config>
franta-hg@0
     4
        <session-timeout>
franta-hg@0
     5
            30
franta-hg@0
     6
        </session-timeout>
franta-hg@0
     7
    </session-config>
franta-hg@0
     8
    <welcome-file-list>
franta-hg@4
     9
        <welcome-file>index.jspx</welcome-file>
franta-hg@0
    10
        <welcome-file>index.jsp</welcome-file>
franta-hg@34
    11
    </welcome-file-list>
franta-hg@38
    12
    
franta-hg@38
    13
    <!-- Cewolf – grafy -->
franta-hg@38
    14
    <jsp-config>
franta-hg@38
    15
        <taglib>
franta-hg@38
    16
            <taglib-uri>http://cewolf.sourceforge.net/taglib/cewolf.tld</taglib-uri>
franta-hg@38
    17
            <taglib-location>/WEB-INF/cewolf.tld</taglib-location>
franta-hg@38
    18
        </taglib>
franta-hg@38
    19
    </jsp-config>
franta-hg@34
    20
franta-hg@38
    21
    <servlet>
franta-hg@38
    22
        <description>Servlet pro vykreslování grafů fondů. CeWolf - jFreeChart</description>
franta-hg@38
    23
        <servlet-name>CewolfServlet</servlet-name>
franta-hg@38
    24
        <servlet-class>de.laures.cewolf.CewolfRenderer</servlet-class>
franta-hg@38
    25
        <init-param>
franta-hg@38
    26
            <param-name>storage</param-name>
franta-hg@38
    27
            <param-value>de.laures.cewolf.storage.TransientSessionStorage</param-value>
franta-hg@38
    28
        </init-param>
franta-hg@38
    29
        <init-param>
franta-hg@38
    30
            <param-name>overliburl</param-name>
franta-hg@38
    31
            <param-value>etc/overlib.js</param-value>
franta-hg@38
    32
        </init-param>
franta-hg@38
    33
        <init-param>
franta-hg@38
    34
            <param-name>debug</param-name>
franta-hg@38
    35
            <param-value>true</param-value>
franta-hg@38
    36
        </init-param>
franta-hg@38
    37
        <load-on-startup>1</load-on-startup>
franta-hg@38
    38
    </servlet>
franta-hg@38
    39
franta-hg@38
    40
    <servlet-mapping>
franta-hg@38
    41
        <servlet-name>CewolfServlet</servlet-name>
franta-hg@38
    42
        <url-pattern>/cewolf/*</url-pattern>
franta-hg@38
    43
    </servlet-mapping>
franta-hg@38
    44
    <!-- Cewolf – grafy – konec -->
franta-hg@38
    45
franta-hg@38
    46
    <!-- Bezpečnost -->
franta-hg@34
    47
    <security-role>
franta-hg@34
    48
        <role-name>opravneny</role-name>
franta-hg@34
    49
    </security-role>
franta-hg@34
    50
franta-hg@34
    51
    <security-constraint>
franta-hg@34
    52
        <web-resource-collection>
franta-hg@34
    53
            <web-resource-name>Rozhraní pro správu</web-resource-name>
franta-hg@34
    54
            <url-pattern>/sprava/*</url-pattern>
franta-hg@34
    55
        </web-resource-collection>
franta-hg@34
    56
        <auth-constraint>
franta-hg@34
    57
            <role-name>opravneny</role-name>
franta-hg@34
    58
        </auth-constraint>
franta-hg@34
    59
    </security-constraint>
franta-hg@34
    60
franta-hg@34
    61
    <login-config>
franta-hg@34
    62
        <auth-method>BASIC</auth-method>
franta-hg@34
    63
        <realm-name>FrantovoLDAP</realm-name>
franta-hg@34
    64
    </login-config>
franta-hg@38
    65
    <!-- Bezpečnost – konec -->
franta-hg@34
    66
</web-app>