[prev in list] [next in list] [prev in thread] [next in thread]
List: cactus-dev
Subject: [jira] Commented: (CACTUS-224) add the servletredirector tag to the cactify task
From: "Nicolas Chalumeau (JIRA)" <cactus-dev () jakarta ! apache ! org>
Date: 2005-09-02 7:28:12
Message-ID: 2039211522.1125646092427.JavaMail.jira () ajax ! apache ! org
[Download RAW message or body]
[ http://issues.apache.org/jira/browse/CACTUS-224?page=comments#action_12320857 ] \
Nicolas Chalumeau commented on CACTUS-224:
------------------------------------------
I just want to say that no change need to be done in the web.xml except the \
definition of the login-config the security-constraint will be add by the tag.
> add the servletredirector tag to the cactify task
> -------------------------------------------------
>
> Key: CACTUS-224
> URL: http://issues.apache.org/jira/browse/CACTUS-224
> Project: Cactus
> Type: Improvement
> Components: Maven Integration
> Versions: 1.7
> Reporter: Nicolas Chalumeau
> Assignee: Nicolas Chalumeau
> Attachments: patch.diff
>
> To allow authentification the servletredirector tag need to be add to the cactify \
> task ie : <cactifywar version="2.3" destfile="${cactus.war}">
> ...
> <servletredirector name="ServletRedirectorSecure"
> mapping="/ServletRedirectorSecure"
> roles="RoleBase"/>
> The roles can be a plugin property...
> This make the howto_security sample works for me without adding anything to the \
> web.xml except the contraint/role definition : <security-constraint>
> <web-resource-collection>
> <web-resource-name>SecurityRestriction</web-resource-name>
> <url-pattern>/*</url-pattern>
> </web-resource-collection>
> <auth-constraint>
> <role-name>RoleBase</role-name>
> </auth-constraint>
> </security-constraint>
> <login-config>
> <auth-method>FORM</auth-method>
> <realm-name>Zone protégée</realm-name>
> <form-login-config>
> <form-login-page>/logon.html</form-login-page>
> <form-error-page>/logonerror.html</form-error-page>
> </form-login-config>
> </login-config>
>
> <security-role>
> ...
> </security-role>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: cactus-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-dev-help@jakarta.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic