Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 488011
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T01:39:49+00:00 2026-05-13T01:39:49+00:00

Can I set Tomcat (or my webapp if it’s done that way) to require

  • 0

Can I set Tomcat (or my webapp if it’s done that way) to require SSL for confidentiality of the built-in Form-Based Login mechanism?

i.e. to protect the users credentials, and use standard http for any other transactions?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T01:39:49+00:00Added an answer on May 13, 2026 at 1:39 am

    You can put your login forms in its own directory and just require SSL for the directory,

    <security-constraint>
      <display-name>Login Pages</display-name>
      <web-resource-collection>
         <web-resource-name>Login</web-resource-name>
         <url-pattern>/login/*</url-pattern>
         <http-method>POST</http-method>
      </web-resource-collection>
      <user-data-constraint>
         <transport-guarantee>CONFIDENTIAL</transport-guarantee>
      </user-data-constraint>
    </security-constraint>
    

    Make sure your login form is in this path,

    <login-config>
      <auth-method>FORM</auth-method>
      <form-login-config>
        <form-login-page>/login/form_login.jsp</form-login-page>
        <form-error-page>/login/error.jsp</form-error-page>
      </form-login-config>
    </login-config>
    

    Of course, you need to have a SSL connector setup on your Tomcat.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to run mvn tomcat:run from the command line, but how can I
I'm not sure if this belongs here or on super user. We have set
I'm running the maven repository manager Nexus on Tomcat. When I setup my pom
I'm fairly new to java/eclipse development and I'm having a bit of a problem
I'm trying to practice myself with custom class loaders, and I've some questions. Is
i've posted a similar question here sometime ago and found the solution by downloading
We use Ant to build a Java web application. The application will compile and
I have a use case where my GWT application is running on a client
I am using curl to send xml requests to API from Emailvision. I am
So here's my project: I am building a central interface/dashboard to present the test

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.