Security Cannot authorize taskflow "VIEW"

I have setup a sql authenticator in Weblogic and built the tables.
I have the login screen, welcome page and a taskflowCall to the menu page. (all ADF)
I can get to the login and back to the welcome screen and navigate to the menu.
I have verified the login user and the roles (POESSA_OWNER, roles: ADMIN, authenticated-role, valid-user)
I have setup the adf security - user - POESSA_OWNER, Enterprise Role: ADMIN Application Role: AppRole1 and assigned ADMIN as a member of the AppRole1.
I then went to the application and assigned AppRole1 to the taskflowCall and checked the view checkbox (default).
In the tables (sql Authenticator) I have a username of POESSA_OWNER, assigned to the role "ADMIN".
When I do the login - I use the authenticator to retrieve the username, roles and authorized (as in some of the examples.
When I do the navigation call to the menu - it fails.
In ADF you cannot use the forwarding - it needs to be calls using taskflows.
So my login is a 'dialog:login' and I use the return handler to navigate based on the result:
I do not use golinks - it is all command buttons and actions.
The testIt routine just prints the user info to the system.out (this is all OK and everything is present (UserName and roles - exactly as expected)
the authenticator is the first in the realm and all are marked "Sufficient" - the interface in the administrator works (I can add, delete, and otherwise manage the data in the tables)
public void handleReturn(ReturnEvent event) {
if (event.getReturnValue() != null) {
FacesContext fContext = FacesContext.getCurrentInstance();
AdfFacesContext.getCurrentInstance().addPartialTarget(getUIComponent("cb1"));
result = event.getReturnValue().toString();
if (result.equals("success")) {
testIt();
Application application = fContext.getApplication();
NavigationHandler navHandler = application.getNavigationHandler();
try {
navHandler.handleNavigation(fContext, null, "enterMenu");
} catch (Exception ex) {
FacesMessage msg = new FacesMessage(FacesMessage.SEVERITY_ERROR, "Authorization Error", "Not Authorized for this function");
fContext.addMessage(null, msg);
The error I get (if not intercepted) says the username is not authorized for the function"VIEW".
Have I missed something? are there issues using the navigation handler?

John,
My apologies - I did not mean to confuse you - I meant there was no need to secure the actual screens (I understood the task flow is what is secured - not the individual items - screens and such).
So in my scenario - where I have a task flow call from the unbound to a bound flow - I would just secure the task flow call.
In my case it is from the welcome screen to the menu page - with the task flow call being "enterMenu".
I would need one security grant (ADMIN) - to the "enterMenu" task flow call - or will I also need another grant on the bound flow itself?
I would assume that the grant on the task flow call would be smart enough to imply the bound task flow has the same level of security.
(Sorry - hard to get the names syntactically correct) - As I understand it - a task flow call terminates with a task flow.
This is what I have done so far.
Am I missing something or should this work.
Remember - I am using a Sql Authenticator to do the login (though it seems to be correct up to the point of the call - there could be issues in the way I have done the security).

Similar Messages

  • Security error: Cannot authorize operation for invalid non-ASCII URL

    I have an error that popped up with Flash Player 10.1.85.3 or 10.1.82.76.
    In our application, we load users' avatars with their original filename. Some filenames have non-ASCII characters (i.e. Hebrew, accents, or umlauts) and I can no longer load those files from a different subdomain.
    For example, I'm trying to load this image (with the Loader class and a LoaderContext):
    http://photos.myawesomedomain.com/images/awesöme.jpg  (o with umlaut)
    It comes to me encoded in UTF-8:
    http://photos.myawesomedomain.com/images/awes%C3%B6me.jpg  (umlaut converted to %C3%B6)
    When I try to load the file from http://myawesomedomain.com/myawesome.swf, I get this error:
    *** Security Sandbox Violation ***
    Connection to http://photos.myawesomedomain.com/images/awesöme.jpg halted - not permitted from http://myawesomedomain.com/myawesome.swf
    Error: Cannot authorize operation for invalid non-ASCII URL http://photos.myawesomedomain.com/images/awesöme.jpg
    If I try this with a player earlier than 10.1.82.76, it works. It also works if I move the file to the same domain as the SWF (http://myawesomedomain.com/images/awesöme.jpg) -- but that's not an option for me. Files without unusual characters work regardless of the player version.
    The error occurs when I try to access the bitmap data of the loaded image. I've tried encoding the URL differently, but Flash always reports it as "http://photos.myawesomedomain.com/images/awesöme.jpg" - with the umlaut converted to strange characters. The cross domain file allow-access-from "*.myawesomedomain.com"
    Has anyone run into this? Is there a way I can fix it without renaming the users' photos (we have tens of thousands of these)?
    I feel like I must be missing something obvious; hardly anything comes up in Google for this, but I don't think it would be an uncommon problem.  I believe https://bugs.adobe.com/jira/browse/FP-5580 is related.
    Thanks!

    The problem is based on the player version, not the browser.
    The problem showed up in Chrome first because it auto-updates the player; when Firefox users installed the updated player, they started having the problem, too.

  • I cannot authorize my new computer in iTunes because I hit the 5 device limit. However, I cannot deauthorize the old one because it's gone. I also cannot use the deauthorize all computers button because I did last year when I was replacing computers. Is t

    I cannot authorize my new computer in iTunes because I hit the 5 device limit. However, I cannot deauthorize the old one because it's gone. I also cannot use the deauthorize all computers button because I did last year when I was replacing computers. Is there any other way of deauthorizing computers that no longer exist?

    harishassan16 wrote:
    ... Is there any other way of deauthorizing computers that no longer exist?
    If you no longer have, or access to, the computer(s) you want to deauthorise,
    Log in to iTunes,  go to "view your account info" on the itunes store, deauthorise all five,
    (Please Note: this can only be done Once every 12 months)
    Then re-authorize your current Computer(s) one at a time..
    Authorise / Deauthorise About
    http://support.apple.com/kb/HT1420
    harishassan16 wrote:
    ... I also cannot use the deauthorize all computers button because I did last year ...
    Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact

  • HT5312 I cannot authorize my new Macbook Pro, I can't deauthorize my old computer; I don't have the authorize/deauthorize button on my account. I created a new Apple ID hoping this would fix the problem, but didn't realize I now do not have access to my m

    So, I bought a new Macbook Pro which i cannot authorize my itunes for. I don't even have the button indicated in the support section to authorize or deauthorize. I only have one device authorized to my account. I cant remember my security questions and cannot figure out how to change them; I think this might be the reason why i can't authorize my new device. The only way to access my itunes from my Mac is to have my iphone plugged in. Someone please help! I am a complete tard and would like to avoid a trip to the actual Apple store.

    Call Apple Care for your country and request that they assist you in resetting the security questions.
    To authorize/deauthorize a computer, go to the Store dropdown menu in the iTunes app.

  • I cannot authorize my pc keeps telling me temporarily unavailable

    I cannot authorize my PC it tells me temporarily unavailable also i cannot sign in to store.  Dont have any problems purchasing music on iphone.  I am using the same the account details.
    I have uninstalled itunes and re-installed. turned PC off and re-booted but still cant authroize ..................please help someone!!!

    Hi Tracydoola,
    Thanks for using Apple Support Communities.  Based on the fact that you have tried a reinstallation of iTunes, it sounds like there may be a firewall or other security software preventing iTunes from communicating with its servers.  This article has steps you can try to resolve or isolate the issue:
    Can't connect to the iTunes Store
    http://support.apple.com/kb/ts1368
    Cheers,
    - Ari

  • Iphone 3G Software Update Fixes security vulnerability associated with viewing malicious PDF files?

    Is there an Iphone 3G Software Update Fixes security vulnerability associated with viewing malicious PDF files?  Latest version I can download is 4.2.1
    I assume no fix is available, does anyone know if I'm still vulnerable to the security bug?

    No fix is needed since that vulnarability isn't in 4.2.1.

  • Cannot able to view new activities in CONS

    Hi,
    We successfully deployed new DC into our portal system. Then our dev team did some changes and then created new activity and released in NWDS.
    New changes went through default development runtime system.
    But I cannot able to view new activities under CONS system, it was showing empty queue. Can any one please help me to fix this issue?
    Thanks & Regards
    Srinivas
    Edited by: Srinivas Dasari on Apr 6, 2008 1:18 PM

    Hi Srinivas,
    If you are sure the activity was successfully released from NWDS, try to check in the import history of cons. May be the released activity got imported already.
    Akshatha

  • The Control A key is not working. I cannot multi-select my songs. I'm not sure if it is the problem with iTunes 10.6.1.7 or my PC settings encounter issues. Also, i cannot find Album Artwork online using iTunes and i cannot select any view form but List.

    The Control A key is not working. I cannot multi-select my songs. I'm not sure if it is the problem with iTunes 10.6.1.7 or my PC settings encounter issues. Also, i cannot find Album Artwork online using iTunes and i cannot select any view form but List.

    The Control A key is not working. I cannot multi-select my songs. I'm not sure if it is the problem with iTunes 10.6.1.7 or my PC settings encounter issues. Also, i cannot find Album Artwork online using iTunes and i cannot select any view form but List.

  • I have downloaded video in MP4 from my GoPro camera, but I cannot open and view the video.  Help please.

    I have downloaded video from my GoPro helmet camera to my iPad 1 photos, but i cannot open and view the MP4 file.  Please help.

    Yeah, just as said above, you need to convert it to iPad supported video formats first and then sync it back to the iPad.
    Chek the iPad Supported Video and Audio Formats first.

  • Cannot authorize my new macbook pro on iTunes.  I de-authorized my previous computers.  What is going on?

    I cannot authorize my new macbook pro on itunes.  I de-authorized all my previous accounts.  I tried following the directions given for authorizing a computer, but I do not see this option when I open itunes.  Any help is much appreciated.

    Move the cursor to the very top of the computer's screen, click on Store, and choose Authorize this Computer.
    (83534)

  • HT1848 I cannot authorize my computer, I'm having this error message The required file was not found or has a permissions error. Correct this permissions problem and try again, or deauthorize this computer if the permissions cannot be changed." please hel

    cannot authorize my computer, I'm having this error message The required file was not found or has a permissions error. Correct this permissions problem and try again, or deauthorize this computer if the permissions cannot be changed." please help me

    Doublechecking. In the course of your troubleshooting to date, have you worked through the instructions from the following document?
    iTunes: Missing folder or incorrect permissions may prevent authorization

  • You Cannot Authorize More than 5 Computers...

    Hello,
    I have a new Dell laptop running Vista. I waited until a new version of iTunes came out and downloaded 7.1 this morning. I backed up all my songs which has been successful and it looks like the album cover art is there too.
    I continue to get this message which says:
    You cannot authorize more than 5 computers...
    You have already authorized 5 computers with this account. to authorize this computer you must first deauthorize one of the other computers.
    I read the KB article and quite frankly am totally confused. My old laptop has been reformatted and given to a friend. iTunes was not installed on it.
    How do I get rid of this annoying message? Should I attempt to synch up my Nano or wait first until I get help with this message. Sorry the KB about deauthorizing and authorizing is very confusing to me.
    All I'm doing is trying to get my iTunes installed on a new laptop restored with all my old songs.
    Thanks in advance for any help.

    See this article.
    http://docs.info.apple.com/article.html?artnum=93014
    Specifically this part:
    " If you find you have reached 5 authorizations due to system upgrades, you can reset your authorization count by clicking Deauthorize All in the Account Information screen. Note: You may only use this feature once per year. The Deauthorize All button will not appear if you have fewer than 5 authorized computers or if you have used this option within the last 12 months."
    This is what you may need to do.

  • Authorizations for View Cluster

    Hello all,
    I need to maintain authorization for View cluster.
    Example : I have a view cluster say 'VC_TEST' , now I should have an authorization where other employees can only display it.
    Steps which I have followed:
    1. Assigned authorization object to the views of view cluster then created role for the object S_TABU_DIS and assigned all the activites (Create,Change,Display)
    2. Assigned user to the role
    But still other people can edit or maintain the view cluster.
    So could you please guide me.
    Thanks and regards,
    Anil

    HI,
    Reg:Authority Check object
    http://www.techrepublic.com/article/comprehend-the-sap-authorization-concept-with-these-code-samples/5110893
    Ram.

  • InfoPath 2013: InfoPath cannot load the view. The view may have been modified to contain unsupported HTML such as frames.

    Hello Folks,
    I'm facing a strange behavior of InfoPath 2013 while using with SharePoint Designer 2013 to customize the forms. Whenever i open any SharePoint form to customize it in InfoPath 2013, it gives me error "InfoPath cannot load the view. The view may have
    been modified to contain unsupported HTML such as frames."
    Just like all other folks, i also assumed that the forms are corrupted and i need to change the extension to *.cab and blah blah blah. But, when i noticed that the error is coming with new list forms, new workflow forms as well then i tried to research on
    the issue. Surprisingly, all forms are opening on my colleague's PC but not from my PC. We're using the same server, same SharePoint Production, same SharePoint Development and similar InfoPath. Infact, our system team has prepared both of us in a similar
    way. The only difference is OS, where he is using Win 8 and mine is Win 7 Pro.
    Therefore, from last 1 week, i've to swap my PC with my colleague if i've to customize or update any form in InfoPath 2013. This is quite bizarre. Can someone let me know what's wrong with this issue?
    Regards,
    Sohaib
    Sohaib Khan

    Hi Sohaib,
    I'd like to double confirm with you that the issue only occurs to your client machine. Please log on to another machine and see if the issue is related to your account.
    If the issue is only related to your machine, I'd recommend you clear InfoPath cache and repair Office program.
    Then go to InfoPath > Options > More Options > General > Internet Options > Add SharePoint sites to your trusted sites and disbale protected mode.
    http://blogs.msdn.com/b/michael_yeager/archive/2008/07/09/infopath-cache.aspx
    http://office.microsoft.com/en-in/infopath-help/repair-office-programs-HA010357402.aspx
    Regards,
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected] .
    Rebecca Tu
    TechNet Community Support

  • Outlook 2010 pro " error "outlook cannot display this view"

    Hi,
    When opening my outlook, I do see my inbox + subfolders, but i do not see any mails in the right panel, and I get the error messge "outlook cannot display this view" when clicking the inbox.
    Any ideas of how to get the visabilty and function back?
    Thanks
    ~M

    Pst file size would not cause this and Outlook 2010 can have huge pst files as long as you use the new Unicode format.
    If the problem is a corrupt view, cleanviews will clear it. I'm sure there are other causes besides corrupt views, but I can't think of any at the moment.
    Does it work in Safe mode? To open Outlook in Safe mode: Close Outlook then hold Ctrl as you click on the Outlook icon. You'll get a message asking if you want to start in Safe mode. Click Ok.
    Diane Poremsky [MVP - Outlook]
    Outlook & Exchange Solutions Center
    Outlook Tips
    Subscribe to Exchange Messaging Outlook weekly newsletter

Maybe you are looking for

  • No Log Found in OBIEE 11.1.1.6.9

    Hi All, We have installed OBIEE 11.1.16.9 and have configured OBIA 7964 RPD. While trying to retrieve the log files for any report by going to Administration - Manage Sessions, and then clicking on the report we are getting 'No Log Found' message. As

  • Multi DP in WAD and its impact on Performance ?

    Hello Experts, I am working on WAD reports with multiple Data Providers, I.e.  Web Template with DP1, DP2, DP3, DP4  --- Query 1                                    DP5, DP6, DP7, DP8  --- Query 2       Purpose - i have used Tab Strip Item with eight

  • Placing a PDF file in Word 2013, bad quality

    I use window 08 PC, when I place a PDF file in word I get a very bad image quality. I designed a logo and I need it in a very good quality on word.

  • IPhone / iTunes recognition problems

    After re-installing iTunes and Apple Mobile Device my iPhone is recognised only once and not anymore. Next time I try to sync. it I have to go throughout again to the whole installation procedure. What is it going wrong? How can I get iPhone to be re

  • Download web dynpro developments to local disk

    Hello to all, first of all I want to congratulate all people that make this forums possible because it helps a lot of people (me included) when a problem appears. Well, I'm going to get right to the point, is there any possibilty to download the deve