Redux to a really old thread

Hi,
I've been trying to research how I can, in my JSP code, display whether or not a login has occurred from within a portlet.
I found the following post from 2002 that seems to explain what is actually required when "login required" is enabled on a portlet:
http://forums.bea.com/bea/message.jspa?messageID=202296793&tstart=0
So, I started to look at adding some code to display information from PortalSession, but it looks like that class is no longer available in WebLogic.
What I DID find is a class called "SessionHelper", which has a method called "getAuthenticatedUserId()". My question is:
Is it true that if SessionHelper.getAuthenticatedUserId() is null that I can say that a user has NOT logged into the portal and conversely, that if SessionHelper.getAuthenticatedUserId() is not null that a user HAS logged into the portal?
Thanks,
Jim

Hi,
Luckily, I was able to find what I mentioned. This is from:
http://forums.bea.com/bea/thread.jspa?threadID=200078633&messageID=202434979&start=0
"In portals, you can also use the
com.bea.p13n.usermgmt.SessionHelper.getUserId() method, which will take
into account several other portal-specific factors, such as tracked
anonymous users, by looking in the user profile in the session.
Additionally, there's SessionHelper.getAuthenticatedUserId(), which is
utility method that does the null-check on request.getUserPrincipal()."

Similar Messages

  • Rman want really old logsequence for recover

    Hello,
    Red Hat x86 - 5
    Oracle 10.2.0.2
    I have restored a database to a new host from tape, not a duplicate, but a controlfile restore, and then restore.
    run
    ALLOCATE CHANNEL ch0 TYPE 'SBT_TAPE' PARMS 'ENV=(NB_ORA_SERV=xxxxx, NB_ORA_CLIENT=xxx, NB_ORA_POLICY=xxx)';
    ALLOCATE CHANNEL ch1 TYPE 'SBT_TAPE' PARMS 'ENV=(NB_ORA_SERV=xxxxx, NB_ORA_CLIENT=xxx, NB_ORA_POLICY=xxx)';
    restore database CHECK READONLY;
    RELEASE CHANNEL ch0;
    RELEASE CHANNEL ch1;
    }It works fine, and when i try to start recover with this command, the time stamp is after last backup, but not after last archived redo log is backed up (hence all redo logs is on tape)
    run
    ALLOCATE CHANNEL ch0 TYPE 'SBT_TAPE' PARMS 'ENV=(NB_ORA_SERV=xxxxx, NB_ORA_CLIENT=xxx, NB_ORA_POLICY=xxx)';
    ALLOCATE CHANNEL ch1 TYPE 'SBT_TAPE' PARMS 'ENV=(NB_ORA_SERV=xxxxx, NB_ORA_CLIENT=xxx, NB_ORA_POLICY=xxx)';
    set until time "to_date('June 22 2010 23:55:00','Mon DD YYYY HH24:MI:SS')";
    RECOVER DATABASE;
    RELEASE CHANNEL ch0;
    RELEASE CHANNEL ch1;
    }This should work fine, however he ask for some really old crappy log:
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 06/28/2010 16:12:13
    RMAN-06053: unable to perform media recovery because of missing log
    RMAN-06025: no backup of log thread 1 seq 41538 lowscn 101774536598 found to restore
    RMAN-06025: no backup of log thread 1 seq 41537 lowscn 101774528933 found to restore
    RMAN-06025: no backup of log thread 1 seq 41536 lowscn 101774024733 found to restoreThis 415** logs are really old, probably 2-3 years, from some old datafile we dropped before i think (before my time)
    I have tried to manually restore the logsequences i need, and it work fine, so netbackup and commands are fine, this one work:
    run
    ALLOCATE CHANNEL ch0 TYPE 'SBT_TAPE' PARMS 'ENV=(NB_ORA_SERV=xxxxx, NB_ORA_CLIENT=xxx, NB_ORA_POLICY=xxx)';
    ALLOCATE CHANNEL ch1 TYPE 'SBT_TAPE' PARMS 'ENV=(NB_ORA_SERV=xxxxx, NB_ORA_CLIENT=xxx, NB_ORA_POLICY=xxx)';
    set archivelog destination to '/flasharea2/flash_recovery_area/xxxx/';
    restore archivelog from logseq 41871 until logseq 41875;
    RELEASE CHANNEL ch0;
    RELEASE CHANNEL ch1;
    }So how can i know why he wants some old logsequences, and how can i identifiy to what this belong, and what can i do to stop this from happening?
    Thanks for any help!

    Chinar wrote:
    This 415** logs are really old, probably 2-3 years, from some old datafile we dropped before i think (before my time)
    How you dropped datafile? did you use offline drop? If yes thus reason is this.Hello, the one who dropped it does not work here anymore, but it seems like it was offline drop!
    If find this in controlfile (backuped to trace):
    -- Take files offline to match current control file.
    ALTER DATABASE DATAFILE '/data2/oracle/xxx/data-file-name' OFFLINE DROP;How can i fix this? :(

  • Hi friends i have mac ibook g4 i know its a really old model but its perfectly fine it has installed mac os x 10.5.8 ok whenever i copy and paste any thing it says no free space weather i copy from folder to desktop or from usb to mac plz help plz

    hi friends i have mac ibook g4 i know its a really old model but its perfectly fine it has installed mac os x 10.5.8 ok whenever i copy and paste anything it says no free space weather i copy from folder to desktop or from usb to mac plz help plz

    There is no download for 10.4.x or 10.5.x, there is a very slim chance you can get 10.5 by calling Apple, but usually you can only get it on eBay & such.
    Tiger Requirements...
    To use Mac OS X 10.4 Tiger, your Macintosh needs:
        * A PowerPC G3, G4, or G5 processor
        * Built-in FireWire
        * At least 256 MB of RAM (I recommend 1GB minimum)
        * DVD drive (DVD-ROM), Combo (CD-RW/DVD-ROM) or SuperDrive (DVD-R) for installation
        * At least 3 GB of free disk space; 4 GB if you install the XCode 2 Developer Tools  (I recommend 20GB minimum)
    http://support.apple.com/kb/HT1514
    http://www.ebay.com/sch/i.html?_nkw=mac+os+x+tiger+retail+10.4
    See Tom's, (Texas Mac Man), great info on where/how to find/get Tiger...
    https://discussions.apple.com/message/15305521#15305521
    Or Ali Brown's great info on where/how to find/get Tiger...
    http://discussions.apple.com/thread.jspa?messageID=10381710#10381710
    Leopard requirements/10.5.x...
        *  Mac computer with an Intel, PowerPC G5, or PowerPC G4 (867MHz or faster) processor
    minimum system requirements
        * 512MB of memory (I say 1.5GB for PPC at least, 2-3GB minimum for IntelMacs)
        * DVD drive for installation
        * 9GB of available disk space (I say 30GB at least)
    Classic/OS9 Apps no longer supported.
    May be available from Apple again...
    https://discussions.apple.com/thread/4720126?tstart=0
    Trouble is Apple no longer sells it, check eBay & such for the Retail version, not the Gray Discs...
    http://www.ebay.com/sch/i.html?_nkw=mac+os+x+leopard+retail+10.5
    Now, for your Trash problem, see if this helps...
    Solving Trash Problems...
    http://thexlab.com/faqs/trash.html

  • Can't the old threads closed automatically?

    Hi,
    I am just thinking why can't the old threads closed automatically?
    There are lot of old threads which might got resolved OR might not have proper responses, appearing in every forum.
    If we have a functionality which close the thread with a tag "Expired" after 5 days (from the query raised date), that can help all of the volunteers.
    I do not see any benefit in keeping those threads active!
    Regards,
    Nick Loy

    If you work in a bigger company, then 5 days are almost nothing.
    SAP has such a nice CHarm process to make the environment secure, that means you cant even start developing something without having an approved change request. Not to talk about testing.
    Of course there are discussions which can be be closed immediately, others need weeks, some months.  I still get some helpful and correct answer points from answers I had given years ago.
    Without the "automatic" closure, you actually have evidence if the user takes care about his stuff or not, the auto closure makes this unresponsive user just look equal to someone who cares. Even more bad.  There is no real filter function in SCN to search only for answered questions, and you would miss a lot answered discussions which are not techncially marked answered.
    I actually had some spare time last weekend, and I reviewed ANY discussions posted between May 15 and May 30 in the MM forum having an answer and have not been closed  . I wrote a single direct message and included all OPs into the distribution list:
    You posted a question in SCN MM forum in last week of May. This question is still open despite of many answers. Is the issue really open and you don't follow up on it? If not open then please close your discussion. If you found the solution yourself, then share it. Check out the blog post 'How to close a discussion and why' in SCN.
    Yes I had some good responses to the direct message. Yes some of them have closed their discussion from May, quite a few posted a solution. Some do not understand at all what "correct answer" actually means and marked their own "thank you" as correct answer. And some others which are already known as careless did neither respond nor close any of their discussions, they are just going on and posting the next question.

  • Links from old threads are not parsing in new "Communities" Forum - Fail!

    As much as I am yet to be impressed with the new Communities look and feel this is functional aspect which need to be patched by Apple, and fast.
    Old threads used the [Anchor text | uri link] syntax to define hyperlinked text. The new Communittees site is not parsing it correctly so old threads are full of this syntax in plain text — NOT PARSED to create links.
    Everybody in QA and beta testing on this Forum Site at Apple needs a rocket under there ares for this very basic miss.(presumably it was made at Apple although I know RADAR is outside-ware)

    [text | uri ] not parsed:
    https://discussions.apple.com/message/13304539#13304539
    Ridiculous cascade threading because of massive changes to the style of boards. Column's of text in this thread are now down to as little as 3 char wide:
    https://discussions.apple.com/message/13333695#13333695
    Apple this really *****. Totally apart from the look and feel of Communities which I'm reserving judgement on until I give a fair trial (but so far that ***** even more than the parsing junk). Why everything except the box I'm typing in has to be oversized to Duplo scale (are kindergarten kids using Communities already?) semi-bold font-face I can't guess.

  • Pages? Can I open really old Claris Works documents with it? I don't want to spend $20 to find out.

    Pages? Can I open really old Claris Works documents with it? I don't want to spend $20 to find out. I saved a bunch of stuff back in 1996, and now i need to open it.

    Pages opens strictly word processing AppleWorks v6 files.
    The problem with ClarisWorks files were they could contain all sorts of objects from databases to spreadsheets, drawings and paint. the iWork suite is not that versatile.
    But you really have little choice as ClarisWorks and AppleWorks are both history. If you are going to switch, the sooner the better.
    Just keep in mind what Apple did to ClarisWorks/AppleWorks along with many other of their appliactions and technologies theywill ultimately do to Pages.
    Peter

  • HT2731 How do I remove an email address that is no longer vaild for the iTunes Store?  A really old email address keeps popping up on my iPhone, the email address is not valid and I have no idea what the password was.  It's been over two years.

    How do I remove an email address that is no longer vaild for the iTunes Store or my iPhone?  A really old email address keeps popping up on my iPhone, the email address is not valid and I have no idea what the password was.  It's been over two years.

    Hello tcnolen1,
    It sounds like you are trying to change the Apple ID logged into the iTunes & App Stores on your iPhone.  Use these steps:
    Changing your Apple ID account
    Tap Settings > iTunes & App Stores, then tap the Apple ID signed in.
    Sign out of the current Apple ID account and then sign in with another account or create a new Apple ID.
    You can find the full article here:
    iOS: Changing the signed-in iTunes Store Apple ID account
    http://support.apple.com/kb/ht1311
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • I have a really old Itunes account.  I no longer have the email and when I go to put in my birthday it is coming up wrong because the birthday on the account does not have a year.  How can I fix this?

    I have a really old Itunes account.  I no longer have the email and when I go to put in my birthday it is coming up wrong because the birthday on the account does not have a year.  How can I fix this?  I have about 70 downloaded songs on this log in that I would like to get back.
    Thank you in advance.

    Contact iTunes customer support.

  • I'm new to mac. Just started out. Have OS 10.8.3. I have an HP 1315 printer.  It prints and copies, wont scan.  I see old threads on this, nothing recent.  ?can i make this work, or do i need a new printer??

    I'm new to mac. Just started out. Have OS 10.8.3. I have an HP 1315 printer.  It prints and copies, wont scan.  I see old threads on this, nothing recent.  ?can i make this work, or do i need a new printer??

    Hi Newbie111
    I see that you are unable to scan with the Photosmart 1315.
    What driver are you using?
    The driver listed in the url below is a basic print driver that will allow you to print only.
    http://h10025.www1.hp.com/ewfrf/wc/softwareDownloadIndex?softwareitem=ps242muc&c c=us&dlc=en&lc=en&os=1006&product=61956&sw_lang=
    You can try using the apple drivers in the url below.
    http://support.apple.com/kb/DL907
    If you have any further issues please let me know.

  • I started to update my ipad but I have an old MacBook and it's really old and I don't have the correct software to update anything. But my ipad is stuck on the connect to itunes screen and wont budge. What do I do?!

    I started to update my ipad but I have an old MacBook and it's really old and I don't have the correct software to update anything. But my ipad is stuck on the connect to itunes screen and wont budge. What do I do?!

    Your options depend on which MacBook you have and the version of OS X installed.
    To find out:  > About This Mac

  • Can someone please help. I have a really old MacBook that is running really slow. I want to wipe everything and reinstall the latest software but don't know how to do this. Also is there a way of keeping Microsoft Office when doing this? Thanks in advance

    Can someone please help. I have a really old MacBook that is running really slow. I want to wipe everything and reinstall the latest software but don't know how to do this. Also is there a way of keeping Microsoft Office when doing this? Thanks in advance

    You do realise that wiping the disk means that everything on the disk is erased. Everything. Photos, music, emails, ...
    So the first piece of advice is to make sure you have a back up of everything.
    You need the OS disk to reintsall the operating system. You will use that disk first to erase the drive, then to reinstall the OS.
    Here's the link for the US.  http://store.apple.com/us/product/MC573/mac-os-x-106-snow-leopard
    As for MS Office, you will need the original disk that it came on to reinstall it.

  • How do you connect Retina to really old TV?

    I have a Retina, Mid 2012, and would like to connect it to a really old TV that only has Composite and S-Video inputs. I don't need audio just picture. I have a mini display port to DVI adapter. Can I buy a DVI to RCA cable/adapter or does the retina not send the proper analog signal via the mini display port? If it does not, I would need some kind of break out box or i/o board. Can you recommend any inexpensive options? Thanks!

    i am not sure what to do. do you need any special
    cables.
    my tv is relatively new
    Connecting an iPod w/Video to a TV is a relatively simple task.
    First you'll need a video patch cable with 3 RCA jacks (red, white and yellow) on one end and a four terminal mini-plug on the other-- the same cable common to many portable DVD devices (AKA: Apple iPod Video Cable.) Connect the cable from your iPod to your TV.
    Next set your TV's input and make sure your iPod's TV Out is set to Ask or On (Select Video > Video Settings > TV Out)
    Finally, select and play your video.
    Note: in this mode video will not display as usual on your iPod's screen. Instead you'll see a menu display which will eventually fade to black after a few moments.
    iPod Video 80GB   Windows XP Pro  

  • Where to find old thread/post and closed the thread

    where to find old thread/post and closed the thread
    i try to search by email id, by userid but no results display at all only new post are shown

    Hi,
    where to find old thread/post and closed the thread
    i try to search by email id, by userid but no results display at all only new post are shownMake sure that u have specified the Correct date range parameter as required.
    Regards,
    X A H E E R

  • TS3694 I tried to uninstall my really old iTune version but it came up the error code: 2324. What can I do?

    I tried to uninstall my really old iTune version but it came up the error code: 2324. I then copy the data of the new version of iTune from my friend's disk C and paste them onto my disk C. However, it seems to work but appear another error code: -42404. I don't know what's going on. Can someone help me please? I just got the latest iPod nano and it ***** that I can't synchronize my music! :/
    Cheers!

    Zac henderson wrote:
    ...Couldnt restore ipod, error code (9) " ...
    Try here  >  Configure security software

  • Can't find my old thread

    Hi guys,
    I'm looking ofr my old thread in this forum unfortunatelly i cant find my old post. it display only the last 60 days that i have posted. any idea guys. thanks.

    Hi,
    As mentioned, this is completely by design (I don't get it either).
    I've started a thread in the Suggestions forum requesting that this be returned to us, you may want to add your voice there as well:
    http://social.technet.microsoft.com/Forums/en-US/597b4a9d-1ca8-49be-9aac-dbaf0419bafc/my-threads-add-the-option-to-show-over-60-days?forum=suggest
    Don't retire TechNet! -
    (Don't give up yet - 12,575+ strong and growing)

Maybe you are looking for

  • Animated gif layered above background image

    I have a static background image which is displayed in a JPanel. I need to display animated gifs at certain positions on the base image. For every new frame of the animation, the paint method is called whcih attempts to load the entire base image + a

  • Is it possible to delete old backups within the Sparsebundle?

    After a MacBook disaster and an upgraded hard drive I have a TC backup three times larger than the data! ie each time Ive connected the same computer with new operating systems on Time MAchine has backed up the same data in the same Saparsebundle so

  • Error in invoice document

    hi While opening invoice document in FB03 transaction , i am getting dump error . Can some body explain me why this dump error occurs and how to rectify the same without consulting ABAP consultant. Hope some experts are to rectify this as being funct

  • Plug-Ins for Logic Express 9

    Does anyone know of any sites where one can download plug-ins for Logic Express 9 (either for free or for purchase)? Also, I know that one can use sound fonts (.au) with GarageBand --do these also work in Logic Express 9 and, if so, do they need to b

  • An Error occured while installing SAP NW 6.40

    Hi, I have installed Oracle successfully, But now the thing is I did not get the SAPINST.EXE file in any CD. Please let me know that after installation of Oracle, What I should to do next? I have 3 Oracle CD's, 1 for GUI (Gatway), 1 KERNEL, 7 CD's fo