Dynamic context menu and the base security

Hi gurus,

I have a case, where I want to put the role and the menu access on the database.

I saw edwin biemond tutorial to create a navigation page that is based on the database role.

but in this tutorial, I realize that still can access another page that are not show in the page navigation (menu)

so, how can I conduct the user that is not authenticated to access multiple page (based on the role and the database menu) to the default page (home page)

for example.

userJUW have as a turnover.

sales role have access only to the menu: salesInput, salesReport*.txt

When userJUW tried to access the other example of menu: productReport (the menu access others via by typing the url in the url bar of the browser), then userJUW must be informed that he is not authenticated to access the productReport page and then redirect to the home page.

pls throw some light

Thank you

Hi Juw,

Yes, you can do this using the API OPSS.

Develop with the user and role API

Identification information, policies and identities of understanding

I've worked before, but I got an LDAP authenticator based in weblogic. I don't know if OPSS requires that you have an LDAP authenticator however. But if everything is OK you can allow users and assign roles programmatically and they persist in your provider.

Another option but less attractive and is based on your analysis and solution architecture could be as you said to begging, having roles in DB, and questioning the roles once the user connects and assign programmatically according to the information in the DB.

https://oralublog.WordPress.com/2013/11/17/ADF-tutorial-how-to-map-roles-to-user-when-logging-in/

You should do some homework this weekend hehe have fun.

Concerning

Tags: Java

Similar Questions

  • I use Firefox for a kiosk application. Can I disable the context menu and zoom?

    I use Firefox for an application kiosk on a touch screen monitor. I will prevent users from interacting with the browser interface. Is there a way to do this? Disable the context menu and zoom for the touch gestures could prevent users from getting into a State where they are unable to use the application.

    Hi TrevorTubbs, you can disable the zoom in the browser with the method described in http://kb.mozillazine.org/Locking_preferences & locking these preferences:

    lockPref("toolkit.zoomManager.zoomValues"; "1");
    lockPref("zoom.maxPercent"; 100);
    lockPref("zoom.minPercent"; 100);
    

    I'm not sure if disabling the context menu...

  • Context menu of the site overrides Firefox, so there is no orthographic integrated

    When I right click in a text area, menu contextual of the client program can't, Firefox, so I can't use spell checker integrated in Firefox, such as the suggested corrections options and "add to Dictionary". Which is frustrating, because the spell checker find new words and typos, but I can't do anything with them, because the context menu of the client program gets in the way.

    Is it possible to replace the integrated right-click to say, left click spell check menu or a button on the main browser?

    Hello sachss, you can turn off the ability for Web sites to replace the context menu in the Explorer - enter Subject: config in the bar firefox address (confirm the message information where it appears) & search for the preference named dom.event.contextmenu.enabled. Double-click it and change its value to false.

  • Is it possible to prevent the right click context menu of the combination of Stop/Reload?

    Is it possible (subject: config tweak or something) to prevent the context menu of the combination of Stop/Reload?

    Screenshot of what I mean: http://picsend.net/images/873089StupidReloadSto.png

    Try to add this code in the file userChrome.css below default @namespace.

    Customization files (interface) userChrome.css and userContent.css (Web sites) are located in the chrome folder in the user profile folder.

    @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */
    
    #context-stop,#context-reload[hidden="true"] { display: -moz-box!important; }
  • Is it possible to edit Firefox context menu to the standard address for the displayed Web pages?

    Is it possible to edit Firefox context menu to the standard address for the displayed Web pages? Often, I want to save an image on a page. Sometimes I "slip" and press "Send Image" when I want to "Save Image under" and sit and wait for the default page - send an email to come, then shut up, juggling its dialog boxes "are you sure". It is a way of trying to manage a blunder. Basically I want an element directly from a page by email. Is it possible that I can simply remove "Send Image" from the context menu?

    It is possible with the Menu Editor extension:

    https://addons.Mozilla.org/en-us/Firefox/addon/710

  • How to customize the context menu in the legend of plotting the graph of wave?

    I am currently on the creation of a simulation of various control loops as educational objectives. Here, I have a chart in waveform to different signals. Now my question, how to customize the context menu in the track of the Waveform graph legend => when I click on 'image' behind the Plotnames one menu to open options where you can customize the color etc. or plotwidth. But students should not have access to these settings. How can I change or disable this menu? The context menu for the waveform graph, I've already customized by right click on table of waveform-Advanced online-online menu, but for the legend of conspiracy, I have not found this setting...

    Thanks for your answers... I tried different things, but I don't see a solution yet :-(

    See you soon

    DCP

    Hi, STC,

    There have been a number of suggestions for change or disable the table , right-click menu, but I see that this does not affect the context menu of legend , which is what you ask for help with.

    To prevent completely the menu right-click to work, you must disable the chart control entirely. You can do this by double-clicking on the chart and select Advanced Options > active state > disabled. This will prevent the operator to be able to generate a menu right click on the chart control.

    If however you still wanted the table, make a right click menu to work, but the legend made a right-click menu will be disabled, I see two options:

    1. draw a classic decoration square on the legend and the transparent color. This will prevent the mouse clicks to achieve the legend, and transparent it will not interfere with your user interface appearance.

    2 use a Structure of the event to capture the event filter Popup Menu of Activation?  for the chart control. You can then use the Coords property to determine if the mouse is over the legend or not. If this is the case, send faithful away? right Terminal. It will refuse the context menu when the user clicks on the legend of the plot.

  • Weird "cmd" option in the context menu for the drive/folder

    Recently, I noticed a strange 'cmd' (as what) command appeared in the context menu for the drive/folder. After pressing it, I get an error "this file doesn't have an associated program to perform this action."

    Efforts to eliminate this question nagging eye, using regedit and various 3rd party menu popup editors, have failed.

    Any ideas why this might have happened?

    Thank you in advance.

    So, I thought about it. It indeed is a corruption of the menu prompt integrated (that I didn't know existed until I started to search for this problem).  The problem and the fix is here:

    There is a key called "command" in HKCR\Directory\shell. Delete the key "cmd" under "shell", and then adding the following code appear to have solved the problem.

    [HKEY_CLASSES_ROOT\Directory\shell]
    @= 'none '.

    [HKEY_CLASSES_ROOT\Directory\shell\Command Prompt]
    'Extended '=' '
    "NoWorkingDirectory"=""

    [HKEY_CLASSES_ROOT\Directory\shell\Command Prompt\command]
    @= "@shell32.dll,-8506.
    'Extended '=' '
    "NoWorkingDirectory"=""

    [HKEY_CLASSES_ROOT\Directory\shell\Command Prompt\command]
    @= "cmd.exe /s /k pushd \"%V\"" "

  • Context menu in the list field

    Hi, I want to make the context menu, which will apper when the user clicks on an item in the list filed. It will be displayed right on the field.

    I don't see my context menu when the user clicks the button menu blackberry.

    Thank you.

    Finally that I do.

    I take a look at the example of ContactListDemo. Now it's working.

    I put this code in my screen main clas.

       protected void makeMenu(Menu menu, int instance)
            {
    
              menu.add(_viewEmailMenuItem);
              super.makeMenu(menu, instance);
            }
    
          private class ViewEmailMenuItem extends MenuItem
            {
                public ViewEmailMenuItem()
                {
                    super("View Email", 0x00000000, 0);
                }
    
                public void run()
                {
                    Dialog.inform("You clicked.");
                }
            }
    

    I'll open another thread about removing default menu items. See all keyboard, switching Applications and full menu.

  • Add context menu of the taskbar using the registry editor

    I am able to add context menu items in the background of the Office (HKEY_CLASSES_ROOT\DesktopBackground\Shell) or records (HKEY_CLASSES_ROOT\Folder\Shell) but I can't find the key needed to do this to the taskbar. What is it?

    As far as I KNOW, you can add items to the context menu of the taskbar. All we can add is deskbands and custom toolbars (if you are a programmer.)

  • Strange behaviour of the context menu in the pop-up window to disable the option

    Hello

    I have the table with the context menu of the pop-up window

    < f: facet name = "contextMenu" >
    < af:popup binding = "#{backingBeanScope.backing_jsf_fragments_postoffice_ContentMovementsView.p1}" id = "p1" contentDelivery = "immediate" > "
    < af:menu text = "menu 2" binding = "#{backingBeanScope.backing_jsf_fragments_postoffice_ContentMovementsView.m2}" id = "m2" > "
    < af:commandMenuItem text = "#{web_Bundle ['label.toolbar.menu.item.record.edit']}" "
    Binding = "#{backingBeanScope.backing_jsf_fragments_postoffice_ContentMovementsView.cmi3}" id = 'cmi3' "
    actionListener = "#{backingBeanScope.backing_jsf_fragments_postoffice_ContentMovementsView.showEditBookRecordPopupActionListener} '"
    Disabled = ' #{bindings. " RecordStateName.inputValue == 'ARRANGED'} "/ >"

    disabled the option works strange. When I right click on the folder with RecordStateName.inputValue = 'ARRANGED' menuItem is enabled. By selecting this menuItem enabled, nothing happens but menuItem is disabled. Disabled menuItem never going back active even I right click RecordStateName.inputValue "ARRANGED" <>and click on disabled menuItem does nothing.

    Help me how do to turn menuItem in context menu of the pop-up window.

    I use JD Studio Edition Version 11.1.1.5.0 on Weblogic 11.1.1.5

    Thanks in advance

    Hello

    You must use contentDelivery = "lazyUncached" to the context menu for re-read its content.

    Frank

  • Context menu of the object library

    I created a bar of navigation flight path images and popups with links. I just inserted the navigation bar in the library as an object so that it can be placed in all the pages of my site. However, when you insert the navigation bar object into a new page, the text and links do not copy on the behaviour of the context menu.

    The flight path images work fine, but I can't get the popup to work after it is inserted into a new page. The links in the pop-up menu will change frequently so I want to be able to change just the file source and Dreamweaver to update automatically the other 40 pages +. Y at - it solution or a better way?

    Thanks for your time.

    > Is there a solution or a better way?

    There are two solutions * and * best ways.

    1. never use these context menus in DW/FW. They are clumsy, tedious, and
    simply broken.

    Check the uberlink and tutorials at PVII m
    ( http://www.projectseven.com/)

    and the tutorial/articles instead of Thierry Navbar
    ( http://tjkdesign.com/articles/dropdown/)

    Or this one (most recent article):
    ( http://tjkdesign.com/articles/Pure_CSS_Dropdown_Menus.asp)

    Or it will quickly, click here.

    http://www.Projectseven.com/tutorials/navigation/auto_hide/index.htm

    2 consider using models of DW, or inclusions side server to resolve your
    question interview (having to make changes to each page). Read about them
    the two DW F1 help.

    --
    Murray - ICQ 71997575
    Adobe Community Expert
    (If you * MUST * write me, don't don't LAUGH when you do!)
    ==================
    http://www.dreamweavermx-templates.com - template Triage!
    http://www.projectseven.com/go - DW FAQs, tutorials & resources
    http://www.dwfaq.com - DW FAQs, tutorials & resources
    http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
    ==================

    "eroc121" wrote in message
    News:ell5al$7h5$1@forums. Macromedia.com...
    > I created a composed the menus pop up navigation bar and the flight path images
    > with
    > Links. I have that insert the navigation bar in the library as an object so
    > who
    > it can be placed in all the pages of my site. However, when
    > insertion
    > the purpose of navigation in a new page, the text and links bar do not copy
    > on
    > with the behaviour of the context menu.
    >
    > Flight path images work fine, but I can't get the popup to work
    > after
    > inserting into a new page. The links in the pop-up menu will be
    > changing
    > frequently so I want to be able to simply edit the source file and have
    > Dreamweaver automatically update other pages 40 +. Is there a solution
    > or
    > best way?
    >
    > Thanks for your time.
    >

  • Failed to create the menu popup JavaScript with to display the context Menu with the help of add behaviors

    Whenever I load a page with this added behavior and test it with my link, I get a message "error on Page".

    Here's what I do:

    Create a new HTML page in Dreamweaver 8.0.2 and save it.

    Add a hyperlink in the Insert-> menu hyperlink. Do not put anything in it except a few example of text; "THIS IS a TEST", or something.

    Select the hyperlink and choose "Show the context Menu" in the tag behaviors menu tab ' + '. The dialog box will appear.

    Add a single item and add a link to a page. Do not change the other options. Click OK to close the dialog box and the code will be added to the page.

    Save the HTML page again and press F12 to load the page on your test server and display them in a browser.

    Hover your mouse over the link to test. Nothing happens and there is a message in the status bar at the bottom of the browser, "error on Page".

    OK, it works. I saw the source file that are listed there, but I assumed that Dreamweaver would be to download the file with the HTML file to test on my test server. Usually, I'm prompted to download all the dependent files. Is there an exhibitor or dreamweaver do not miss this link?

    I'm sold on convictions explained in the rants you have linked, but only after I see that Dreamweaver menus don't work. It is not entirely necessary for my completely dependent users of my menus, they are only a feature of page layout.

    Since I have the ear, maybe you could tell me something before my attempt it: is it possible to generate the JavaScript using PHP? I would like to include JavaScript in the context of records with PHP MySQL. Is there another possible solution from PHP? I guess that ASP is a solution already and maybe Flash too.

    This is the kind of page I'm working on that:

    http://www.symbiota.com/MiloTrial/witnesses.php

    I would like to see a drop down menu for each trial where the number of witnesses is less than 10 to save someone the trouble to open a new page just to see a list of ten names.

  • 40L5443DG TV: how to change the color of the menu and the guide?

    Hello
    I'm happy with my new TV 40L 544 3 DG.
    But there is a but.

    How can I change the color of the menu and the guide?
    The grey of the text with blue-gray background is not good for my eyes.

    I can change the color by editing a css file in the firmware?
    Please give me a solution.
    Thank you very much.

    Mike

    > Can I change the color by editing a css file in the firmware?

    N °

  • Black background in the Menu and the bookmarks toolbar

    The background color for the Menu and the bookmarks bar is black and what is happening no matter what theme or character that I use. All other toolbars will change with the theme, but not the two above

    This has happened

    Each time Firefox opened

    == improved FF 3.6

    Have you tried to disable (uninstall) the Personas add-on?
    Do you use the Persona and the theme at the same time?

    Start Firefox in Firefox to solve the issues in Safe Mode to check if one of your modules is causing your problem (switch to the DEFAULT theme: Tools > Modules > themes).
    See the extensions, themes and problems of hardware acceleration to resolve common troubleshooting Firefox problems and troubleshooting questions with plugins like Flash or Java to solve common Firefox problems

    If this does not work in safe mode and then disable all your extensions and then try to find out who is causing by allowing both the problem reappears.
    You can use 'Disable all add-ons' on the start safe mode window.
    You will need to close and restart Firefox after each change through "file > exit" (on Mac: "Firefox > Quit")

    If you have many extensions then you first activate half test extensions that half the problem.
    Continue to divide the bad half that still has the question until you find that one is causing it.

  • My second monitor lost functions of the menu and the image.

    Original title: monitors identified with reverse pilots

    I upgraded my second monitor.  After loading the new driver for it, he was assigned to the old monitor and the new monitor is now the old driver.  Features on the old monitor do not work and I had to make the new monitor my primary monitor. It's ok but the old monitor lost functions of the menu and the picture is now crap.  Also, when I open PS it is said that the profile of the monitor is deffective. I ran the calibration software, but that did not fix it.

    It looks like this: in the display settings, in the drop down menu below the pictures of the monitors, number 1, said SyncMaster 2443BWT on NVIDIA GeForce GT 9599.  Number 2, said SyncMaster digital S23A350H on NVIDIA GeForce 9500 GT

    This is backwards.  How can I get the correctly identified.  or is it important.

    Thanks for any help.

    Loïc

    I ended up uninstalling the driver for the 23 "and disconnect.  This put the 24 "at number 1 and automatically back to the only driver left, 24".  Then restarted with the 23 '' reconnected.  It assigned the pilot generic and in fact number 2. Yes the 23 "works very well on the generic driver and I have the right driver for the 24" so I'll leave well enough alone...  I had downloaded the drivers from the monitor on the Samsung website according to the instructions on my cd that came with them.   I never thought to check the updates on my nvidia graphics card.

    Thank you very much for this information.  I'll do this and keep my fingers crossed he doesn't mess up something else.  This Vista is so tempermental.

    Loïc

Maybe you are looking for

  • FF Version 29, adding a tag

    FF seems to ignore the comma when I add a tag. Instead of separate tags it makes a great tag.

  • 700 - 311na envy: 700-311na

    3 days ago, the PC stopped randomly. then turn. I checked lead which seems fine. When connecting the cable to the computer, I can see sparks through the air at the top right grid at the rear. Once connected, the green light on the back of the unit is

  • Error installing XP on new hard drive - Presaro V3700 Notebook PC

    Hello I try to get Win - XP Home installed on a new hard drive, but whenever I try to install xp I get this error. (see below) funny thing is he had xp installed on the old disk hard until it packed. The XP CD load installation of Windows right up to

  • Hotmail account and Facebook has been hacked

    How do Iget this return of the acc tried to validate that they say make new ACC is new VAC * Email address is removed from the privacy * lost VAC * address email is removed from the privacy * if we'll look at profile pictures are the same person in t

  • Cannot print from IE 8 after upgrading Vista to Windows 7

    My laptop (HP Elitebook 8530w) uses two HP printers: Color LaserJet CP3525x (at work) and Deskjet 6940 (at home). Both printers are accessible via a local network. I've recently upgraded to Vista Enterprise to Windows 7 Enterprise. All still print fi