Question about Authentication on item-level

If you set authentication for a page item, am I correct in assuming that it does get processed (i.e. the value in the item can be used for example in the where-clause in a query), but it just does not get displayed?

i mean a normal item on a page. For example a selectlist, or textfield.
In the app I'm currently developing, I have a few user levels. Normal users should only see their own records in a report, admins should be able to see all records.
So what I have for the admins, is a select-list with the usernames, so they can choose whose records they can see. A normal user can't see the select-list.
When a user logs in, I set the value of the select-list to their user-id (and the select-list displays the corresponding name, based on a LOV). The query which displays the report looks at the select-list to see for which user it must show records. So, when an admin selects a different username, it will show the records for that user. When a normal user logs in, he/she won't see the select-list, but the query does use the value of that select-list in the query.
Now what I want to know for sure, is that the select-list is always processed upon loading, and not that it's just a coincidence in this case that it's working.
I'm asking because if you check the help for the Authorization-option in the item, it says "Optionally select an authorization scheme which must evaluate to TRUE in order for this component to be rendered or otherwise processed."
From this I would think that it won't contain a value if the authorization is false (which would be in the case of a normal user).
I'm using HTML DB 1.6, by the way.

Similar Messages

  • Short questions about the focused item

    Hi,
    Short questions about the focused item:
    - How can I check if a specific item has the focus?
    - How can I check in my code which arbitrary item on my form has the focus?
    I need to know this because I have a checkbox and when it become unchecked, I disable an item on my form. But when this item has the focus, disabling this item will fail. Does anyone knows a solution for this problem?
    Greetz
    Eddy

    Hi Eddy!
    I suppose you should make an "event trigger" for the event "et_GOT_FOCUS" in your ItemEvent-handler and store there the item, which initiate that event. It can be like following:
    SBOApp_ItemEvent(FormUID, pVal, BubbleEvent)
    if (pVal.EventType == SAPbouiCOM.BoEventTypes.et_GOT_FOCUS)
       strCurrItemInFocus = pVal.ItemUID;
    do someth..
    if (strCurrItemInFocus == "chbxMyCheckbox1")
       // disabling this item will fail
    else
       // disable an item on my form
    I hope it helps..

  • 2 questions about Dropdown Box Item

    Hi all,
    I just started using Design Studio and I have two questions about the Dropodown Box Item (well actually it's more about scripting...):
    - in the startup script of the application I want to populate one dropdown box with master data values of the infoobject 0FISCPER, how can I realize that? (if I use "DS_1.getMemberList...." I get only the values of 0FISCPER for which there is transaction data)
    - as a datasource I use a query with 2 variables:
         - Is it possible to populate these 2 variables with default values and skip the initial Variabile Initialization Screen?
         - I use 2 dropdown box items to set the values of these 2 variables. For one variable everything it's ok (I select the value in the dropdown and the      script populate the variable with that value and the data in the crosstable changes accordingly) but for the other variable associated to the 0FISCPER      infoobject when I select the value in the dropdown it's seem that nothing happens since the Variabile Initialization Screen pop-up and an error says that      I have to select a value for the variable. I did the same simple scripts for the these 2 variables, why does it work for one variable and not for the other?
    Thanks,
    Michele

    I answer myself about one question:
    "Is it possible to populate these 2 variables with default values and skip the initial Variabile Initialization Screen?"
    Yes, it's possible to create a script in order to populate the variables in the event "On Variable Initialization" of the Application and set false to the property "Force Prompts on Startup".

  • Question about Measure folders Items (dimensions & measures)

    Hi All,
    I have tow question about measure folder
    1-     How can I make measure folder contain both dimensions & measures?
         Like this image http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/r10122/images/d1t10202.gif
    2-     When I create measure folder and add some measures in it, when I query cube these measures still displayed out of folders how can I make all measures and dimensions displayed only on folders like the above image ?
    Regards,
    Gado

    Hi Andy,
    There should be no difference in functionality for these two kinds of folders. You can perform all the operations on these two kinds of folders without any difference, for example, delivery messages, create view settings/rules and etc.
    Regards,
    Ethan Hua
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Question about using library items in forms

    After a long time I am again returning to this perpetual fountain of Dreamweaver knowledge.
    I am converting a site from AGL to DW. In AGL I used a separate template for the forms (there are over 10) and used "components" to create the different forms. Each form shared features with other forms but were not identical, all together 5 components. When I converted over to DW the 5 compnents were made into 5 "library items" but neither the form template or the library items work, by that I mean they do not update if I make a change.
    Hence I want to make 5 new library items to use in the forms my question is this: when I choose an item to put in the form like a text field or radio button I always get this window.
    Though I read the documentation I am still not really clear about the "style" option so I just choose "no label tag." What is this used for? Any examples of how it is used?
    Regarding "position" before or after the item, what is this all about? I have been choosing "after form item" but I don't really know what the difference is and what advantages or disadvantages acrue from these choices.
    Regarding "Access key" and "Tab index" I sort of have the idea of what it is about but an example of how they work in action would clear up any nebulosity.
    But my real puzzle is with the following which pops up at the end when I am inserting a form items.
    Since the library items are not separate forms in themselves I have NOT added the form tag because my reasoning is that when I make the new form templates it will have the requisite form tags. Am I correct in this line of thinking? Or do I have to add form tags every time I add form elements to a form? I really don't want to have to do the whole thing over again if I get it wrong. So if one of you kind souls could guide me in doing it right the first time I would really appreciate it.
    I am using a MBP, OS X 10.6.8, DW CS6
    BvL

    To declare constants create a Package-Specification in a pll and deifne all your constants there, something like:
    PACKAGE PK_CONSTANTS IS
      RC_SUCCESS CONSTANT PLS_INTEGER := 1;
      RC_FAILURE CONSTANT PLS_INTEGER := 0;
      RC_YEAR_DATA_NOT_FOUND := 50;
    END;Then attach that pll to all your forms-modules, and use it like
    IF rc = PK_CONSTANTS.RC_YEAR_DATA_NOT_FOUND THEN
    END IF;A word about exceptions or errors: In my eyes its clearer (and in case of exceptions even better) to raise an exception than to hide it behind return-codes.

  • Question about customer line item clearing

    Hello everyone,
    There is one question here. Since from the result of FBL5N in SAP, the total amount of AR is zero, but the cleared /Open symbol still show these items are open. Itu2019s very strange because these should be shown as cleared items as the total amount is zero.
    Do we have to clear them manually? or does it take time to show effect in the system?
    Plz explain.
    Thanks
    Leena...

    Hi Leena,
    While pulling the customer report for open item by giving today's date if you are still finding open items being there total to zero, you need to manually clear them. Transaction Code-F-32
    Warm regards,
    Murukan Arunachalam
    Edited by: Murukan_A on Jan 5, 2012 10:21 AM

  • The question about max line item in material document

    Dear  sir:
    I want to excute CO27 for an FP . It will create material documents. The max line item is 100 in each material document. But I want to record 400 lines in a material document.  Is it possbile to change the number of max line in material document?   How could I do to change that ?   Thanks !!

    I know about 333 in case of physical inventory because the finacial document has a technical limitation of 3 digits for Fi document item number, which means the FI document cannot take more than 999 lines.
    In case of physical inventory a material document item can create up to 3 FI item lines. So the limit for physical inventory became 333.
    I dont know from where you have the 100 as limitation, but take the above said into consideration before you change anything.

  • Question about returning online items...

    Just to confirm, the 15-day timeframe begins when the item is delivered to the residence, correct? Not when the order is initially placed?

    Hi jbtb07,
    Thank you for taking the time to connect with us on the forum.
    It looks like CrystalWoW was able to answer your questions; however, let me see if there is anything else I can help add.  As CrystalWow mentioned, a "special order" product will be ordered directly from the manufacturer.  A majority of our special order products will tend to be appliances and should be marked accordingly on BestBuy.com.  If you ordered an item from one of our online Marketplace retailers, then you would want to contact them directly regarding a return or exchange. 
    I hope you have a wonderful day, and let us know if you have any other questions!
    Derek|Social Media Specialist | Best Buy® Corporate
     Private Message

  • A question about Authentication Provider

    I integrate OID with WLS, provide user information to BPM, but I find in BPM Identity Lookup window, it only search and use users in the first Authentication Provider.
    I add real employees info in OID,now I need some virtual user in BPM process,I dont want to add them into OID.
    From BPM support document e10226 Administrator' Guide for Oracle SOA Suite and Oracle Business Process Management Suite P104 6.8 Listing Oracle Internet Directory as the First Authentication Provider,I know OID must be the first provider in realm,but I know in Weblogic console authentication, it will use all providers from top to down. why BPM can only recognize the first provider? I think support document only says OID must be the first,not the only one.
    From document e15176--Modeling and Implementation Guide for Oracle Business Process Management P394 bottom of the page, it says "select an application server,realm,and ....",but in the Identity Lookup window, the jazn.com is not my realm name,I think it's OC4J default realm name,but why ?

    Any one who know this ?

  • Question about sorting of items...

    ...when their perspective is published as a portlet. We have a perspective published as a portlet, and the items are seemingly sorted in some random order. How are these items sorted? Thanks for the help.

    I assume you're using Portal 3.0. There's not much you can do to control the sorting in the category or perspective portlets. In Portal Release 2, the custom search portlet replaces the category/perspective portlets and gives you additional control, including control over the sort order if you don't have Oracle Text enabled.
    As a workaround, you could write a custom report or dynamic page using the content area views to display content anyway you want.
    Regards,
    Jerry
    Portal PM

  • Question about authentication scheme plugin parameter

    Hi, <br>
    Could anyone kindly tell me what the below quoted "password" means ? <br>
    <br><b> validate_password      userPassword="password"</b><br><br>
    Is it the value of <b>userPassword</b> in my directory or just a parameter name that I should use when I use the HTTP form based call.<br>It would be even great if there is an example. Thanks!

    Hi Sino,
    When the values from the form reach the authentication scheme (e.g. name1=value1&name2=value2&name3=value3), it selects the values it wants its plug-ins to process by passing them in the "creds" challenge parameter (e.g. creds: name3 name2). "password" is just one such parameter name passed to the plug-ins so that the value can be used to process authentication.
    This value is used by the validate_password plug-in to bind to the user directory for authenticating the user who has been identified by preceding plug-in(s).
    So both your guesses are partly correct - it is related to the HTTP form field and it is related to the userPassword attribute in your directory. Hope the explanation helps in understanding the caveats to the guesses. Also, it would help if you experiment with these parameters a little and observe the changes in behaviour and any errors displayed.
    One other thing..shouldn't it be -
    validate_password obCredentialPassword="password"
    -Vinod

  • Question about creation dimension items

    It is possible to load items from a dimension in the logical layer?
    Like this : I have a dimension of Vehicles and have this items:
    Cars
    Motorbikes
    Trucks
    Is possible to create in logical layer a new member of dimension like Cars/Motorbikes?
    In presentation layer I would see if I click on this dimension:
    Cars
    Motorbikes
    Trucks
    Cars/Motorbikes
    Thank you!!

    I assume you're using Portal 3.0. There's not much you can do to control the sorting in the category or perspective portlets. In Portal Release 2, the custom search portlet replaces the category/perspective portlets and gives you additional control, including control over the sort order if you don't have Oracle Text enabled.
    As a workaround, you could write a custom report or dynamic page using the content area views to display content anyway you want.
    Regards,
    Jerry
    Portal PM

  • Information about DSO: Order Items (0SD_O01)

    Hello Experts!
    I have a little question about DSO Order Items (0SD_O01)
    and Info cube  Service Level: Order Items (0SD_C12).
    The DSO is provided from 2LIS_11_VAITM (Customer order)  and 2LIS_11_V_SSL (Delivery).
    My question now, how will the delivery data and the customer order data joined?
    Maybe someone can explain me the data flow up to info cube 0SD_C12.
    Thanks for your help!
    Best regards
    Florian

    For Deliveries in DSO 0SD_O01 a lot of Objects are not filled (like Material Customer...), that is ok because in data source deliveries are not such detailed information as in customer orders.
    But if I have a look in the Cube 0SD_C12 I all Info Objects are filled.
    So my Question, will the data joined together in the basis of Document number?
    Maybe you can explain a little bit.
    Thank you for your help!
    Best regards
    Florian
    Edited by: Florian Trütschel on May 20, 2009 6:13 PM

  • Questions on Authentication, Security, and APEX_PUBLIC_USER

    Hello,
    I’m evaluating APEX and my DBA’s have some questions about authentication and database connections. I have audit tables in my schema (created using Oracle Designer) and I’ve noticed that APEX_PUBLIC_USER is the user recorded in my created_by and modified_by columns. I’ve read several posts about this expected behavior and its solution - (UPPER(NVL(V('APP_USER'),USER)). See:
    Re: User in journal
    Re: DB connection by apex_public_user or by registered schema name?
    How can I store the user name, not APEX_PUBLIC_USER
    I’m ok making the changes in my triggers, but my question is what is the consequence from the DBA’s perspective? If there are 100 users in my application and the DBA’s look at current database connections it will show 100 APEX_PUBLIC_USERs correct? What about any internal Oracle auditing? This is really my first true venture into web style programming. Maybe this is expected behavior.
    I also noticed that there are 157 PUBLIC grants to objects in the FLOWS_030000 schema. This means that any DB account has access to these objects by default. Is this a security risk? I would have expected the objects to be granted directly to APEX_PUBLIC_USER. My company is heavily audited in both in an internal and a Sarbanes-Oxley (Sox) sense. This may not be a concern to everyone, but it may be a concern to us. How do other people explain/justify this?
    Are we expected to not make DB accounts and only create users inside of APEX? I know APEX supports the DB authentication, but I haven’t seen any definitive “best practice” recommendations on this. I have looked at all the documentation here:
    http://download-west.oracle.com/docs/cd/B32472_01/doc/nav/portal_booklist.htm
    Is there more documentation with a better explanation than this?
    Can anyone explain how APEX_PUBLIC_USER has no direct privilege on tables in my schema, yet it is the user recorded for DML changes?
    I know this is alot of questions; we're just trying to get a better understanding of APEX before we make the commitment to begin using it.
    Thanks for the help.
    Message was edited by:
    jabolen

    This FLOWS_xxxxxx schema has enough privilege to do DML in my schema (probably why FLOWS_xxxxxx is locked). Is that about right?
    Sort of. It has privilege to dynamically execute your DML (and other code) using your schema, so it is your schema that parses the code. (search: sys.dbms_sys_sql)
    ...enterprise-level identity management solutions...Is one example of that creating DB accounts? I assume others are SSO, LDAP, etc. Where can I read about the pro’s and con’s of these choices?
    Good topic for another thread: Best tools for managing user populations (tens, hundreds, thousands, internal company vs. internet/public, etc.) One key factor is who's going to do the work and how does that fit with your business, e.g., user forgets password -> user calls help desk (24/7?) -> help desk accesses admin account and resets password...Will help desk admin use EM, Application Express admin app, SQL*Plus, OID admin, ...?
    About authorization and roles, be aware that roles are useful in an Application Express environment only if you have a database user account for each application user (presumably named the same as the account the application user uses to authenticate, regardless of how the username/password lookup is performed, i.e., using the database account's password, LDAP, or something else) and your authorization code has enough privileges to check the current user's default roles, again the roles assigned to the database user account that corresponds to the application user name. This precludes the use of dynamically enabled roles. It also requires your application parsing schema to be able to access global views like dba_tab_privs. So, IMO, it's not the most streamlined approach unless you already have (or don't mind maintaining) a database user account for every named application user, a provision that may be unnecessary to support your authentication (vs.authorization) requirements.
    About ref cursors, there wouldn't be any privileges problems - your application's parsing schema must have the privilege to execute whatever definer's rights packages are to be called and these packages, as you said, would do the DML.. As to other issues involving the use of ref cursors, we'd need to know more about your approach and how you want to define reports. I suggest you build a small prototype app and try it out.
    Scott

  • Question about setting track level

    Hi I finally got my new macbook pro and moto 8 pre and have just today tried a bit of recording just to get used to it. I am at the moment using garage band. I have a question about track levels. In Garage Band when I select a track to record there is a slider for input level or an option of clicking the automatic level control. But for some reason they are both just that color of grey you get when something can not be selected on a computer. How do I activate this? It's strange as I did actually manage to record the track, I just can't seem to really adjust the level. I thought maybe it has to do with the motu and I can only select the track level there, and that garage band level setting are (rightfully) disabled? Maybe that's what I should be doing, but just a bit confused. Anyway, thanks in advance for whoever takes the time to help out a newbie.

    Ah, ok. Good to know. Thanks for the info.

Maybe you are looking for

  • How to determine the number of rows to be displayed in a report

    hello experts, Has anyone ever come across this requirement before? Before a report finishes being executed and before it displays the results, is there a way to determine the number of rows to be displayed as the result? Many thanks in advance. Rega

  • LSMW SEL_DATE filed Single - Character Flag

    Dear gurus i created a lsmw for T/code VK12 . I faced problem when the LSMW read till convert data. In the VK12 , this Screen Field SEL_DATE will be my valid on date. I created the source filed Valid on date to match the mapping with SEL_DATE. Here a

  • Problems with transferring iTunes Library to new iMac

    I am having a problem with transferring my iTunes library to my new iMac. I have read many of the suggestions posted in this forum along with numerous articles on other sites. I have not seen anyone describe my exact problem. When I got my new iMac,

  • My iPod crashes frequently

    Hi. I've got the following problem: Every once in a while my iPod (with colour display) goes black and won't restart until I connect it to a power source. I tried resetting it and updating the firmware, but it still happens. Does anyone have any idea

  • Help with Spry drop down menu

    I'm new to Spry, but not to CSS. I'm having major trouble formatting this menu. I've set up my page with a 3-row centered table for simple positioning (I hate trying to get a pure CSS centered layout). The width is 940px and the horizontal menu is su