• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Tim Holloway
  • Carey Brown
  • salvin francis

Basic Authentication: Tomcat and WS

 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have to move an application with basic authentication from Tomcat where it is working fine to WS Express 5. While deploying the war file from admin console i mapped the "TestROle" defined in web.xml to machines Adminsitrator Group and Users. But the basic authenticaiton is not active and every resources is accessible without login. binding and application.xml files contains the sercurity constraints tags properly but security is not working.

What am i missing to make basic authentication work?

Thanks for your time.

Asif
 
author
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you turn on global security?

Kyle
 
anyz mick
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yeah that was the problem....i just got solved and was about to update status here. Thank kyle for your reply.

Originally posted by Kyle Brown:
Did you turn on global security?

Kyle

 
Yeast devil! Back to the oven that baked you! And take this tiny ad too:
professionally read, modify and write PDF files from Java
https://products.aspose.com/pdf/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!