Solved

get weblogic logged in user in java

Posted on 2016-11-03
2
40 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
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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…

707 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now