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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T08:58:40+00:00 2026-05-26T08:58:40+00:00

I have JSP with calling to my Session Bean, I’ve implemented this via JNDI

  • 0

I have JSP with calling to my Session Bean, I’ve implemented this via JNDI InitialContext(). Session Bean class is having a @RolesAllowed annotation with one defined user. I want to restrict users who can call methods of this bean.

Application Sever connected to TAM/WebSEAL via junction. So I can see that authenticated users have defined “iv-user”, “iv-groups”, “iv-creds” http request header values, unauthenticated – don’t. But then I trying to call any of bean methods I’ve got a Security Exception like trying to access as unauthenticated user. Moreover, I don’t see userPrincipal when at the response of request.getUserPrincipal()

How to pass security context from WebSEAL / Tivoli Access Manager into EJB and use it for JAAS annotations?

  • 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-26T08:58:41+00:00Added an answer on May 26, 2026 at 8:58 am

    I’ve found one solution:
    1. Switch WebSphere to use a Standalone LDAP registry, set link as Trusted (actually it not necessary)
    2. Setup LTPA authentication between WAS and WebSEAL
    after these JSP should get security context and pass to the called methods.
    3. Define security constraints inside target web application.

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

Sidebar

Related Questions

I have a Spring MVC Controller class (bean): @Controller @RequestMapping(/index.jsp) public class EjbCaller {
I have a jsp page, which imports another jsp. This import is wrapped into
i have a problem when i run a page.jsp : Exception while calling encodeEnd
I have a text box in index.jsp and after writing something i am calling
I have a drop down in a jsp page having the following code <s:select
I have a jsp page called diary.jsp where the action class associated with it
I have a page index.jsp available at this link https://www.dropbox.com/s/0smy7nlcmilkqt4/index.jsp . This file contains
This question might have been asked many times, I have been having difficulty in
I am new to stackoverflow i have doubt regarding calling jsp from javascript file.
I have a Java bean which stores what I am calling meta data (week

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.