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.
as far as I can read, WebLogic uses JSSE security mechanism. Hence, chasing basic doc you can try to access user credential with:
as per http://docs.oracle.com/javase/7/docs/technotes/guides/security/overview/jsoverview.html
Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects.
Interface Comparable is used to allow objects of a cl…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Viewers will learn one way to get user input in Java.
Introduce the Scanner object:
Declare the variable that stores the user input:
An example prompting the user for input:
Methods you need to invoke in order to properly get user input: