Do we have a preprocessor or interceptor layer in ADF 11g?

Hi,
I am working on JDev 11g and ADF 11g.
For my project we have provided a login screen. Now I want the logged user to be authenticated and authorized.
This has to be done through the tables/values available in database [oracle 10g] and NOT declaratively.
For this, I want to have a preprocessor OR Interceptor layer that will do the required authentication and authorization. So now based on the output of this layer I will show the result to the user.
Want to know
1. How can this be achieved in ADF?
2. What steps should I follow
3. Are there any limitations that I need to be aware of?
Thanks in advance.

.. to add to the previous answer
- you can authenticate users against a database infrastrcuture using WLS. User names and roles can be added to the privileges of the authenticated users this way. Using ADF Security, JAAS permissions are declaratively added to application roles, which are mapped to user roles. This way the framework does it all for you
- if you want to implement custom security, no standard security, the you have various hookpoints to use
1) PageLifecycle customization - checks on teh PageDef level in ADF if users are allowed to access this apge. For this you would need to know about the requires access permission and look it up in your database tables
2) ServletFilter - handle the incoming request first and determine if the request is for a protected resources
3) Task Flow initializer method / method call activity - check authorization on task flow entry
4) PhaseListeners - similar to servlet, check the incoming request for authorized resource access
5) Use managed beans and EL on pages to show/hide content
As you see, using ADF Security is a lot easier to use than a hand crafted solution. However, its possible
Please see the Fusion developer guide documentation for more infromation about lifecycle handling and customization
Frank

Similar Messages

  • I have photoshopp cc, and I am used to photoshop elements. In photoshop it wont allow me to just click on a layer, and have it select that layer . I have to click on the layer in the box that shows all my layers in order to select it. I also want it to no

    I have photoshop cc, and I am used to photoshop elements. In photoshop it wont allow me to just click on a layer, and have it select that layer . I have to click on the layer in the box that shows all my layers in order to select it. I also want it to not only select the layer on the actual project, but put a hashed line around it that allows me to resize it manually, without having to do it in another window. Does that make sense? I cant even get the layer to select. PLEAE HELP. Id also be able to just click on the layer and drag it. It wont let me, and I am confused.

    If you were serious to learn Photoshop, I'd advise you to take Photoshop classes at your nearest community college or some such institution, to take a subscription to lynda.com, to watch all the Photoshop videos at Adobe TV, to google for specific video tutorials on You Tube and for other tutorials in text format.
    Even the Help menu in Photoshop can be a great starting place.
    Don't expect to find in Photoshop the kind of hand-holding features that Elements has and that appeal to beginners and amateurs.

  • Store user preferences accessible from view layer and ADF BC

    Hi
    I'm working with JDeveloper 11.1.2.1
    We have an application with an application-level shared application module which contains VOs with bind variables to generate language dependent LOVs. From these VOs have to access the language.
    We want to store user language and other user preferences in the future and these can be accessed by the view layer and ADF BC.
    In addition, we want that application will be passivation safe and works properly in a cluster environment.
    At first we opted to save the language in the HTTP session, but we access it from ADF BC ... and we would not want to break the MVC pattern. This article
       Andrejus Baranovskis's Blog: Bad Practice for Session Scope Access in ADF BC
    says that the MVC pattern only breaks when our application module can not be executed without the UI. We differentiate when run individually and when run as a logged in user to avoid this rupture. ¿Is this acceptable solution?
    Otherwise, what is the best option to preserve the MVC pattern and also the passivation does not affect the proper execution of the application and not cause problems in the cluster (HTTP sessions are replicated, but the rest?)
    I have seen that there are 2 more possible methods :
    - Transient View Object
    - User data map
    The user data map discussed in this article seems an option,
       Andrejus Baranovskis's Blog: Solution for Sharing Global User Data in ADF BC
    but perhaps complicates the development and I don't know if shared application module would work properly. For example, we need the language of the user in the application-level shared application module VOs, but the user data map is available only in the session of the root application module no? If we have a method that gets the language within the shared application module, ¿when the method getSession.getUserData() execute, it will access the user data in the root application module or return null?
    If you could tell us if we are correct using the HTTP session or else it is better that we use the user data map, it would be a great help.
    Thanks

    Hi,
    this sounds like something that belongs in your Application Module. I would create a client method which would do your LDAP checks before calling your view object to create a new row. Have the client method return the result based on the success of your LDAP search.
    Call this AM client method from the backing bean of the JSP and return a page flow based on the outcome of your client method.
    The actual transaction with the database happens in your doDML method of the Entity Object (override the doDML method). But I would still implement this business logic in the AM.
    regards,
    Brenden

  • How to have one provider with multiple portlets in JDev 11g

    Hi,
    I am trying to create Oracle PDK Portlets using JDeveloper 11g but for each portlet JDeveloper is creating a provider. As In JDeveloper 10.1.3.4 we can have one provider with multiple portlets in it. But JDev 11g creates provider for each portlet. How can we have one provider with multiple portlets in JDev 11g. Is it something changed in 11g version or am I doing it wrong. As the Help says we can have multiple portlets in one provider but when creating portlets it does not do that. Any help is appreciated.
    Thanks

    Hi,
    I am trying to create Oracle PDK Portlets using JDeveloper 11g but for each portlet JDeveloper is creating a provider. As In JDeveloper 10.1.3.4 we can have one provider with multiple portlets in it. But JDev 11g creates provider for each portlet. How can we have one provider with multiple portlets in JDev 11g. Is it something changed in 11g version or am I doing it wrong. As the Help says we can have multiple portlets in one provider but when creating portlets it does not do that. Any help is appreciated.
    Thanks

  • Who can have ADF 11g Source Code?

    Hi all,
    Can I have the source code of ADF 11g when I buy ADF license and support for ONE user?

    You need a support contract, open a SR, ask for the source and then sign some agreements on how to use the source code.
    Timo

  • Recently I have to right click the layer mask to enable it.

    I never had to to that before. If I don't right click the layer mask and choose enable mask, The history brush tool is disabled. Did I do something wrong?

    You'll have to do a process of elimination to isolate the cause.
    1: Use a two buttom mouse and/or other ones
    2: Check your settings in System Preferences, it's possible you switch the buttons for left handed people.
    3: Check the double click speed
    4: Check your third party mouse software for updates

  • Certain Tools Have Stopped Working on Specified Layer

    Everything was working normally this morning until suddenly the Brush Tool stopped being able to add to a particular layer, but instead added to a layer below.
    A few tests found that the Brush Tool,Spot Healing Brush Tool, Dodge Tool, dont' work, and the tools that work correctly are: Marquee Tool, Eyedropper Tool, Blur Tool, Eraser Tool.
    Anybody know what's going on here?
    I'm woking with CS2, PhotoShop 9.0

    I found the culprit. For the Brush Tool, I had Mode set to Color. When I changed Mode back to Normal the problem went away.
    Thanks for your comments, Nancy O, they prompted me to make a last try this Friday afternoon . . if you hadn't commented I would have gone away for the weekend and wondered about it the whole time . . now I can sleep oblivious in my palatial country manor — a tent:

  • Is it possible to have a mask on one layer affect layers below it? AECS6

    I am animating a stick figure (because I'm an awesome artist! ) Anyhow the head is made up of a hollow outlined circle, and I want to have the stick man raise his arms, and have the head block the arm that passes behind it (Instead of showing the arm through his head) Is this possible? If so, how can I accomplish this?
    Thanks all!

    To mask you need an alpha channel. If you just have a stroked shape layer for the head then you don't have an alpha anywhere but over the stroke.
    You'll have to fill the shape and either duplicate it and use the duplicate as a track matte for the arm layer or you'll  have to set a mask on the arm shape layer that's exactly the same size and shape as the head.
    If you need the head shape not filled then you can turn off the fill for the head and still use the track matte.
    If you can use the head shape with a fill then you can just stack up the layers in the right order and the hand will be blocked by the head shape.
    There are so many ways to do this kind of thing that a screenshot would be very helpful.
    Here's a setup with a track matte and a hollow circle for the head. I've selected the hand so you can see the paths. Notice how the stroke dissapears behind the head layer.

  • Does firefox 3.6.3 have 128-bit secure sockets layer encryption?

    i need to access a government website that requires 128-bit secure sockets layer encryption in my browser. Does firefox 3.6.3 have that feature?

    Firefox 4 requires at least OS X 10.5 and an Intel Mac.
    * http://www.mozilla.com/firefox/4.0/system-requirements/
    For an unofficial Firefox 4 compatible version (TenFourFox) that runs on PowerPC Macs with OS X 10.4.11 or OS X 10.5.8 you can look at:
    * http://www.floodgap.com/software/tenfourfox/
    Firefox 3.6.x (Mac OS X 10.4 and later) can be found here:
    * http://www.mozilla.com/en-US/firefox/all-older.html
    * http://www.mozilla.com/firefox/3.6/system-requirements/

  • Does anyone have a  preprocessor example

              Hi,
              I've been looking for a Weblogic Server preprocessor example.
              The only place I can find anything about it is
              http://e-docs.bea.com/wls/docs81/webapp/weblogic_xml.html#1041026
              but I can't see an example or a document telling you how to write one.
              Does anyone had such a document/example ?
              Thanks
              Yshemi
              

              Hi Sam,
              A while ago I went to an upgrade to ver 7 course.
              and this was a topic in the web app section of the changes.
              I remembered this when I was asked to have some sort of a
              quick redirection component.
              Not sure how it works so i thought an example will be nice
              ( especially if it is an important enough topic to be put in
              the upgrade course ).
              Thanks
              Yshemi
              am Pullara <[email protected]> wrote:
              >Hi,
              >
              >I don't see an example, but the interface that you must implement is
              >
              >weblogic.servlet.ServletPreprocessor. I'm not sure if this is
              >interesting to anyone though, because I think it is a proprietary API
              >
              >used by our layered products. You should probably use the filter API
              >
              >for this.
              >
              >/**
              > * <pre>
              > * Basic interface which defines a Preprocessor. The servlet container
              > * guarantees to call a preprocessor's preService() method before
              > * any filters / servlets are invoked and also before any authentication
              > * on the URI occurs.
              > * Their basic goal is to reroute the request to the right servlet
              >according
              > * to the configuration in the weblogic.xml
              > * </pre>
              > */
              >public interface ServletPreprocessor{
              >
              > /**
              > * @param req the original request
              > * @return changed uri OR null if unchanged.
              > */
              > public String preService(HttpServletRequest req);
              >}
              >
              >Is there something that you are looking to do with this? It sort of
              >
              >sounds on the surface like something that you might use to change the
              >
              >source code of a .jsp or something like that but it looks like it is
              >
              >just a really quick way to redirect.
              >
              >Sam
              >
              >Yshemi wrote:
              >> Hi,
              >>
              >> I've been looking for a Weblogic Server preprocessor example.
              >> The only place I can find anything about it is
              >> http://e-docs.bea.com/wls/docs81/webapp/weblogic_xml.html#1041026
              >> but I can't see an example or a document telling you how to write one.
              >
              >> Does anyone had such a document/example ?
              >>
              >> Thanks
              >> Yshemi
              >
              

  • Urg: How to have a newly created BMM layer column to hold 3 differt values.

    HI Team
    I have 3 different columns i.e 7 days ago , last month , last 2 month. I have a requirement of creating a single column to hold this three different values.How do i achieve this.
    Regards

    Hi,
    Thanks for awarding.
    This can be achieved by building a intermediate report.
    First, you need to create a intermediate report with the original Time column and one more same time column but with calculations for the past 7 days.
    Secondly, you need to create a prompt for the Time and make a presentation variable and refer it in the intermediate report. And make the original Time column equal to the presentation variable.
    Thirdly, you need to create the main report with the Time column and fact measure column. Time Column should refer to the intermediate column value (ie ' is based on results of another analysis').
    Place the prompt, intermediate report and main report and check this will work for sure.
    Similarily, create intermediate reports for other calculations and refer them in the main report.
    Hope this surely helps.
    Regards
    MuRam
    Edited by: MuRam on Dec 21, 2011 9:26 AM

  • How to use BETWEEN Operator in physical layer in OBIEE 11g

    Hi Experts,
    How do I do the BETWEEN Operator functionality in Physical layer if my requirements is like this?
    TABLE_1.COLUMN_1 = TABLE_2 is between COLUMN_2 and COLUMN_3
    Below is the syntax for BETWEEN Operator function when I am trying to insert them.
    <<expression>> BETWEEN <<Upper Bound>> AND <<Lower Bound>>
    Thanks,
    Edited by: OBIEE/BIP Forumer on Nov 3, 2012 11:37 PM

    Below is an example diagram, as you can see, FACT TABLE have a join (an arrow one) towards TABLE_1 and TABLE_3. AS for the TABLE_3, this table is the one which I implement with the BETWEEN Operators function in Physical Layer. Also, the arrow in FACT TABLE and TABLE_3 is a red one with no arrow head line.
    TABLE_2
    ^
    l
    l
    l
    FACT TABLE ---------> TABLE_1
    l
    l
    l
    TABLE_3
    Edited by: OBIEE/BIP Forumer on Nov 4, 2012 2:33 AM

  • Which business layer for ADF/JSF applications?

    We are considering developing j2ee applications using ADF Framework ad JDeveloper. We have choosen to use ADF framework using ADF Faces as a view layer, JSF Controler.
    Can someone give me a suggestion about which tecnology to use to build service layer?
    Since we are java developers, is it better to use Toplink POJOs or is there some advantages using ADF BC.
    Is there any tutorial or note thet can help us making this choice?
    Thank you very much
    Michele

    The ADF Developer's Guide for Forms/4GL Developers and the corresponding end-to-end tutorial for the SRDemo sample using ADF Business Components should be on OTN by the end of this week. If you are interested in a pre-release, please email me at [email protected]
    Thanks.
    The ADF Developer's Guide for advanced J2EE Developers and the end-to-end tutorial using EJB/Toplink are already on OTN. Using these side by side, hopefully it will help you get an idea of which one feels like a better fit for your team's background, experience, and preferences for ways of working.

  • Sum Aggregation Error in Physical & BMM Layer in OBIEE 11g with Essbase 11

    Hi everyone,
    I'm using OBIEE 11g with Essbase 11 as the data source. I'm using Sample Basic database from the Essbase as my data source. If I'm using the hierarchy for the measures (so I don't flatten the measures), and when I changed the aggregation in both physical and BMM layer from Aggregate_External to Sum, I can't create a report at all from the Answers.
    Does anyone encounter the same thing? Any ideas/solution about this? Please help.
    Thanks a lot!

    Hi Deepak,
    When I picked the "Basic - measure" alone, I got this error.
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 43119] Query Failed: [nQSError: 96002] Essbase Error: Unknown Member Basic - measure used in query (HY000)
    SQL Issued: SELECT 0 s_0, "Sample Basic"."Basic"."Basic - measure" s_1 FROM "Sample Basic".
    When I picked the "Gen1,Measures" alone from the measure dimension, I got this error:
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 43119] Query Failed: [nQSError: 46008] Internal error: File server\Query\Optimizer\ServiceInterfaceMgr\SIMDB\Src\SQOIMDXGeneratorGeneric.cpp, line 2610. (HY000)
    SQL Issued: SELECT 0 s_0, "Sample Basic"."Measures"."Gen1,Measures" s_1, SORTKEY("Sample Basic"."Measures"."Gen1,Measures") s_2 FROM "Sample Basic"
    But when I queried the dimensions one by one (only single dimension each), no error was shown.
    This only happens if I use Sum in the physical and BMM layer. If I use External_Aggregation, these errors do not happen. And if I flatten the measures, these errors also do not happen.

  • Not able to find logical dimension tab in BMM layer in OBIEE 11G

    Hi All,
    Recently i ran in to a interested problem. We are using Oracle BI Administration Tool version 11.1.1.6.6, Repository Version:320.
    I'm not able to see logical dimension tab to create dimensional hierarchy.
    I followed normal method like all versions. Business model -> New Object -> (No logical dimension). I'm able to see logical display folder and logical Table.
    I have only client tool on my machine. Please could anyone suggest me How should i resolve this problem.
    Any help is appreciated.
    Thanks,
    Ashwini K.

    Hi Srinu,
    I joined all dimensions to facts, and i'm sure that i'm trying to create hierarchy for dimension tables. In oracle Administration Tool Repository version : 308, i'm able to see logical dimension tab at BMM-> New Object ->Logical dimension.
    Any help

Maybe you are looking for

  • Backup files on external hard drive

    I use a 500GB external hard drive, mostly for storing my itunes and iphoto library. My time machine also uses this external drive. When trying to download an itunes movie file yesterday, I noticed that my external drive only had less than 4GB of spac

  • What is the following icon used for?

    It is a rectangle with a small black triangle at the lower right.  It has another rectangle in the center of the outer one that has what looks like a gradient in it.  Lighter to the left and darker to the right.  I am taking a test and they want to k

  • Generating excel with colors

    Hi Experts, I'm generating excel from Web dynpro for ABAP application. My webdynpro view is having 3 tables data ( not alv) and one "Export Excel" button . on clicking this button, excel file should be opened. This excel is displaying data from three

  • Photoshop 2014 Tablet Problems

    Running Windows 8.1 up to date. Photoshop 2014, I'm using a cheaper tablet(which may be my undoing) it's a Penpower Monet. Ran fine with the version of PS right before the June update.  Still works as far as hot keys and basic strokes go but it will

  • Netgear DG834G and Airport Express

    Hello, Can anyone help me? I've just upgraded to a Netgear DG834g Wireless ADSL router. This is connected via ethernet to my G5, and my iBook and girlfriends Powerbook connect to it wirelessley. Setting all this up took minutes. So far so good. BUT,