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 8009739
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T18:31:56+00:00 2026-06-04T18:31:56+00:00

What are common alternatives to using the Tomcat (or Websphere) container-managed security? I have

  • 0

What are common alternatives to using the Tomcat (or Websphere) container-managed security?

I have an unpleasant security library that pulls authorization and authentication from multiple places, and will initially be on Tomcat for early development, followed by late development and production on Websphere. Rather than the hack-a-doo needed to get a custom realm set up through JAAS for Tomcat followed by another hack round on WAS, are there any common alternatives out there?

I’ve only ever done realm-based security on Tomcat. I have seen some interesting home brew approaches such as monitoring a user object in the session http://www.vitarara.org/cms/struts_2_cookbook/creating_a_login_interceptor. I’m also curious how wiki pages (for example) with http://host.com/view.jsp?a_wiki_page manage to keep roles straight since this seems to be commonly needed for wikis and bbs, and maybe this is my solution?

Any advice?

  • 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-06-04T18:31:57+00:00Added an answer on June 4, 2026 at 6:31 pm

    Spring Security offers a comprehensive, container-neutral approach that I have successfully used on both WebSphere and Tomcat (particularly building / testing on Tomcat and deploying on WebSphere).

    What I really like about the framework is that it gives you an application-centric, source-neutral view of the current user and their authorities in the application. So that means that you can load the user and the authorities from anywhere, and only the configuration need be concerned with where it comes from (LDAP, database, property file, in-memory testing object, SAML assertion, etc.)

    It also gives you a lot of fine-grained authorization control (URL-based and method based) that you simply don’t have defined in Java EE Security. You can use regular expressions and Ant-style expressions for pattern matching that you wouldn’t otherwise have. The expression syntax is also quite rich. If you need to do data-specific access control, DDL is provided for you to add to your database and integrate directly into your security.

    Spring Security runs as a filter to all of your requests to the web container using the “/*” URL mapping (or whichever mapping you choose to secure).

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

Sidebar

Related Questions

Common scenario: I have a library that uses other libraries. For example, a math
I have an existing .NET 3.5 based framework that is extended using custom plugins.
I was just think that now it is common to have enough RAM on
I have found as a common issue in any of my apps that the
Common situation: I have a client on my server who may update some of
A common issue I have is getting confused what $(this) is referring to. I
A common question that comes up from time to time in the world of
I've been using eval in my code and I recently found out that there
I am already using unit testing to ensure that all critical bits and pieces
I have been reading up on using Shibboleth 2.0 as a Single Sign On

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.