Hi Andy,

This isn't really a Stripes question as much as it is a setup question for
securing a Java web application on Tomcat.  If you want your Java web
application to be secured through SSL, you can apply a simple directive in
your web.xml file.  Here is a small example web.xml which will ensure that
your entire application goes through SSL.

<?xml version="1.0" encoding="UTF-8"?>

<web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee"; xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance";    xsi:schemaLocation="
http://xmlns.jcp.org/xml/ns/javaee
http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd"; version="3.1">

... various web.xml entries ...

    <security-constraint>
        <web-resource-collection>
            <web-resource-name>secure-area</web-resource-name>
            <url-pattern>/*</url-pattern>
        </web-resource-collection>
        <user-data-constraint>
            <transport-guarantee>CONFIDENTIAL</transport-guarantee>
        </user-data-constraint>
    </security-constraint>
</web-app>

For information on how to force only certain parts of your application
though SSL, just do a Google search for "web.xml security-constraint ssl".
You'll find a lot of great information out there.

Hope that helps!

-- Rick

On Sat, Oct 24, 2015 at 1:54 PM, Andy Patil <andybpa...@gmail.com> wrote:

> Hi,
>
> I am trying to implement SSL for Login screen for an application. I am
> using Stripes 1.6 with Tomcat 8.0 on Centos 6.5.
>
> I have tried to include the Stripes configuration entries as published in
> the README.txt file from the Stripes-SSL-v5.zip.
>
> Unfortunately Tomcat will not start with those entries. I am sure I need
> some other software to be installed. Is there another jar I am missing?
> Where does the stripes.tld get installed?
>
> I do not see net.sourceforge.stripes.util.UrlParser and
> net.sourceforge.stripes.util.HttpUrlInfo classes mentioned in the
> README.txt file, in stripes-1.6.0.jar.
>
> I need help with:
>
>
>    1. Configuring stripes SSL in Tomcat 8.0
>    2. What additional SSL software needs to be insatalled.
>
> Any help is greatly appreciated.
> Thank You and Regards,
>
> Andy
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users
>
>
------------------------------------------------------------------------------
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to