ATG Privileges for Pages

Hi,
I am working with ATG User Authentications.
So what i need to do is, restrict pages when UN-authorized person type URL and try to brows that page.
I have created User Roles, Organizations and Users in BCC.
I can access those users and roles using ATG Out Of The Box feature called /atg/userdirectory/droplet/HasFunction
<dsp:droplet name="/atg/userdirectory/droplet/HasFunction">
     <dsp:param bean="Profile.id" name="userId"/>
     <dsp:param value="FullfilmentAdmin" name="function"/>
     <dsp:oparam name="true">
                            <dsp:valueof value="he is admin"/>
                        </dsp:oparam>                       
                        <dsp:oparam name="false">
                            <dsp:valueof value="he is not admin"/>
                        </dsp:oparam>                       
</dsp:droplet>   
However this approach doesn't give opportunities to make authentication based on pages. Above approach is based on user roles.
So what i need to do is, restrict pages when UN-authorized person type URL and try to brows that page.
Anyone does know how to make Page authentication rather than using above method ?
saminda

I assume you are trying to do user authentication if user is not authorized and if not you want user to be presented with a login screen for authorization. There can be different ways to do this ranging from simple to not-so-simple depending on exactly what and how you want to do it. Probably the simplest approach can be to make use of transient property of user-profile in a switch droplet and redirect to the login page using the Redirect droplet as required for an anonymous user. The example here will gives an idea of this approach:
Oracle ATG Web Commerce - Other Commonly Used Servlet Beans
In case you have customized the userProfile definition by adding your own security-status and customized the request pipeline to set the security-status based on your application logic then you can use it in place of Profile.transient.
Another approach is to add your own AuthenticationServlet in the request handling pipeline based on the BasicAuthenticationPipelineServlet class similar to what has been used for dyn/admin. Refer this documentation
Oracle ATG Web Commerce - Authentication
There is one more way where you can add your own servlet-filter for your application which can extend atg.servlet.DispatchFilter class so that you can specify parameters like login or redirect page, pages to check etc. through <init-param> section of your filter entry in web.xml and access them in your filter class with their respective getter/setter. Apply the necessary checks and logic inside the overridden doFilterRequest() of your filetr-class and you are all set.

Similar Messages

  • You have insufficient privileges for the current operation-Getting error running OAF page in R12

    I have a custom OAF page in R11 which is working fine.
    Same page is giving below errors in R12.
    Any suggestions how to resolve this issue..please advice.
    [167]:STATEMENT:[fnd.framework.webui.OAPageSecurity]:MAC validation status = false   
    [167]:STATEMENT:[fnd.framework.webui.OAPageSecurity]:Request parameters validation status = false   
    [167]:ERROR:[fnd.framework.webui.OAPageSecurity]:You cannot run a page which is not SelfSecured when the MAC fails.   
    [169]:ERROR:[fnd.common.Message.auto_log]:FNDFND_INSUFF_PRIVILEGES   
    [169]:ERROR:[fnd.framework.OAException]:You have insufficient privileges for the current operation. Please contact your System Administrator.   
    [170]:EVENT:[fnd.framework.webui.OAPageContextImpl]:OAF LOG: Event : Redirect Page, in: oracle.apps.fnd.framework.webui.OAPageContextImpl: OA.jsp?akRegionCode=FNDDIALOGPAGE&akRegionApplicationId=0&transactionid=817211813&oapc=10&oas=YyMjRI6buFwrYehD8b25iQ..&retainAM=Y&addBreadCrumb=S&OAMC=G   
    [170]:PROCEDURE:[fnd.profiles.Profiles]:getProfileOptionValue:  name=JTF_PF_MASTER_ENABLED; levelID=10001; levelValue=0; levelValueApplID=0   
    [170]:EVENT:[jtf.activity.CorePageObject]: PATBE START currentPageObject : PAT STATUS:false   
    [170]:EVENT:[jtf.activity.CorePageObject]: PATBE END currentPageObject : return factory.dummyProxyUser():   
    [322]:EXCEPTION:[fnd.framework.webui.OAPageBean]:java.lang.NullPointerException   
    Thanks in Advance
    Sridevi K

    Hi Sridevi,
    The custom page is a selfsecured page?
    ie, it will be accessed without login?
    What is the profile option fnd_debuging_level 's value set to.
    I Could see one your other thread
    Re: You have insufficient privileges for the current Operation error
    you mentioned that you did tried setting the profile options
    Framework Validation Level
    FND Function Validation LEvel
    FND Validation Level
    to none, still you are facing the issue,
    At what level you tried the profile options.
    Thanks,
    With regards,
    Kali.
    OSSi.    

  • Apps Login Page Error- Insufficient privileges for the current operation

    Hi Gurus,
    We migrated application node from HP-UNIX to SUN Solaris with 11.5.10.2 and 10.2.04 database. When i try to login as sysadmin, got the error You have insufficient privileges for the current operation.
    But i can able to go in with Forms URL and it works. I don't see any errors on IAS except
    Fatal error in parsing device registration file in jserv.log.
    Any help is appreciated.
    Thank You.

    I found 150 invalid objects in the database. Also i have question here my database and the application is on different domains.Where do you have those invalid objects? Under what schema?
    Using different domain names should be OK.
    Do you think that will work. If the application and database put it in the same domain( put the apps in same database domain), by running the autoconfig will update the domain name in application server globally.I cannot assure if it is going to work or not.
    Have you checked Apache log files?
    If not change the domain name globally what else need to be done to change it. Please suggest on that.These are the docs you need to access if you want to change the domain name.
    How to change the hostname of an Applications Tier using AutoConfig [ID 341322.1]
    How to change the hostname and/or port of the Database Tier using AutoConfig [ID 338003.1]
    Steps To Clean Nonexistent Nodes or IP Addresses From FND_NODES [ID 260887.1]
    Thanks,
    Hussein

  • "You do not have enough access privileges for this operation" error message on iTunes startup?

    So I cleaned up my Macbook recently, and now I am fearing that I may have deleted something important.
    Whenever I start up iTunes, I am met with the "You do not have enough access privileges for this operation" error message. I have read forums that advised editing the Get Info page for the iTunes library to allow all users and staff to "Read/Write", but doing this has not eliminated this message.
    Any tracks that were not purchased play normally, but purchased tracks now require additional sign-in that I do not believe was required before. Other than this, iTunes performs normally.
    Did I mess something up permanentliy or is there a way to fix this?

    The problem was that my account wasn't authorized. But when I tried to authorize it, I got an error message saying that the authorization could not be completed. Thankfully, THAT was something that Apple Support had previously addressed.
    See http://support.apple.com/kb/ts1277
    Thanks, Apple.

  • Can't retrieve folder privileges for a specific user

    I am trying to get the granted privilege for a specified user for a certain folder. I am using the wwsec_api.get_granted_user_privilege function. When I run my code, nothing is ever returned. Here is my code:
    l_priv_varchar := wwsec_api.get_granted_user_privilege(
    p_user_id => 0,
    p_object_type_name => 'FOLDER',
    p_name => '2889');
    p_user_id is from wwsec_person.id$
    p_object_type_name is my object type
    p_name is from wwv_corners.id
    I have looked at the properties of this folder and this user, 0, is set up as the owner. So I am expecting to see 'OWN' returned. I have another user set up to only VIEW the folder and when I put that user's id into the p_user_id parameter I still do not get any return. I can run this same code (with different parameter values) and get the privileges for a 'PAGE', but never for a FOLDER.
    Does anyone have this problem or can tell what I am missing?
    Thanks.
    null

    p_name for a folder is "sitename/parentfolder/foldername". You can see that in the syspriv_name field on the WWV_CORNERS table.

  • The following message appears "The itunes library file cannot be saved. You do not have enough access privileges for this operation." how can i resolve this?

    the following message appears "The itunes library file cannot be saved. You do not have enough access privileges for this operation." how can i resolve this?

    I am having the same issue and suggestions on other pages are not working ... why has this started all of a sudden?

  • How to grant  view privilege for Instant Portal to public users?

    How to grant view privilege for Instant Portal to public users?

    Oracle Instant Portal was designed to offer secure access to company and departmental information, and it isn't currently possible to make instant portal pages public.

  • Can't open unlocked file I have read & write privileges for

    My nephew emailed me an RTF (created using iWork Pages on a Mac running 10.5.8). When I try to open it, I get "The document “x.rtf” could not be opened. You do not have appropriate access privileges."
    Get Info shows the file isn't locked, plus:
    You have custom access
    dp (Me)  Read & Write
    (unknown) Read only
    everyone Read only
    His parents use Parental Controls, so I thought I might be encountering an ACL problem. But the Terminal command "chmod -a# 0 x.rtf" yields "No ACL present".
    I tried changing the privileges for "everyone" to Read & Write but -- as I expected -- it makes no difference. (OSX won't let me change the privileges for "unknown.")
    For that matter, he attached 2 other files as well -- they behave the same ways.
    It's useless to try fixing the problem on his end unless I can provide his parents with super-simple step-by-step directions, so I'd prefer to fix it myself if possible, but I'm stumped as to what's wrong.

    According to http://www.freebsd.org/doc/handbook/permissions.html, in the case of directories, the execute bit controls whether they may be traversed. So it's normal for this bit to be set for a directory.
    To clarify where I'm at now: ls -l for the directory containing the file shows
    drwxrwxrwx   9 dp  dp         306 Jun 17 20:33 x.rtf
    and CDing to the file itself shows
    drwxrwxrwx  3 dp  dp    102 Jun 15 17:17 Contents
    -rw-rw-rw-  1 dp  dp  10156 Apr 17 22:45 H4835.jpg
    drwxrwxrwx  3 dp  dp    102 Jun 15 17:17 QuickLook
    -rw-rw-rw-  1 dp  dp   8363 Jun 15 17:17 imgres.jpg
    -rw-rw-rw-  1 dp  dp  31077 Jun 15 17:17 index.xml.gz
    -rw-rw-rw-  1 dp  dp  47231 Apr 17 19:01 macbookair.jpg
    -rw-rw-rw-  1 dp  dp  36191 Apr 17 21:14 unknown.jpg
    Get Info still says I have "custom access" to the RTF. Get Info for each file and directory (and their contents) it contains, however, says "You can read and write." I've searched the web and our KB but find very little about exactly what "custom access" means. As near as I can tell, it should mean it has an ACL, but as I reported earlier, that's apparently not so.

  • ErrText=You+have+insuff icient+privileges+for+the+current+operation

    We remained our domain name. No port change. No host change.
    We followed the note: 338003.1 All the steps went through fine.
    When we tried to login.
    After entering user name and password, login page again appears. The URL contains the following error message.
    .... AppsLogin&errText=You+have+insuff icient+privileges+for+the+current+operation ...
    Anyone Please hep me.

    The issue is resolved by
    1. ADADMIN -> Compile All Menus (FORCE)
    2. ICX_PARAMETERS.SESSION_COOKIE_DOMAIN -> hostaname.new_domain
    Thanks.
    S. Sundar

  • You have insufficient privileges for the current operation error

    Dear All,
    i am getting the You have insufficient privileges for the current operation. Please contact your System Administrator error while opening the oaf page in same window of oracle apps .
    below is the apache log file error
    File does not exist: "instance"/portal/oa.jsp
    Please let me know what is the problem .
    Thanks
    Maheswara Raju

    Try adding the System Administrator responsibility to your user.

  • IPod Classic 80GB - "iTunes library cannot be saved you do not have enough access privileges for this operation" It says it has synced but it hasn't. Help please I am not very tech minded

    iPod Classic 80GB. Message reads ' iTunes library cannot be saved you do not have enough access privileges for this operation'.  It says it has synced but it hasn't. Please help, I am not very tech minded.

    See this article about troubleshooting the error message regarding access privelages.  It may be preventing your iTunes library from being able to save/retain music you have recently imported to it, which may explain why no new content is being added to your device.
    Trouble adding music to iTunes library or importing audio CD
    B-rock

  • HT1751 I am trying to backup my iTunes library onto an external hard drive but it won't complete due to 'insufficient privileges for some of the items'. Am I doing something wrong and is there a solution to this problem?

    Hi All,
    I am currently trying to backup my iTunes library onto an external hard drive so that I can copy it onto my new Macbook Pro. I have been following the steps posted on the Apple website however each time I get a dialogue box stating:
    'The operation cannot be completed because you do not have sufficient privileges for some of the items'.
    Is this because I have items that were bought under another persons iTunes account? If so, is there a solution to this problem? Or am I doing something completely wrong?
    Thanks in advance,
    Sbrooks19

    Go through the below forum with similar issue and follow the process mentioned by "Macjack" in the beginning.
    https://discussions.apple.com/thread/4499820

  • What does this message mean, "The iPad cannot be synced.  You do not have enough access privileges for this operation?"

    I need some help syncing my iPad.  I get a message about not having enough privileges for this operation.  Any help would be appreciated.
    Thanks,

    It means you are using windows and the user agent stuff is messed up.
    Try looking at permissions on the drive iTunes library is on.

  • HT1386 I get an error message when I try to sync my iPod touch - "you do not have enough access privileges for this operation"

    I recently installed a new hard drive on my PC, downloaded iTunes, updated the software on my iPod touch and now I get this error message when I try to sync:  "you do not have enough access privileges for this operation."  It never did this before, whether it's the upgrade in software or something in iTunes, but it's very frustrating, since I'd like to add more things to my iPod.

    See:
    iPhone - not enough access privileges: Apple Support Communities

  • How do i resolve my itunes from saying " The itunes application could not be opened. You do not have enough access privileges for this operation."

    Everytime i click to go to my itunes, the message "The Itunes application could not be opened. You do not have enough access privileges for this operation." pops up. I have tried my best to fix it by adding another account to my computer and setting that one as the administator and mine as the regular user. When i did that the itunes worked on both, but when i changed my account back to administator and the other account to the regular user my account didnt work but the other one did. I also tried to uninstall and reinstall itunes. This message popped up when i tried to update the itunes to the newest one. And still it wont go away. Can someone help me please. Thanks!

    Are you logged in with administrative rights? Did you check your security software settings? Troubleshooting security software issues

Maybe you are looking for