EJB 3.0 Security with ACEGI and not with Container Managed Security

Hi,
     Currently we are using EJB 2.0 in our project, We want to use EJB 3.0
     But for security we want to use Spring ACEGI Security and we don�t want to use container managed security (No Portability, Difficult, �)
     ACEGI supports Servlet/JSP security very well (I am able to call isUserInRole(), getUserPrincipal() because ACEGI implements by ServletRequestWrapper in a filter)
     But for EJB, it lacks this feature. (There is no standard EJB interceptor API as there is with servlets (using filters), so there's no generic way of modify in the EJB context for the invocation)
     Without using container managed security, Is there any way to propogate my security context from Servlet Layer to EJB Layer, So that I can use EJB Declartive security and getCallerPrincipal(), isCallerInRole() API.
     For more info please see this thread http://forum.springframework.org/showthread.php?t=26514
     Why don�t you provide standard EJB interceptor API as there is with servlets (using filters), so there I am able add security identity to EJB context.
     I am eagerly waiting for the reply

Reason: javax.naming.NameNotFoundException: jdbc not bound
Although i am quite new to this as well i would say that there is a problem with your connection with the database.
It seems it cannot connect to Mysql.
have you download the mysql package library and imported it ?
Also in your deploy folder in you Jboss
have you altered the jdbc to connect to you database in your dataset ? ( i am not sure about mysql, but postgre reguired this)
Most probably it would be the same in mysql.
<connection-url>jdbc:postgresql://127.0.0.1:5432/Dissertation</connection-url>
Not sure if this is what you reguire, i am new at this my self

Similar Messages

  • Why is my airportxpr only working with Itunes and not with another music program

    why is my airportxpr only working with Itunes and not with another music program??
    I can not select/see other outputs in my sound selector.

    You have not indicated which OS or which music program you have so I have listed a program called Airfoil to try for both Windows and Mac - it may work for you
    for Windows - http://rogueamoeba.com/airfoil/windows/
    for Mac - http://rogueamoeba.com/airfoil/mac/

  • Booting with mode CLI and not with the console.

    hi,
    On a SF300-08, is anybody knows how to work with CLI and not with the Console Menu Interface ?
    Thank you for your help.
    Pascal Linglin

    Hi Pascal.
    Firstly make sure your switch is using the most recent firmware, which is now as of yesterday  1.1.2.0 .
    When that firmware is running on the switch,  a textview CLI option should be seen on the main menu as per the following screen capture;
    to get back to the menu, just type menu from the cli interface.
    Hope i answered your question?
    regards Dave

  • Setting margins works with ExportToDisk, but not with ExportToStream...

    I'm filling out a report with SetParameterValue, and not with database, and setting the margins with:
    templateCredencial.ReportDefinition.Sections["DetailSection1"].ReportObjects[elementNumber].Top;
    templateCredencial.ReportDefinition.Sections["DetailSection1"].ReportObjects[elementNumber].Left;
    After that when i call ExportToDisk to write as pdf, the margins that i setted are there, but when i use ExportToStream like that:
    MemoryStream stream = (MemoryStream)credentialTemplate.ExportToStream(ExportFormatType.PortableDocFormat)
    And call stream.ToArray() as return in FileResult, the pdf that shows up on browser is without the margins that i setted. Does anyone have idea how can i return the pdf to the browser with correct margins without get file from disk, using only the stream?

    I don't know because you did not say what the results were or answer any other questions I asked.
    I said what the results were in first post:
    And call stream.ToArray() as return in FileResult, the pdf that shows up on browser is without the margins that i setted. Does anyone have idea how can i return the pdf to the browser with correct margins without get file from disk, using only the stream?
    And, where are you other questions? Sorry, i didn't see it.
    Why can't you simply export to Disk and then stream that file?
    I need performance, and if i need to write a pdf with 10mb, and after read it, and next return (with asp.net mvc 3) to browser like a FileResult, i 'll lose performance.
    What is the right way to change the margins and return it like a byte array without losing the margins that i setted?

  • Typekit works with Dreamweaver but not with Muse?

    Why is it that I can use all Typekit's fonts together with Dreamweaver and not with Muse?
    The fonts currently available via the TypeKit font menu in Muse (3.1) are of very low quality. 98% of them are "display type fonts" at best in my humble opinion. I need high quality fonts when designing high quality projects for my customers.
    If I want to use Minion Pro or Futura in my Muse projects — are there any workarounds that does not get lost when I update the site with Muse? For example via the "HTML for <head>" field via the Page Properties dialog window in combination with some other Muse features?
    Does the Adobe Muse Team (or someone else) have a step-by-step guide how to accomplish this?
    Thanks a lot!
    Kudos to The Adobe Muse Team –  Muse is a fantastic piece of software. Easy to work with and really fun to use. Looking forward to the next update!

    This is strange, but hopefully good. 
    I searched for Typekit, fonts and Muse etc on the forums before posting and did not get any relevant hits. But now I think I've found the workaround in the column to the right of this very post under the headline "More Like This".
    http://museinsider.com/how-to-add-typekit-fonts-to-your-muse-site.html

  • HT5312 Forgot answers to security ?s and not giving me optin for rescue email what do I do

    Forgot answers to security ?s and not giving me optin for rescue email what do I do?

    Didn't the link to contact the iTunes Store staff in the 'Additional Information' section of that article work for you? If you don't already have a valid rescue email address, only Apple itself can assist with recovering lost answers.
    (88524)

  • HT2513 my iCal calendar that I created with the color green keeps changing to purple.  no matter how many times I change it to green, it turns it back to purple.  Of course this only happens with iCloud and not "from my Mac".  Any ideas?

    my iCal calendar that I created with the color green keeps changing to purple.  no matter how many times I change it to green, it turns it back to purple.  Of course this only happens with iCloud and not "from my Mac".  Any ideas on how to correct this?  This seems like a trivial error, but it's super annoying.

    I called Apple and they said that they know about this problem.  It's a problem with iCloud which their Engineers know about.  (there was a new iCloud release, hence...)  No ETA for a fix yet.  I asked that this be escalated so Engineering doesn't put it at the bottom of their fix list.  I talked to a Senior Advisor and mentioned to them to have QA check their regression tests as this has happened before to me (the problem just didn't take this long to resolve).  I like to use green too for important stuff, so I've resorted to creating a new calendar using the normal calendar green for events going forward.  They could have picked another color besides green to have this problem with and I wouldn't have been so upset.  ;-)

  • Can i use iCloud keychain with my own passwords and not with what is assigned and stored?

    Can i use iCloud keychain with my own passwords and not with what is assigned and stored?

    tammersalem wrote:) <-HDMI-> (HDTV)
    My main concerns are:
    -If I use iTunes on my main computer, will it then be available to Apple TV?
    -If I use Apple TV to download will it be available to my Main computer?
    -Can the Apple TV use a media server for storage over LAN (using NTFS Samab or otherwise)?
    Basically iTunes feeds AppleTv with media either syncing (copying to it) or streaming live.
    Media must be compatible with AppleTV.
    AppleTV requires a proper iTunes instance running - it cannot access a NAS directly.
    If you store media in a folder on a NAS and it's part of the computer iTunes library (just stored on the NAS vs internal/external drive), then when running iTunes makes this content available to AppleTV.
    Data will travel:
    NAS > network > iTunes > network to AppleTV
    As the path is potentially slower than internal/external attached drive > iTunes > network > AppleTV, it may or may not work robustly for streaming.
    If AppleTv is set to sync (it can also stream in this mode), when you purchase direct on AppleTV, the media should sync back to where the itunes library is stored (via iTunes) to keep things in sync and to allow you to backup the media.
    You cannot drag/drop media to/from AppleTv across the network, nor can it directly access storage itself - iTunes is an essential cog in the wheel.
    The majority of commercial 'in-built iTunes media servers' will not work directly with AppleTV as it has to be 'paired' with iTunes by entering a numerical code in iTunes and does not simply see 'shared libraries'.

  • In User groups user name is shown as ADLDSMembershipProvider:UserID and not with First & Last Name

    Hello,
    In SharePoint site Groups for some users, user name is coming up with ADLDSMembershipProvider:UserID and not with the correct first name and last name. 
    Can some one please advice how i can get the correct first name and last name for the users, below screenshots for your
    reference.
    Please advice.
    Regards,
    Purvish Shah

    Hello,
    What version of sharepoint you are using?
    It seems that you have also configured custom membership provider with AD LDS. To verify this go to central admin and check the web application properties to confirm what auth method is being used.
    Hemendra:Yesterday is just a memory,Tomorrow we may never see<br/> Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • Four digit numbering system starting with 0001 and not just 1.

    How can I re name and renumber  a file of photos and include a four digit numbering system starting with 0001 and not just 1. I need this so another computer program can keep the images in numerical order
    Now I number a wedding say... Smith_Jones 1 ect up to 659 but a program I use to create albumes scrambles all my photos becasue they say the numerical system has to have 4 digits so Number 1 is really 0001 thus staying in order.  I d ont see how to assign 3 zeros to the front of numbers --- so # 344 would be 0344  LR wants to keep it 344.

    In the Library rename use the following custom settings.

  • Has anybody ever had their security questions changed and not have the answers?

    Has anybody ever had their security questions changed and not have the answers for an ipod touch? I cannnot buy music or access my itunes account now. Thank you for any help or direction. Phone support and apple express was a deadend.

    See Kappy's previous discussion.
    HT5312 How to recover security...: Apple Support Communities

  • TS3297 i bot a 3g iphone 2nd hand and it is trobleing a lot with os and not working plese help me

    i bot a 3g iphone 2nd hand and it is trobleing a lot with os and not working plese help me

    The following guide gives information on how to sync ringtones from your computer to the phone. The reference section at the bottom of the quide also gives instructions on how to convert a song to a ringtone. https://discussions.apple.com/docs/DOC-3792

  • Does Apple make/sell the new "Apple In-Ear Headphones with Remote and Mic" with a one sided configuration? So that a person that is deaf in one can hear both sides of a stereo recording? Also, since the "other" bud is not necessary/useful...it's removed.

    Does Apple make/sell the new "Apple In-Ear Headphones with Remote and Mic" with a one sided configuration? So that a person that is deaf in one can hear both sides of a stereo recording? Also, since the "other" bud is not necessary/useful...it's removed.

    As far as I know, Apple sells no such configuration.  However, under Settings > General > Accessability, there is an option to play back audio in monoural mode, which would then play both halves of a stereo mix in each earbud.
    Hope that helps.

  • I do a movie whith iMovie. I finalize the project and I pass it to iDvd. Then I do a little menu and I burn my DVD. When I play my DVD on a computer or in my TV it ALWAYS begins directly with the movie and not with the menu... PLEASE HELP!!!!

    I do a movie whith iMovie. I finalize the project and I pass it to iDvd. Then I do a little menu and I burn my DVD. When I play my DVD on a computer or in my TV it ALWAYS begins directly with the movie and not with the menu... PLEASE HELP!!!!

    Go to the Map mode in your iDVD project and make sure the blue bin at the left is empty.  That's where you drag slideshows to if you want the DVD to open immediately to that slideshow and bypass the menu. 
    Click to view full size
    If there is an item in there drag it out.
    OT

  • Javax.faces.ViewState value starts with '%' and not with '!'

    While recording and ADF Application on JMeter, what should the regular expression extractor be when the javax.faces.ViewState recorded value starts with '%' and not with '!'.
    I have been following the following link and it talks only about javax.faces.ViewState values that start with '!'
    http://one-size-doesnt-fit-all.blogspot.in/2010/04/configuring-apache-jmeter-specifically.html

    Hi,
    If '!' present in first position of string, you need to remove it or replace it in transformation.
    Following is the  sample code...
    loop at SOURCE_PACKAGE into ls_SOURCE_PACKAGE.
          record_num = sy-tabix.
          IF ( ls_SOURCE_PACKAGE-fieldname(1) = '!' ).
            ls_SOURCE_PACKAGE-fieldname(1) = '' .
    ENDIF.
        MODIFY SOURCE_PACKAGE INDEX record_num FROM LS_SOURCE_PACKAGE.
      ENDLOOP.
    Hope this helps..

Maybe you are looking for

  • Nokia Image Store thinks all the pics on my phone ...

    Hi, Today Nokia Image Store (PC Suite 6.84.10.3) is trying to transfer all the images on my phone (Nokia 6682) to my computer. I have tried rebooting my computer and my phone and it didn't help. I have about 500 pics on my phone and want to avoid tra

  • Import Photos from Droid and iMac

    I couldn't get iPhoto to import a bunch of photos on my Droid, even after mounting it. So I dragged them to a temperorary folder on my iMac.  How do I get iPhoto to import from that temporary folder?  And how do I iPhoto to import from the Droid?

  • SAP PP: In BOM how to where to maintain the details like Length, Width and Quantity

    Dear All, In SAP PP where to maintain the details like Length, Width, Quantity of the material for production information. Eg: Client will procure a material of 10milli meter Thickness Mild Steel material of fixed dimensions lets say 4meters x 4Meter

  • How to run ABAP Function Module in Background FOR LONG TIME?

    I am not that experienced with ABAP. I am on SAP BI 7.0. I WANT TO RUN A FUNCTION MODULE RSDRT_INFOCUBE_DATA_COPY. I used SE37 and then executed the module, I supplied  the parameters on the form which opped-up and then  program started running. . Pr

  • Reading through a Soap Envelope

    Hello,      The scenario is a synchronous, PI is sending a request to a web service hosted on the third pary systems. The request has been initiated by the method provided in the WSDL.The third party system is sending the response in terms of a Soap