How do I get at Session using Context's

Hi,
Please can someone help me out. I am working on an extended version of the jboss DatabaseServerLoginModule and part of this involves overidding the login() method. The login() method provides no parameters such as request etc and so I have no way of getting at the session.
How can I get at the session using Context's?
i.e. starting with say InitialContext and going from there....
any ideas?
Regards,
Paul.

Sounds like a JBoss question to me. Seems to me that JBoss support would be the place to go for answers. It's really not a general Java programming question.

Similar Messages

  • I have a MacBook Pro and just added an airport express to listen to my iTunes on my stereo. How do I get Firefox to use my AX when I use Grooveshark or Pandora?

    i have a MacBook Pro and just added an airport express to listen to my iTunes on my stereo. How do I get Firefox to use my AX when I use Grooveshark or Pandora?

    If the purchases are all from the same account then you can share the content by authorizing each device.
    If you have separate accounts then you have to be authorized to use the content purchased from another account.
    MJ

  • I am changing from Word to Pages. I have created my custom template with all my styles etc and that is what comes up when I go for a New Document. Fine. How do I get it to use the same Custom Template when I use Pages to open a Word document?

    I am changing from Word to Pages. I have created my custom template with all my styles etc and that is what comes up when I go for a New Document. Fine. How do I get it to use the same Custom Template when I use Pages to open a Word document?

    The template is a document in itself, it is not applied to an existing document whether it is a Pages document or a Word document converted to a Pages document.
    You would need to either copy and paste content, using existing styles, or apply the styles to the converted Word document.
    You can Import the Styles from an existing document and those imported Styles can be used to override the current document's styles:
    Menu > Format > Import Styles
    The process is simplified if the styles use the same names, otherwise you will need to delete the style you don't want and replace it with the one that you do want when asked, then the substitution is pretty straightforward.
    Peter

  • How do I get imovie to use Photoshop Elements 12 as external editor?

    How do I get imovie to use Photoshop Elements 12 as external editor? I am making a movie slide show with music from my Caribbean vacation photos and adding text captions to photos in PS Elements 12. I can also add some effects to photos like edge blur although I like iphotos effects better but iphoto doesn't seem to do text. The finished PS Elements photo doesn't seem to want to be shared by iphoto which is what imovie uses...
    I am still learning to use PS Elements 12 for Mac (had PSE 7 for WinVista but wasn't proficient) and Mac and it's programs are new to me. I switch between my old Dell which is still amped for graphics and the new Mac mini. I started to use Movie Maker to do my vacation project but read that imovie was better but so far it doesn't seem to have as broad of file useage when it comes to imovie and photo files.
    Hmmmmm??? What to do?

    You simply need to create your stills with Photoshop Elements, save them in a suitable format (.jpg, .png, .tiff are all acceptable) then drag and drop them into your iMovie timeline.  You don't have to use iPhoto.
    Geoff.

  • TS1292 How do I get iTunes to use my credits?

    I've entered my gift card and received my credits, but iTunes is only charging my credit card. How do I get it to use my credits?

    Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact

  • I've extended java.lang.Thread.  How do I get WebLogic to use my version?

    I want to add a String attribute to the thread class to save some extra info I need. I extended the Thread class with a private String with getter/setter methods.
    Since WebLogic instantiates the threads and not my own code, how do I get WebLogic to use my version of Thread instead of the one from java.lang?
    -Bill

    I don't think it's possible to have WLS use your own thread implementation for WLS internals. However, for your own custom work, it's pretty straight-forward to use the CommonJ Work Manager API and add your own implementation details for a thread pool.
    See documentation: http://download.oracle.com/docs/cd/E12839_01/web.1111/e13701/self_tuned.htm#i1069944
    WorkManager Javadocs: http://download.oracle.com/docs/cd/E12839_01/apirefs.1111/e13941/index.html?commonj/work/WorkManager.html
    Specifically providing your own Work interface implementation should hopefully allow you to meet your need.
    Edited by: james.bayer on Feb 15, 2010 6:40 AM

  • How do I get iCloud to use my existing @me MobileMe account

    I already have a MobileMe  '@me' e-mail adress, how can I get iCloud to use this e-mail address, when I try to activate ICloud e-mail,  it's forcing me to create another @me e-mail account. I want to use the one I have.

    Fixed it.
    Forgot about iCloud.com, so just went there and deleted everything.

  • How can I get computer to use external DVD drive?I have a HP dvd640 plug in play drive I want to ude but my iMac dosen't see it as connected.

    How can I get *computer* to use external DVD drive? (1.8 GHz PowerPC G5 Version 10.3.9)

    Place cd/dvd in drive.  cd/dvd icon will show on desktop.
    How can I get computer to use external DVD drive?I have a HP dvd640 plug in play drive I want to ude but my iMac dosen't see it as connected.
    What is ude?
    How is it connected?  firewire or usb?
    When connected it should appear in system profiler.
    blue apple > about this mac > more info button. Click on the hardware line. It has a little triangle in front of the work hardware.
    look for firewire or usb.
    Robert

  • Have tried to restore settings due to problems, now Iphone shows Sim Failure, how can I get back to using my phone? Please help, its a business phone. :(

    Hi, I have tried to restore settings on my Iphone due to problems I was having with the phone cutting out when talking on the phone, now Iphone shows Sim Failure, how can I get back to using my phone? Please help, its a business phone.

    Hi jclarke64, 
    Thank you for contributing to the Apple Support Communities. 
    I'm sorry to hear that your iPhone 4s was lost, and glad that you were able to upgrade. 
    If your iPhone 4s was backed up to iCloud or using iTunes, you can restore the backed up data to your new phone. 
    See the steps in this article for help with restoring from a backup:
    Back up and restore your iPhone, iPad, or iPod touch using iCloud or iTunes - Apple Support
    All the best,
    Jeremy 

  • I'm wondering about using Apple loops in music. Is it ok to do so to make music for people to hear, without it being sold. And how do you get permission to use them in music to sell?

    I'm wondering about using Apple loops in music. Is it ok to do so to make music for people to hear,like on soundcloud or other websites, without it being sold. And how do you get permission to use them in music to sell?

    From the LOGIC STUDIO SOFTWARE LICENSE AGREEMENT   :
    C. Except as otherwise indicated, you may use the Apple and third party audio file content (including, but not limited to, the Apple Loops, built-insound files, samples and impulse responses) (collectively the “Audio Content”), contained in or otherwise included with the Apple Software, on aroyalty-free basis, to create your own original soundtracks for your film, video and audio projects. You may broadcast and/or distribute your ownsoundtracks that were created using the Audio Content, however, individual Apple loops, audio files, sound settings, samples and impulse responsesmay not be commercially or otherwise distributed on a standalone basis, nor may they be repackaged in whole or in part as audio samples, soundfiles, sound effects or music beds.
    This means, you can use all Apple Loops in your music, they're royality-free.
    Best,
    DaCaptain

  • I have a recorder that outputs wma files. How can I get garageband to use my wma files?

    I have a recorder that outputs wma files. How can I get garageband to use my wma files?

    I don't think that GarageBand can use wmas, but there's always good old conversion, and GarageBand can definitely use mp3s. Personally, I recommend media.io for stuff like this, but of course it depends on the size of your files. Otherwise I don't know that there's anyway to get GarageBand to work with them...

  • Mail application is still there. All of my emails and folders are gone since iCloud. How can I get them back using Snow Leopard? Or can I? Do I have to wait for Mountain Lion?

    Mail application is still there. All of my emails and folders are gone since iCloud. How can I get them back using Snow Leopard? Or can I? Do I have to wait for Mountain Lion?

    I need to check a few other things...
    Click on 'Mail' in the upper left corner next to the Apple ()
    Click Preferences
    Click the 'Accounts' tab
    Make sure your iCloud account is highlighted in the column on the left.
    In the account information section what does it say next to:
    Incoming Mail Server?
    Outgoing Mail Server?
    Also, did you use MobileMe before the iCloud?

  • HT201328 My nephew give me the iphone and i'm not sure about the carrier. how i can get this information using the imei number?

    My nephew give me the iphone and i'm not sure about the carrier. how i can get this information using the imei number?

    If you have the iPhone in front of you, here's how you can learn the carrier:
    Go to Settings > General > About and look at the "Network" row near the top.  There's your carrier's name!

  • How can i get system variable using java

    Hi,
    I just want to know how can i get system variables using java code.
    for example i want to get the the date for today or i want to get the number of processes that's running.
    Thanks alot

    Hi,
    I just want to know how can i get system variables
    using java code.
    for example i want to get the the date for today or i
    want to get the number of processes that's running.
    Thanks alotSome generic "system variables" are available though Java, usually through the System class.
    Date today = new Date();
    is instantiated with the current date and time.
    Other system values, like environment values, should be passed to java through the command line (-D option) by setting system properties.
    Finally, platform specific values like the number of processes running will have to be written in platform specific code and executed by JNI (java native interface).
    Java is platform or system agnostic. Common system values, like time, are implemented. Hopefully you won't need platform specific values.

  • After 6 months of iPad bliss....My iPad has the incorrect apple ID how do I get it to use the correct one?

    After 6 months of iPad bliss....My iPad has the incorrect apple ID how do I get it to use the correct one?

    Settings > Store > Apple ID.  Sign out and sign in with the correct one.  Note that all apps are forever tied to the account they are purchased under.

Maybe you are looking for

  • I'm setting up Apple ids, and its not giving me the option to set up a rescue email. How can I add one?

    I'm setting up Apple IDs, and its not giving me the option to set up a rescue email. I've set up Apple ID's in the past, and its always given me the option. How can I add a rescue email?

  • Top 'n' using rank () function

    Hi... I'm using BO XI 3.0. In my report I need  a user to enter TOP 'n' (n=5,10,20,50,100). For example: Caller No           No of Calls 23467891              10 67698089              35 22377868              17 76378467              10 76374678     

  • Iphoto 6 help

    Just upgraded to iphoto 6 and works fine except for the help topics, that for some reason keeps using iphoto 5 help ( when I click on "what's new" always shows iphoto 5 version ). Any ideas?

  • Purchased Mountain Lion upgrade for Snow Leopard ... but ???

    I paid my $19.99 and went through the process, but after my computer restarts the Download mountain Lion icon is still there, space on my hard drive is used and when I go to "About This Mac" it still shows that I'm running 10.6.8 and the Snow Leopard

  • Eroor 1921 ?

    I was told to download the iTunes 7 for my dad's new iPod. It goes smoothly until it says "Status - Stopping Services". Then a pop up comes and says it was unable to do that... a. Why does it say that and what does that mean? b.What do I do? This is