How to find out in a servlet what is my identity (Principal)
Hi,
is there a way to retrieve in a servelt or JSP the name of the weblogic user that
is currently executing the thread? I mean something like in the EJB ctx.getCallerIdentity().
I am using Weblogic 7.0.
Thanks
Zdenek
HttpServletRequest.getUserPrincipal()
"Zdenek" <[email protected]> wrote:
>
>Hi,
>
>is there a way to retrieve in a servelt or JSP the name of the weblogic
>user that
>is currently executing the thread? I mean something like in the EJB ctx.getCallerIdentity().
>I am using Weblogic 7.0.
>
>Thanks
>
>Zdenek
Similar Messages
-
How to find out who calls servlet
I'm working on this little bit for my JSP project where I want the user to be able to change the style of the webpage. I'm doing this by sending the new theme info to the database through a servlet. That part is okay, but I also want to send the user back to the specific jsp page they called the servlet from.
Now how do I find out which page sends the request?http://forum.java.sun.com/thread.jspa?forumID=54&threadID=746355
-
ADF: How to find out which query has taken what time?
Hi,
I have an ADF application which has many SQL queried running on each button click/page load, so how to find out which query is taking what amount of time? So that i can identify the long running queries and modify them to improve the application performance.
Thanks in advance.Hi,
As suggested by Timo,you need to start tracing on oracle.jbo package for getting the SQL queries.But I think the second option suggested by him would be better.You will have to override executeQueryForCollection method in VO Impl class .Pseudo code would be
@Override
Take start time
super.executeQueryForCollection
Take end time -
How to find out what user locked account
We had production type schema account locked this morning. I checked profile which this user belongs and it has 3 times for Failed Login Attempts. My question is how to find out what user had 3 unsuccessful login attempts and lock this account.
Oracle version 8.1.7Assuming that [auditing was enabled|http://download.oracle.com/docs/cd/B19306_01/server.102/b14220/security.htm#sthref2916], the command
AUDIT CONNECT WHENEVER NOT SUCCESSFULThat will write audit records when there is an unsuccessful login. Depending on how you've configured auditing, those records will either be written to the SYS.AUD$ table, in which case you can query them through a few different views, or to a file on the operating system that you can grep.
Justin -
"Web'n'Walk III" Huawei dongle, how to find out what Huawei model it is?
I just bought this "web 'n' walk III" UMTS Modem (USB) made by Huawei. I want to instal it but do not know if the enclosed software is out of date (MobileConnectDriver(2.9.2)) and works under SL. Does anybody know how I find out what type of Huawei dangle it is so I can find the correct software?
any tips as to how to use this smoothly as the stick is to SIM locked and I will use it with a SIM from an other provider (Stick is branded by T-Mobile).I worked out the model number, it is 'hidden' in small print on the back, in a larger number.
-
How to find out what is the lock key for the computer
How to find out what is the lock key for the computer?
You don't.
If you forgot or lost the password, all you can practically do is reset it.
The manner in which you do so depends on what version of OS X you are running. The older versions utilize the reset password utility on your recovery/re-installation disk/drive.
On Lion, you use the following technique to reset the Administrators password:
Boot to your Lion Recovery Partition, by holding down the Option key while starting, and then selecting the Recovery HD as the boot choice.
Once booted, at the top of the screen is a menu ..., select Utilities / Terminal from the menu bar.
In the Terminal window, type “resetpassword” (without the quotes) and press return. A “Reset Password” window will open. Select your boot volume (your SSD drive) if it is not already selected. Select your administrators username from the menu labeled “Select the user account” if it is not already selected. Follow the prompts to reset the password. Restart the computer from the apple menu. -
How to find out what has been restored to a database instance?
I'm using RMAN to back up and restore/recover. How to find out what has been restored/recovered to a database instance?
Oracle version is 11gR2 but compatibility is set to 10.
Edited by: 881656 on Aug 28, 2012 1:54 AMselect output
from V$rman_output
order by stamp;
select *
from V$rman_status
order by start_time desc;
Regards
Asif Kabir
Handle: 881656
Status Level: Newbie
Registered: Aug 25, 2011
Total Posts: 52
Total Questions: *30 (30 unresolved)*
-- please close all the answered threads and mark your helpful post as correct/helpful -
How to find out what generation my Classic is ?
Can anyone advise me how I find out what generation my iPod Classic is ? Is there a website I can check with ?
Many thanks,
ShellHi Niel, the article I get directed to, doesn't really explain the difference between 6th and 7th generation Classics. Is there anywhere (maybe on the Apple website) I can input the Serial Number and Part Number to be exact ?
-
How to find out what Oracle version?
Hi,
Could anyone tell me how to find out what Oracle version is on your AIX/Unix machine? It looks like Oracle Installer doesn't use the native OS installation(installp,pkgadd) process, so I can't use lslpp/pkginfo to find out what filesets are installed.
Thanks
HQ.Hi!
As far ar Oracle version is concerned, you can find it at the database level after connecting to the database
select * from v$version;
i am not sure if there is someway to find at the o/s level.
Good luck
null -
How to find out what are all the change pointers assoicated for an idoc ??
Hi ,
How to find out what are all the change pointers activated for an idoc ??
Thanks,
VarmaVerma,
You can check what are the active Change Pointers for the message type in tcode <b>BD50</b>
Use tcode <b>BD61</b> to check whether change pointers are active or not??
Hope this helps.. -
How to find out what the geniric short forms stand for?
Hi if you see the ThreadLocal class in jdk1.6 it is written like this in doc. ThreadLocal<T> and if you see the method Class.forName() the return type is Class<?> i am just confused a littele bit. how to find out what this <T> and <?> stands for? I mean how do i know that what to pass in their place?
[Start from Here|http://java.sun.com/docs/books/tutorial/extra/generics/index.html]
-
How to find out what option you got
How to find out what option you got because i changed my option from option 1 to option 3 and they said that it will change 31st and i want to find out if it changed how do i do that?
Log on to bt.yahoo.com, and look under the "My Account" section. It tells you what package you're on.
-
How to find out what network an iphone is locked to.
How to find out what network an iphone is locked to.
Assist.The previous owner/seller didn't provide this info?
What does it say at Settings > General > About > Carrier? -
How to find out what version of iTune and iPhoto I have?
How to find out what version of iTune and iPhoto I have?
For each application, launch it and choose About from that application's menu, or control-click its Dock icon, choose Show in Finder, control-click that, and choose Get Info.
(76257) -
How do find out what your network password is if you forgot it?
How do find out what your network password is if you forgot it?
It should be in your Keychain. Find it in Keychain Access.
Maybe you are looking for
-
Phone Software Update: Razr v3c, Bluetooth and iSync...
This morning, I found a software (read: firmware) update for my Razr. I installed the updated and was pleasantly surprised that on my Windows PC the OBEX file transfers started working. (Now I can finally get my pictures off of it.) After getting ups
-
Print out issue for Goods issue document
Dear Friends, I am trying to take a print out for good issue document (Mov. 541) - Necessary settings have been done in customizing of output details WA01 with print parameters Plant/storage location (also maintained same at config. level) -
-
I am having trouble burning a disk
Every time I try to burn a disk the program stops working. Why am I having this problem. I am using vista.
-
I am using Windows XP Service Pak 2. This was working until 2 days ago............. it says that my web browser does not have JavaScript enabled when I am on Ebay and try to look at an item. When I look at Options under Tools, it shows a check mark n
-
Hi, I am installing OCS R2 on a Windows 2000 machine. I am performing a single box installation (I am not using the single box DVD, though). After installing the middle tier, the environment variable ORACLE_HOME was set to the midtier home. (ORACLE_H