Using UME to to get permissions to do stuff....

Hi,
I have a project that consumes several web services.
I'm trying to control the access to those WS's using UME.
I've read the "Protecting Access to the Web Dynpro Car Rental Application Using UME Permissions" tutorial which refers me to few classes:
com.sap.security.api.permissions.NamePermission
com.sap.security.api.permissions.ActionPermission
com.sap.security.api.permissions.ValuePermission
the problem is that I don't have those classes.... nor do I have the package com.sap.security.api.permissions....
Any suggestions?

Hello,
  Add this to your class path:   WD_RUNTIME/com.sap.security/lib/com.sap.security.api.jar
  WD_RUNTIME is a default variable, just extend it and
  select com.sap.security->lib->com.sap.security.api.jar
Regards

Similar Messages

  • Create portal action use UME API

    Hi all,
        I'm now wanna create a new portal-action use UME API, or get all the defined actions in the portal, how can i do that?
        Demo code the better, thanks.

    Hi Bo Wang,
    maybe you could support my idea in SAP's idea place "UME api: Extend the api to ume actions"
    https://ideas.sap.com/ct/ct_a_view_idea.bix?c=97F64433-5773-403E-A7C6-D7EB3BD6428D&idea_id=15F5C66D-B75E-4A60-9527-743CB0A279CB
    Regards,
    Jochen

  • List used to add permissions to InfoPath form updated, but people removed from the list still getting permissions.

    I have a list that gives users Contribute permission to an InfoPath form during a workflow action. This list has changed, and I have added and removed users from it. The people who I've added are getting permissions, but the people I removed are STILL getting
    permissions, even though they are nowhere on the list. What could be happening? I would greatly appreciate any help!
    Thank you,
    -Lyssa Prince

    I must not be explaining this very well, and I apologize for that.
    These are time sheets we're working with, so each user needs a certain set of people to approve and review his/her time sheets. The workflow we have running on each time sheet created reads which department the user is in, matches them with the row that
    contains the field "department" that matches their department, and gives permission to all of the users in the remaining fields TS Approvers and TS Reviewers. If I update these fields at all, the new users in these fields get permissions for that department's
    time sheets, but the people I removed from these fields do not stop getting permissions. It's as if there is a cached copy of the list which is being used by the workflow to assign permissions. This list will fluctuate, so it is not a viable solution to keep
    running powershell scripts to remove people from each of these items after they have been removed from the list.

  • How to get Portal Login user ID and Groups using UME API in JSPDynpages

    Hi Experts,
    How can I get the portal logged user ID and bsed on that ID need to get his assigend groups.
    For this Initially I need to get the logged user ID using UME API.
    Can you drop the code to write and display using JSP Dynpages?
    Thanks
    Venkat.

    Hi,
    Try the below code
    IUserFactory userfact=UMFactory.getUserFactory();
    IUser user=userfact.getUserByUniqueName(request.getUser().getUserId());
    String usrid=user.getUniqueName();
    And also you can get the groups assigned to user by using the below code
    Iterator groups = user.getParentGroups(true);
    while (groups.hasNext()) {
         String groupstr = (String) groups.next();
         IGroup g = UMFactory.getGroupFactory().getGroup(groupstr);
         response.write("Group name "g.getUniqueName()"<br>");
    Regards
    Suresh

  • QuickCarRental permissions using UME

    Hi, I am doing this tutorial:
    [Protecting Access to a J2EE-Based Application using UME Permissions|http://www.sdn.sap.com/irj/sdn/index?rid=/webcontent/uuid/adcfa85d-0501-0010-a398-80a47b8e3fc2#tut2 [original link is broken]]
    I'm having a problem with the definition of the permissions.  There always seems to be the error "User cannot view reservations" even though I assigned the user to the ViewReservations permission.
    Help? Thanks.

    I seem to be having problems with the EJB permissions. The Web Application permissions seem to work just fine.
    Thanks.

  • Not authorized to use UME application

    Greetings, we have installed the Solution Manager 4.0 on AS ABAP+Java. The installation and post install completed successfully. We updated the SP6 to SP7. During the post installation, we performed a client copy using 001 as our source client i.e. 001 -> 100. Per note, 937323, we followed the required steps to change the assignment of Java part to another client, 'Changing the AS ABAP Backend System'.
    Now, when logging on to the UME application, we get an error message of 'You are not authorized to use the UME config editor.' and 'You are not assigned to this application'.
    Please advise. Thanks.

    Hello Jack,
    I am configuring SOLUTION MANAGER 4.0 based on WAS 7.00 UNICODE on Windows Server 2003 X64 and MAXDB ver 7.6
    I have the same problem, how did you solve it ?
    Did you have a problem with Visual Administrator Version ? I have the following situation:
    When I launch de VA the error message is:
    === Error Message ====
    Warning: Visual Administrator version is older than the version of J2EE Engine kernel.
    Visual Administrator version: SP6
    J2EE Engine version SP8
    === End of Error Message ====
    Question: Do you where can I find the Update and how to update Visual Administrator ?.

  • New Adobe Photoshop elements 11-can not share pictures. I do use AOL email. Get error of "Elements 11 Organ. has stopped working,  I have looked into sharing tab and my only option is Adobe email settings.  I do have outlook set up to work on computer run

    New Adobe Photoshop elements 11-can not share pictures. I do use AOL email. Get error of "Elements 11 Organ. has stopped working,  I have looked into sharing tab and my only option is Adobe email settings.  I do have outlook set up to work on computer running windows 8.1  Please help, Mainly use to share pictures.  Thanks!

    One thing puzzles me:
    RedClayFarmer wrote:
    I then found one suggestion that the problem might involve permissions. The suggestion was to right click PhotoshopElementsOrganizer.exe in its installation folder (which on my computer is at at D:\Photo\Elements 11 Organizer) and run Organizer as an administrator. This also failed.
    I don't understand why running the exe from the installation folder would have worked.
    I would have simply tried to run that exe from its real location :
    Sorry, I can't help you more about permissions...

  • HT203177 I had to get a new hard drive in my 27 in IMac. I used time machine to get everything back on my computer. I just turn on time machine and its says it's preparing over 800,000 items to back-up, it never back-up, it stop and starts the process ove

    I had to get a new hard drive in my 27 in IMac. I used time machine to get everything back on my computer. I just turn on time machine and its says it's preparing over 800,000 items to back-up, it never back-up, it stop and starts the process over again.

    Could be many things, we should start with this...
    "Try Disk Utility
    1. Insert the Mac OS X Install disc, then restart the computer while holding the C key.
    2. When your computer finishes starting up from the disc, choose Disk Utility from the Installer menu at top of the screen. (In Mac OS X 10.4 or later, you must select your language first.)
    *Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from the disc again to access Disk Utility.*
    3. Click the First Aid tab.
    4. Select your Mac OS X volume.
    5. Click Repair Disk, (not Repair Permissions). Disk Utility checks and repairs the disk."
    http://docs.info.apple.com/article.html?artnum=106214
    Then repair the backup/TM drive.

  • How can a trusted applet get permissions on server

    Hello all,
    I have just now read some tutorial about Trusted Applet and not even experimented one. So my knowledge is absolutely zero.
    I would like to use Trusted Applets in my environment which I describe below:
    I have a database server on a Linux machine. On the same machine I have Apache web server. I want to deploy an applet in the Apache server so that all my clients can use it with a web browser. I want my applet to get permissions to connect to the database and retrieve the results etc., when any client uses my applet by connecting to the Apache server.
    According to what I understand from the Trusted Applet tutorial, they are used in an exactly opposite environment, meaning: to get permissions on the client machine to access the local file system etc., and their purpose is not to get permissions on the server.
    Could anyone please give me some detailed instructions on how to use Trusted Applet in my environment.
    Best regards,
    Gopal.

    Hello,
    I forgot to add one point: my Server machine has JDK 1.4.1_01
    Best,
    Gopal.

  • After loading yosemite can't get permissions from any network PC - OK from MACs on network...any advice?

    after loading yosemite can't get permissions from any network PC - OK from MACs on network...any advice?

    would love to...way over my head so far...upgraded to Yosemite 10.10.2 - I have another MAC (motorola chipset...maybe 10.6?) and 3 PCs on the network...the older MAC linked up through the network just fine...
    I can see the Yosemite MAC on the PCs...I can open customer file folders (I am a printer) from the shared drive...I can drag files (let's just call them PDFs, they mostly are) to the MAC customer file...but if I try to open them from the PC I get an error message that says permission denied - or may be in use by another user. There are no other users. After I uploaded to Yosemite, I noticed most if not all drives and or folders had permissions changed to either no access or to read only...I've changed as many as I could find...drives, and folders...I can open those same files if I'm on the yosemite mac...Here's the catch, though...I was on a different floor and that PC can open a PDF on the Yosemite...but the RIP that prints our large format prints now won't print those files (whole RIP locks up) unless they are first dragged to the PC desktop...then all is fine. I thought it was MAC upgrade oriented, but I do have a PC that halfway works...I'm really stymied...

  • Get Permissions yields always 511 or 365 and owner and group null

    Dear users,
    I am trying to solve a write permission problem on a NTFS (Windows2003) server and on my local computer. There are various folders on the server, for which I do or do not have write permissions. Using "Get Permissions" I am trying to decide, whether I am allowed to write there  some data or not -- to avoid any error message. Running Get Permissions on both kinds of folders yields "511", which means. I do have a write permission (right?). There is no difference, between the two results, but in practice writing into one of these folders results in error.
    Experiment: I created a folder locally, for which I removed all of my permissions. Currently I cannot open, write, or delete this folder. But Get Permissions still says that the folder has 511 permissions, i.e., write permissions for the executing user. Why? What could go wrong? What am I seeing wrong?
    Kind regards,
    p.s. the owner and the group are NULL ("", empty string) says Get Permissions, too. That is not also not awaited.

    Hi, 
    it seems like the VI is not as powerful as you want it to. The help to "Setting Permissions" states:
    ...This structure is based on the Linux permission bits that govern read, write, and execute permissions for users, groups, and others.
    (Windows) Use of the permissions parameter is very limited on non-Linux operating systems. You can use permissions to change only write permissions for users (bit 7); the operating system ignores all other changes to the bits....
    I hope this information helps.
    Kind regards
    Heinz

  • TS4268 I have apple ID and when trying to sign in to use FaceTime,i always get registration error.how may you help me for that guys,thanks.

    I have apple ID and when trying to sign in to use FaceTime,I always get error in registration,(This words always apper; The server encountered an error processing registration.Please try again later.)
    Can I get your Advise on what to do? Thanks

    Using FaceTime http://support.apple.com/kb/ht4319
    Troubleshooting FaceTime http://support.apple.com/kb/TS3367
    The Complete Guide to FaceTime + iMessage: Setup, Use, and Troubleshooting
    http://tinyurl.com/a7odey8
    Troubleshooting FaceTime and iMessage activation
    http://support.apple.com/kb/TS4268
    iOS: FaceTime is 'Unable to verify email because it is in use'
    http://support.apple.com/kb/TS3510
    Using FaceTime and iMessage behind a firewall
    http://support.apple.com/kb/HT4245
    iOS: About Messages
    http://support.apple.com/kb/HT3529
    Set up iMessage
    http://www.apple.com/ca/ios/messages/
    iOS 6 and OS X Mountain Lion: Link your phone number and Apple ID for use with FaceTime and iMessage
    http://support.apple.com/kb/HT5538
    How to Set Up & Use iMessage on iPhone, iPad, & iPod touch with iOS
    http://osxdaily.com/2011/10/18/set-up-imessage-on-iphone-ipad-ipod-touch-with-io s-5/
    Troubleshooting Messages
    http://support.apple.com/kb/TS2755
    Troubleshooting iMessage Issues: Some Useful Tips You Should Try
    http://www.igeeksblog.com/troubleshooting-imessage-issues/
    Setting Up Multiple iOS Devices for iMessage and Facetime
    http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l
    FaceTime and iMessage not accepting Apple ID password
    http://www.ilounge.com/index.php/articles/comments/facetime-and-imessage-not-acc epting-apple-id-password/
    Unable to use FaceTime and iMessage with my apple ID
    https://discussions.apple.com/thread/4649373?tstart=90
    FaceTime, Game Center, Messages: Troubleshooting sign in issues
    http://support.apple.com/kb/TS3970
    How to Block Someone on FaceTime
    http://www.ehow.com/how_10033185_block-someone-facetime.html
    My Facetime Doesn't Ring
    https://discussions.apple.com/message/19087457
    To send messages to non-Apple devices, check out the TextFree app https://itunes.apple.com/us/app/text-free-textfree-sms-real/id399355755?mt=8
    How to Send SMS from iPad
    http://www.iskysoft.com/apple-ipad/send-sms-from-ipad.html
    You can check the status of the FaceTime/iMessage servers at this link.
    http://www.apple.com/support/systemstatus/
     Cheers, Tom

  • How do I use Display Dialog to get back a date?

    Can anyone tell me how to use Display Dialog to get back a date?
    I am using the following code that does not work. It does not accept anything.  And I have searched high and low for an answer to my question and found nothing.
    repeat
           display dialog "When should I remind you (date)?" default answer ""
           try
                 if the text returned of the result is not "" then
                        set the requested_text to the date returned of the result as date
                        exit repeat
                end if
           on error
               beep
    end try
    endrepeat
    display dialog requested_text
    The code is based on what I found in AppleScript 1-2-3 (page 300). It shows examples for getting text and numbers but not one for dates.
    For what it is worth, my goal is to create a script that will convert an email from Evernote into an iCal Reminder. To do so, I want to ask the user (myself) for the reminder's date and time. I am assuming I need to ask for each separately. I also assume that once I get the date and time for the reminder, it should be relatively straightforward to 'make' a 'todo' with an alarm.
    Thanks in advance.
    -David

    Hi David,
    Try this:
    repeat
        set theCurrentDate to current date
        display dialog "When should I remind you (date)?" default answer (date string of theCurrentDate & space & time string of theCurrentDate)
        set theText to text returned of result
        try
            if theText is not "" then
                set theDate to date theText -- a date object
                exit repeat
            end if
        on error
            beep
        end try
    end repeat
    display dialog (date string of theDate & space & time string of theDate)
    You might also have a look at this page of the AppleScript Language Guide.
    Message was edited by: Pierre L.

  • Is there inbuild Handler in weblogic using which i can get the MessageContext object

    HI,
    I need MessageContext object in my application but i dont want to use the Handler,As
    there is AxisEngine in axis soap engine,is there any similar implementation in
    weblogic.
    AxisEngine.getCurrentMessageContext() we can get the MessageContext what about
    in weblogic..any body any idea???
    Regards,
    Akhil Nagpal

    HI,
    yeah i had to make use of Handler to get the MessageContext object and play with
    that.
    Thanks & Regards
    Akhil Nagpal
    "manoj cheenath" <[email protected]> wrote:
    You can get to MessageContext from a handler. Check out an example of
    handler
    to see how you can get Message out of MessageContext.
    -manoj
    "Akhil Nagpal" <[email protected]> wrote in message
    news:[email protected]..
    HI manoj,
    Thanks for your reply.otherwise i thought that i wont get any morehelp
    on this
    forum :-) ...
    anyway its good that we will have such thing in next version,duringthe
    development
    i feel that more functioanlity should be in build in appserver. Likeone
    more
    thing i could not find out is how we can get the "message" object inweblogic
    like we can in axis using its MessageContext class's static method.if it
    is there
    can you please let me knwo about that.
    The other problem i had to make use of handler and my appl is workingas of
    now :-)
    Regards
    Akhil Nagpal
    "manoj cheenath" <[email protected]> wrote:
    You can not do this in WLS 7.0. The next major release (WLS 8.1) will
    fix
    this problem.
    -manoj
    "Akhil Nagpal" <[email protected]> wrote in message
    news:[email protected]..
    HI,
    I need MessageContext object in my application but i dont want
    to
    use
    the Handler,As
    there is AxisEngine in axis soap engine,is there any similarimplementation in
    weblogic.
    AxisEngine.getCurrentMessageContext() we can get the MessageContextwhat
    about
    in weblogic..any body any idea???
    Regards,
    Akhil Nagpal

  • I have a 60 inch Sony XBR TV that has DVI input but not HDMI. I am using an adapter to get the video from my Apple TV, but the screen flashes a lot. Do I have any other choices other than buying a new TV?

    I have a 60 inch Sony XBR TV that has DVI input but not HDMI. I am using an adapter to get the video from my Apple TV to the Sony, but the screen flashes a lot. Do I have any other choices other than buying a new TV?

    Is this an iphone question?
    You have posted in the iphone forum.

Maybe you are looking for

  • Airport extreme with windows service pack 2

    I have just recently bought a macbook pro laptop, & have been corresponding with a forum member about a wireless setup. I want to have a wireless set up with a PC desktop with windows xp home service pack 2 that is stationed in the kitchen. This was

  • Multilingual support(very urgent , help!!!!)

    i have a database(Oracle 8i) with character set of UTF8 and all the languages ie(French,German,Spanish,English etc) are working perfect. but the problem is with japanese. when ever i query the data it appears in Question marks. can any one give me so

  • Using HV30 to capture in Premiere Pro CS4, PLEASE HELP!!

    I have cs4, an XH-A1s and an HV30....and a MacPro from 2008. I have recently narrowed down my issues with a bad firewire port on my xha1s. Can or Cannot I use my HV30 to captureHD footage in Premiere Pro CS4? It simply says capture device offline. If

  • Request for advise on Bw3.5 Exam

    Hello  BW Gurus , I am Sandya  from Spain , I did my Masters in Information Technology , I learned SAP BW3.5 and ABAP from India (not from Authorized Training Partners) , I forwarded my Resume in Europe  , but unfortunately , I did not get any calls

  • Guest not listed in running_pool but visible in vm manager

    hi folks ver=2.2.1 i have created a HVM using an iso file which i copied to iso_pool it created fine and now its sitting there under vm manager which can control it perfectly but i cannot find the machine from dom0 anywhere, i was expecting to find i