Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 136
  • Last Modified:

get weblogic logged in user in java

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
jw124210
Asked:
jw124210
1 Solution
 
CEHJCommented:
This expert suggested creating a Gigs project.
Weblogic is a commercial product
0
 
Radek BaranowskiFull-stack Java DeveloperCommented:
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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now