Solved

get weblogic logged in user in java

Posted on 2016-11-03
2
116 Views
Last Modified: 2016-11-03
Hi experts

I want to get a weblogic logged in user and the role they belong to. I would prefer to do this with a servlet. I dont know where to start.
The reason I want to do this is we are trying to troubleshoot Oracle BI SSO configuration as we are not sure if the roles are coming through.
0
Comment
Question by:jw124210
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 86

Expert Comment

by:CEHJ
ID: 41871823
This expert suggested creating a Gigs project.
Weblogic is a commercial product
0
 
LVL 11

Accepted Solution

by:
Radek Baranowski earned 500 total points
ID: 41871824
Hey,

as far as I can read, WebLogic uses JSSE security mechanism. Hence, chasing basic doc you can try to access user credential with:

SecurityManager sm = System.getSecurityManager();
if (sm != null) {
   sm.checkPermission(perm);
}

Open in new window


as per http://docs.oracle.com/javase/7/docs/technotes/guides/security/overview/jsoverview.html

give it a go and let us know if this path seems valid.
0

Featured Post

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
Suggested Courses

632 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