This week's giveaway is in the JDBC forum.
We're giving away four copies of Java Database Connections & Transactions (e-book only) and have Marco Behler on-line!
See this thread for details.
Win a copy of Java Database Connections & Transactions (e-book only) this week in the JDBC forum!
  • 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 ...
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

Configuring JEE security in tcServer  RSS feed

Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I'm looking to configure JEE security in an application deployed in tcServer. I am using declarative security and have specified security constraints, authoritative constraints and security roles in my deployment descriptor.
I am using a filter class to retrieve the roles for a user from our database and a call to the request object's authoritative API (isUserInRole()) works correctly.
However, I cannot get declarative security to work as all requests to a URL I've constrained are blocked even when I have been assigned the required roles.
Is there something I need to do in tcServer to complete my configuration?

The following is by web.xml config:

<?xml version="1.0" encoding="ISO-8859-1"?>
<web-app version="2.4" xmlns="" xmlns:xsi=""

<display-name>Spring PetClinic</display-name>

<description>Spring PetClinic sample application</description>











<!-- Redirects to "welcome.htm" for dispatcher handling -->

<!-- Displays a stack trace -->



That's my roommate. He's kinda weird, but he always pays his half of the rent. And he gave me this tiny ad:
how do I do my own kindle-like thing - without amazon
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!