java/HrisniciSpameri/web/WEB-INF/web.xml
changeset 34 0e8967c954a0
parent 4 e3e2a3a4c36a
child 38 9bb0a26fd616
     1.1 --- a/java/HrisniciSpameri/web/WEB-INF/web.xml	Sun Feb 15 23:26:27 2009 +0100
     1.2 +++ b/java/HrisniciSpameri/web/WEB-INF/web.xml	Sun Feb 22 18:31:14 2009 +0100
     1.3 @@ -8,5 +8,24 @@
     1.4      <welcome-file-list>
     1.5          <welcome-file>index.jspx</welcome-file>
     1.6          <welcome-file>index.jsp</welcome-file>
     1.7 -        </welcome-file-list>
     1.8 -    </web-app>
     1.9 +    </welcome-file-list>
    1.10 +
    1.11 +    <security-role>
    1.12 +        <role-name>opravneny</role-name>
    1.13 +    </security-role>
    1.14 +
    1.15 +    <security-constraint>
    1.16 +        <web-resource-collection>
    1.17 +            <web-resource-name>Rozhraní pro správu</web-resource-name>
    1.18 +            <url-pattern>/sprava/*</url-pattern>
    1.19 +        </web-resource-collection>
    1.20 +        <auth-constraint>
    1.21 +            <role-name>opravneny</role-name>
    1.22 +        </auth-constraint>
    1.23 +    </security-constraint>
    1.24 +
    1.25 +    <login-config>
    1.26 +        <auth-method>BASIC</auth-method>
    1.27 +        <realm-name>FrantovoLDAP</realm-name>
    1.28 +    </login-config>
    1.29 +</web-app>