;-| Is it possible to get a list of Roles for the EJB Caller?

Hi,
from an EJB I can use isCallerInRole(role), however I would like to get a
list of Roles that the user is in to do DB lookups for each role...
I have an implementation under 'JBoss' which does a JNDI lookup for the
SubjectSecurityManager using java:/jaas/other and then uses that to get at
the roles...
Is there a 'standard' way of doing this?
Is there a 'SubjectSecurityManager' like beast on WebLogic?
Any help would be greatly appreciated!
Kind regards
Lewis

Hi Lewis,
I believe there is not a method for this currently but I believe it has been suggested
to our security team. Watch for this feature in a future release.
It maybe possible to write a method for this if you are using a custom realm.
Kind Regards,
Richard Wallace
Senior Develoepr Relations Engineer
BEA Support.
"Lewis Henderson" <[email protected]> wrote:
Hi,
from an EJB I can use isCallerInRole(role), however I would like to get
a
list of Roles that the user is in to do DB lookups for each role...
I have an implementation under 'JBoss' which does a JNDI lookup for the
SubjectSecurityManager using java:/jaas/other and then uses that to get
at
the roles...
Is there a 'standard' way of doing this?
Is there a 'SubjectSecurityManager' like beast on WebLogic?
Any help would be greatly appreciated!
Kind regards
Lewis

Similar Messages

  • Any possibility to get SYSLOG and SNMP support for the E8350?

    Hi,
    It would be so nice to get some more basic functionality "OR more advance ones" to be able to se what is happening on the router, what it is doing and how the status of it is!
    Couldn't Linksys add support for a syslog server or snmp to the E8350 router, would help alot to determine what's going on!
    Or to enable some more / better logging support to a local attached USB stick or similar...
    I remember from one of the old watchguard firewalls i had, it was superb in displaying in and outgoing traffic and what was blocked..
    So a more advanced live traffic view lor ogging option would be greate!
    /J

    I think you are at the point where you are asking for advanced tools but even though its a very pricey router, its still considered a home router. Linksys needs to evaluate their business model on this stuff. Prices more in line with SoHo Business equipment but features of a home router. To me it seems like they have crossed a line. Should reconsider their audience at this price point and open up access to more features but that may need to give out better access to the router instead of the GUI. Need to open up telnet or ssh to a shell that has those features available but would still not grant access to files that could brick the router. It couldn't be that hard. 

  • Is it possible to get a list of open Actionscript documents in Flash CC?

    I am looking at the javascript API of Flash CC. I can register an event listener for documentNew, documentOpened, documentClosed, etc, and I can get a list of open documents. Those seem to be only for .fla documents, not for .as. Is it possible to get the .as files somehow? I guess I could try to search for the classes in the classpath myself, but I want to limit this to only the documents that are edited at the moment. Is there any API for the text editor?

    DaveRines wrote:
    I specifically want to be able to programmtically save and close an open excel workbook that has not yet been saved and I don't know the name of. From Labview.
    I know how to manipulate workbooks that I open from a saved location, but don't know how to take whichever workbook is open on my computer and save it to a known location.
    Thanks!
    I saw this post and thought there might be a similar method for ActiveX objects that there is for vi's:
    http://forums.ni.com/t5/LabVIEW/Is-it-possible-to-get-a-list-of-refnums-to-all-VIs-loaded-into/td-p/...
    This should work:
    If you want to change the path or have more control on the options, you could replace the '_Workbook/Save' method with
    In this case, if you want to avoid additional pop-ups, make the 'Visible' and 'DisplayAlerts' properties FALSE when you open the Application in the first ActiveX node

  • How to get price list line id for service contract line(subline)

    Does some one know how to find a price list line id for service contracts line (sub line)?
    There is actually a column in table okc_k_lines_b which is called price_list_line_id, but it looks like it is never used (all columns values are NULL). I have tried to investigate reprice API's which are used in contracts authoring form, but they are too huge and it didn't lead to nay result. There is a way (bad hack), by calling OKS_QP_INT_PVT.COMPUTE_PRICE it is possible to get price list line id by which contract line is priced, it would be kina fine if I would need to find line id for some rows, but it wont work for thousands!
    Is there some proper way how could I get price list line id by which is service contract line priced?

    Hi,
    Check out the following query that gets the price_list_id on subline_level and more.
    The price_list_Id is stored as a rule.
    SELECT
    chd.contract_number
    , par.party_number
    , par.party_name
    , ldf.pas_nummer
    , ldf.pas_houder     
    , rh.object1_id1 hdr_price_list_id
    , rsl.object1_id1 sl_hdr_price_list_id
    , pld.parkeerterrein
    , msi.segment1
    , sit.description
    FROM
    okc_k_headers_b chd
    , okc_k_lines_b clt
    , okc_k_lines_b cls
    , okc_k_lines_b_dfv ldf
    , okc_k_items cit
    , okc_rule_groups_b rgh
    , okc_rules_b rh
    , okc_rule_groups_b rgt
    , okc_rules_b rtl
    , okc_line_styles_b lst
    , okc_rule_groups_b rgs
    , okc_rules_b rsl
    , okc_line_styles_b lss
    , qp_list_headers_b plh
    , qp_list_lines pll
    , qp_list_lines_dfv pld
    , qp_pricing_attributes pat
    , mtl_system_items_b msi
    , mtl_system_items_tl sit
    , hz_cust_accounts cac
    , hz_parties par
    WHERE
    rgh.chr_id = chd.id
    AND rh.rgp_id = rgh.id
    AND rh.jtot_object1_code = 'OKX_PRICE'
    AND cac.cust_account_id = rtl.object1_id1
    AND par.party_id = cac.party_id
    AND clt.chr_id = chd.id
    AND clt.lse_id = lst.id
    AND lst.lty_code = 'SERVICE'
    AND rgt.cle_id = clt.id
    AND rtl.rgp_id = rgt.id
    AND rtl.jtot_object1_code = 'OKX_CUSTACCT'
    AND cls.cle_id = clt.id
    AND cit.cle_id = cls.cle_id
    AND cit.jtot_object1_code = 'OKX_SERVICE'
    AND cls.lse_id = lss.id
    AND lss.lty_code = 'COVER_ITEM'
    AND cls.id = rgs.cle_id
    AND rgs.id = rsl.rgp_id
    AND rsl.jtot_object1_code = 'OKX_PRICE'
    AND plh.list_header_id = rsl.object1_id1
    AND plh.list_header_id = pll.list_header_id
    AND pll.rowid = pld.row_id
    AND pat.list_header_id = pll.list_header_id
    AND pat.list_line_id = pll.list_line_id
    AND cit.object1_id1 = pat.product_attr_value
    AND cit.object1_id2 = chd.authoring_org_id
    AND msi.inventory_item_id = cit.object1_id1
    AND msi.organization_id = cit.object1_id2
    AND sit.inventory_item_id = msi.inventory_item_id
    AND sit.organization_id = msi.organization_id
    AND sit.language = userenv('LANG')
    AND cls.rowid = ldf.row_id
    Hth,
    Martin
    Edited by: mvdons on 4-sep-2008 2:13

  • Is it possible to get 15 minute appointment times on the calender without them all bunching up and being unable to follow?

    Is it possible to get 15 minute appointment times on the calender without them all bunching up and being unable to follow?
    I am wanting to replace all my PC's with Macs, ipads and iphones for my business.
    I love the whole system but as a small Physio business, I need to be able to add 15min & 20min appointments to the callendar and share with my colleagues.
    The problem I have is that they just bunch up and overlap and it becomes impossible to follow. There is no way of telling if you have any appointment spaces as it no longer shows the gaps. Also, are you able to set a default time for the appointments as it currently defaults to 1 hour (small pain in the arse but thought i'd ask while i'm here)
    If there is a way to do this or if there is any other apps out there, I'm sure it would become a very useful business tool and many more small businesses would invest in Apple systems, I've talked it through with friends with other businesses and they agree.
    Anybody have any solutions, or do Apple fancy making some simple upgrades to the software?
    Thanks
    Mark

    Yep, that's basically what I'm trying to to detect JJ; which layers overlap the blue area would be the ideal result.  Which objects overlap the blue layer's bounds is an ok method, but not 100% accurate (as demonstrated by your example).  The bounds method does narrow down what layers I need to check it against, but it still returns 2 layers I need to then take extra time to check against for the actual overlap, which wouldn't be necessary if we can get the check more detailed.
    Since a more detailed way of getting the overlaps is still being looked into, I'm thinking of using EnsilZah's and/or c.pfaffenbichler's suggestions in tandem with some code they helped me with previously (here: http://forums.adobe.com/message/6256651#6256651 ) to get the actual overlaps by process of elimination on a narrowed return result using current suggestions; at least until a better/more efficient solution comes along.  I am still open to other ideas, on this topic, though.

  • Hii all, I just bought an used iphone 5c from an user and only after a few weeks realised that it got activation locked. He might be unaware of that. Is it possible to get back to him and unlock the device for me as i have not contacts with him presently.

    Hii all, I just bought an used iphone 5c from an user and only after a few weeks realised that it got activation locked. He might be unaware of that. Is it possible to get back to him and unlock the device for me as i have not contacts with him presently.

    Well first you need to sync your iPhone 4 with your Mac/PC so that it will transfer all your music, apps, podcasts, etc. Then sync your iPod Touch and the media you selected during the sync should be there on your iPhone. If you have difficulty in transferring media from iPhone to your computer, try softwares like TransCopy. They will help in transferring data from your iphone to your computer. Dont forget to check that all the transferred data is in the iTunes media folder so that the iTunes can locate the files. Link to Transcopy software :
    http://www.copytrans.net/copytrans.php

  • Is is possible to get a new iPhone 5c for free when I've bought a defective iPhone 5c?

    Is is possible to get a new iPhone 5c for free when I've bought a defective one on September the 30th?

    If you purchased your phone directly from Apple, in the US, you have 30 days from the date of purchase to return it for a no questions asked refund. 14 days in the rest of the world. If you make an appointment at the genius bar, & the genius bar determines your phone is defective, they will replace it on the spot. Whether the replacement phone is new or refurbished cannot be determined, as all replacement phones come in a white box. However, given how new the iPhone 5C is, most likely the replacement will be new, & not refurbished. Those are your options.

  • How do I get a list of users for a specific role in EP 6.0

    Hi,
    I'm trying to find a table or an API that I can use to get a list of users for a role that I have created in the portal. There are about 940 users tied to this role that I would like to dump to an excel or text file. My goal is to get these users into a security group and tie the role to the group instead of each user. Thanks!

    Hi Chris,
    first, welcome on SDN!
    UMFactory.getInstance().getRoleFactory(roleID).getUserMembers() returns the users which are members of the role, see http://media.sdn.sap.com/html/submitted_docs/60_sp2_javadocs/ume/com/sap/security/api/IRole.html
    addGroupMember(...) adds a group.
    removeUserMember(...) removes a user from a role.
    Corresponding method exist for the groups.
    Hope it helps
    Detlev
    PS: Please consider rewarding points for helpful answers on SDN. Thanks in advance!
    PPS: Wrong forum, should have been EP DEV for example. It's not a question in conjunction with KM.

  • Good evening would it be possible to get back a free license for one month for adobe photoshop cc because I went on vacation and I have not had the opportunity to test it?

    Good evening would it be possible to get back a free license for one month for adobe photoshop cc because I went on vacation and I have not had the opportunity to test it?

    Hi tay-fun@livefr,
    We apologize however it's not possible to reset the trial however you can try and use it on a different machine with a different Adobe ID (if possible).
    -Ankit

  • I purchased two albums by the wrong artist on itunes, is it possible to get a refund or credit for a different artist?

    I purchased two albums by the wrong artist on itunes, is it possible to get a refund or credit for a different artist?

    All purchases are considered final but you can try the 'report a problem' page to contact iTunes Support and see if they will refund or credit you : http://reportaproblem.apple.com
    If the 'report a problem' link doesn't work then you can try contacting iTunes support via this page : http://www.apple.com/support/itunes/contact/- click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

  • Is there any object in labview that contains a list of data for the user to select (selection one at a time) or add a new data?

    Is there any object in labview that contains a list of data for the user to select (selection one at a time) or add a new data?

    List and table controls -> listbox..is that what you are thinking of?
    The listbox presents the user with a list of options, and you can set it to only accept one selection at a time...Adding new data to the list can not be done directly by the user but if you make e.g. a text control and a button you can programatically insert new objects described in the text box when the button is pressed...(see example).
    If you need more than one column you have the multicolumn listbox. If you want the users to write new entries directly yu can use a table and read selected cells using it's selection start property to read what cell has been selected.
    MTO
    Attachments:
    Listbox_example.vi ‏34 KB

  • Is it possible to set a default music player for the music on my external hard drive while still keeping my iTunes the default player on my Mac ?

    Is it possible to set a default music player for the music on my external while still keeping my iTunes the default player on my Mac ?
    Message was edited by: Pellseidon

    There is no setting in the iPhone to set another default music player. The default is Music. If you are using another application, you are at the mercy of how that application operates as far as what occurs when it stops or errors out. The car is looking for music to play.

  • What is NetAuthAgent and how can I get it to stop looking for the unnamed file?

    Since the last Mountain Lion update on my MacBook Pro, I get this error message every few minutes:
       2013-12-16 1:19:04.338 PM NetAuthAgent[1739]:
          inErrorInfo = {   
               AuthType = Server;
               ErrorNumber = 45;
               ErrorType = 4;
              Scheme = file;
    How can I get it to stop looking for the unnamed file?
    Kat Nagel

    If streaming music when connected to your carrier's cellular network, it uses cellular data.
    Only the music you purchased from the iTunes Store can be streamed unless you have purchased iTunes Match.
    If there is a slow down at the server where the music is stored or high traffic, steaming can be paused. You can also download a song from the iTunes Store cloud to your iPhone so it doesn't need to be steamed.

  • Is there a list of shortcuts for the camera raw plugin anywhere?

    Is there a list of shortcuts for the camera raw plugin anywhere?
    The link under Bridge no longer works

    I've not had time to check all of the changes from Bridge 2 to 2.1 but attachment (approx 400KB) should be pretty close.
    BTW: check out the result of of Alt/Option dragging sliders in Split Tone panel ;-)

  • Have an ipod and then got the wife an iphone4. all passwords are screwed up. she can not access playstore cuz she doesn't have password. i can not get find any help on how to get or update a password for the ipod. and then get her a separate password for

    have an ipod and then got the wife an iphone4. all passwords are screwed up. she can not access playstore cuz she doesn't have password. i can not get find any help on how to get or update a password for the ipod. and then get her a separate password for her iphone. we need to save her photos, music, etc to ? icloud and the phone stuff to verizon cloud? so when she gets her new Iphone6 she can have all her "stuff" back on the new phone. hope this makes sense. please offer suggestions here or at [email protected] thanks for your help!

    Oh no! I'm sorry to see there's a lot of confusion here and data shared, x-rayDon. We can definitely work to fix. This happens when two devices share the same Apple ID, so she will need to reset hers. She can do so by assessing this link Apple - My Apple ID. You will need to decide who will keep the account if want separate Apple IDs since purchases cannot be shared unless you do Family Sharing.
    RobinD_VZW
    Follow us on twitter @VZWSupport

Maybe you are looking for

  • MacBook Pro 2010, 15" Freezes for 20-30sec every now and then

    Hi there, I recently got my MBP Mid-2010 with a Core i5, 4GB RAM and the BTO 500GB 7200rpm HDD. From time to time the current application freezes, spinning beachball - using app switch I can still switch to another application but 1-2 seconds later t

  • I can't print my PDF. HELP!

    So I have the Adobe Reader X and I'm trying to print a PDF file. I have windows XP and I've tried setting the print options as print as image. What happens when I try to print is that the save window pops up and tells me to save it as a .tif file. I

  • Accessing a csv file on a resin web server

    Hi guys, Im trying to access a CSV file on a resin web server using the following: File csvfile = new File("http://localhost:8080/FYP/"+WebCourse2+".csv"); and it does not work when I use a local file location as follows, it works fine: File csvfile

  • How can I transfer Microsoft package from iMac to Macbook air

    I hope this is answered ASAP

  • ICal quits immediately on iPad 3rd gen

    My iCal has just now started quitting immediately.  This is one of the apps that I use EVERY day.  I just recently had some minor issues with the iPad and well, as I dealt with it I thought "most of what's here is of no huge deal."  BUT the Calendar