Solved

how to do simple HTTP authentication in Struts 2

Posted on 2008-10-24
3
1,105 Views
Last Modified: 2013-11-24
Hello,

How do I get a pop up (http authentication) when someone tries to use my servlet? How can I do simple http authentication using Struts 2? any sample exapmpe?
0
Comment
Question by:nj07869
3 Comments
 
LVL 51

Accepted Solution

by:
ahoffmann earned 500 total points
ID: 22804628
# something as follows in your sites web.xml
 
    BASIC
    protected app
 
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
.htaccess rewrite url with querystring problem 13 75
Problem to setup 18 79
PHP Register global 21 64
countHi challenge 25 84
Over the last year I have answered a couple of basic URL rewriting questions several times so I thought I might as well have a stab at: explaining the basics, providing a few useful links and consolidating some of the most common queries into a sing…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
The viewer will learn how to implement Singleton Design Pattern in Java.
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now