With the help of connections to database for the safety of the ADF

Hi all

I have a request of 11g ADF (11.1.1.2.0) that uses the security of ADF and authenticate via LDAP against an Oracle Internet Directory. Now, we have an obligation to authenticate Oracle database users and remove the need to use the OID. Is it possible to do this in WebLogic?

I know that if I maintain my own tables with user name and password in the form of columns, I use a SQLAuthenticator as described here:
http://Biemond.blogspot.com/2008/12/using-database-tables-as-authentication.html

But in my case I don't have my own table 'users', I actually want to use RDBMS users (just like Oracle Forms only). Has anyone written an authenticator class that can do this?

See you soon

Hello

Oracle Forms keeps a user login to the database schema - so it performs no authentication. If you want the personal connection, then security ADF isn't the riht place to look for that but referrals under ADF BC dynamic JDBC

To perform authentication against the schema of a database without connecting to the application to it (only for authentication pupose), you will need to write a provider of custom authentication (a JAAS login Module) for WLS wrapped. Then, this can be configured using the WLS console and authenticate the user session. This can then be used to authenticate the security of the ADF. See the documentation for WLS for how to write custom authentication providers

Frank

Tags: Java

Similar Questions

  • HP 8500 has showing vertical red lines on all the documentation scanned with the ADF

    I had scanned a doc with red ink which I guess was still a little damp.  I have cleaned the rollers, but still get a few red vertical lines on copies scanned on the ADF.  Help please.

    Hello

    Some of the red ink may have been transferred to the scannerglas in the ADF, so clean it only to.

  • M277dw MFP: Double-sided COPY (do not print) with the ADF and MFP M277dw color printer

    This unit can perform a copy front and back on a pile of documents front / back, loaded in the ADF? (I know that it is able to copy both sides of a single page).

    In the list of options in control panel touch control for "duplex", it has classified 2 options from which to choose:

    1 - face to face 1

    1 - face to face 2

    It seems that I need a "2-sided to 2 faces" option, correct?

    It seems that the device must be capable of 2 faces double-sided COPY and more double-sided printing.

    I tried several combinations of different settings but cannot figure it out (if it is even possible) to take a stack of documents face 2. Put them together in the ADF and the output device an identical pile of copies 2 faces.

    Thanks in advance for any help/suggestions.

    Hey @AA10,

    Welcome to the Forums of HP Support!

    I see you try to double-sided copy on your HP Color LaserJet Pro MFP M277dw. There the duplexer to print system which allows you to print 2 sides, but does not have a duplexer built-in automatic document feeder. That's why you miss the 2 head to head 2 under the menu copy option. The two-sided to 2 in the menu copy allows you to copy documents two unique faces the printer would then print 2 sides. You must copy a page at a time and return them to make Copies in duplex.

    Please let me know if you have found this information useful.

  • JSF tutorial, EJB, JPA, the sample of the problems with the ADF runtime

    Hello

    I'm new to jDeveloper.
    I downloaded the version 11.1.1.2.0 and tried to make my first tutorials with the product.
    I started with the sample "create Applications with EJB, JPA and JSF" and run to the following problems:

    -1st part: step 10 expose the EJb as a data control
    Click here FODFacadeBean.java and choose Create a Data control.
    This option "create data Control ' is not at all to the top. There is no option

    -Part 2: Step 1 Add tag libraries in a project
    The ability to select "the ADF Faces Components 11'
    does not come either. I can't see any ADF Associates options...

    Is there something missing in my installation, because I can't access these components of the ADF?
    Should I include the components of the ADF sometime during the installation to have access to these
    or is it a license option?

    I downloaded the product yesterday from the public site, filename jdevstudio11112install.exe

    Jan-Erik

    Go to tool-> preferences-> roles
    and pass the default role, then you should have all the ADF their stuff available.

  • change the connection of database for the FRS report

    Currently we use the model BSO ASO and all reports of FRS are recover against BSO Database.Now we are the conversion to the single model of ASO. can I use the same report on database of ASO.

    There is an option of connecting database chang under the tool in the workspace. will this work or do I have to redo all the reports

    can you please help me with this

    Thank you

    In the workspace just to discover > tools > change data connections > select report > choose new connection > fact.
    It can be changed by the same method

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • Faced with setting up a connection RS-485 for a for OR cDAQ mass flow controller

    I'm an absolute beginner from the ground up tries to connect the port RS-485 to a mass flow controller (MFC) Instruments Sierra for the NOR cDAQ.

    The planned route of the person in front of me set up for the connection is:

    (1) cable MFC COM1 to Interface Ethernet 4 ports for RS485/RS422 (DB-9 to DB - 9)

    (2) Ethernet 4-port Ethernet Interface RS485/RS422 OR cDAQ cable

    I'm fighting to understand exactly how the pins should be doubled for the 1st part of the interface. For MFC COM1 pinout is given below:

    The pinout for DB-9 male, shown in the quick reference Guide series of NI is illustrated below:

    I do not know what pins on the side MFC should connect to which pins on the side of the ENET-485. The manifesto is ground (PIN 7 to pin 1). In addition, I'm stumped. Try to read references online has just served to confuse me even more at this point...

    Any help would be appreciated!

    Follow-up: I bought a B and B Electronics ULinx USB converter to RS - 485 9 pin as well as a cable of Sierra Instruments. I was able to confirm communications between the cDAQ and the MFC using own Sierra HMI as well as through NOR-MAX provided.

  • Problem with the ADF window.

    Hi all

    I use jdev 11.1.1.5.0. In my use case I display a pop-up but when page refresh automatically closed window.
    So, how can I stop to close the popup window. When I'm pragmatically refreshing page before calling popup then popup window appears.
    the code is following.
    {} public void refresh()
    FacesContext facesContext = FacesContext.getCurrentInstance ();
    String refreshpage = facesContext.getViewRoot () .getViewId ();
    ViewHandler viewHandler = facesContext.getApplication () .getViewHandler ();
    UIViewRoot viewroot = viewHandler.createView (facesContext, refreshpage);
    viewroot.setViewId (refreshpage);
    facesContext.setViewRoot (viewroot);
    }

    public String showPopup() {}
    Add the code in the event here...
    Refresh();
    RichPopup.PopupHints ph = new RichPopup.PopupHints ();
    pkgpopup. Show (pH);
    Returns a null value.
    }
    And in my case, it is important to refresh the page before you call popup.

    Thanks to Advacance.

    Define autoCancel property to off, that is to say:

             
    
  • How to connect to the database for all reports EN

    Hello

    I've developed 100 reports in the client of the production, test purpose that I moved
    test client. How can I connect to the database for all reports at once?

    Concerning
    Thaer

    Hi Thaer,

    You can connect to the connection of database for all reports through the workspace of HFM.

    Connect to the HFM area--> click--> Explorer, and click Tools--> click Manager of database and respective connections of Production Instance to the Instance of Test required information and that you will be able to connect to the Test database for all reports both change.

    Kind regards
    Srikanth

  • With the help of BIPublisher

    Hi all

    I start with the adf and BIPublisher. (jdevelopper 11.1.2.4, BIPublisher 10.1.3.2).

    BIPublisher is running on a stand-alone server. to view a report of bipublisher to the user, I use the url of the report with parameters in inline frame:

    < af:inlineFrame source = "URL" >

    is this a good way to view reports of bipublisher?

    where can I add the user information in the adf to skip the authentication form?

    Thank you

    KHALIL

    There are a few samples available on the web as ADF-MyLearning: integration of ADF BI Publisher in JDeveloper 11 g to generate a report by programming and this complete example Blog of Antonis Antoniou: integration of Web Services in your ADF Application Part 2

    Timo

  • Protected dmg will not open, even with the RIGHT password

    I created a password protected DMG, and now this record does not, although I am sure that I use the password. After entering the PW, I get a message indicating that the password is incorrect: ' try again - please enter the password to access the [FolderName] .dmg files»     Yesterday it was fine, and I use it every day from the folder.

    Yesterday I was accessing the DMG over LAN. Perhaps a corruption that happened then. The password does not also work on the same Time Machine recovered file DMGs, be saved.

    Other messages, I understand that using the console to get a newspaper might be useful, so I (think) I don't have that. What I believe to be the relevant lines produced when I tried to open the file is here:

    16/12/15 7:19:48.541 PM SecurityAgent [942]: failed to initialize the named IconCache: com.apple.iconservices with error: error Domain = NSCocoaErrorDomain Code 4097 = "could not connect with a helper." (connecting to the service named com.apple.iconservices) UserInfo = 0x7fccb3712a90 {NSDebugDescription = connection to the service named com.apple.iconservices}

    16/12/15 7:19:48.543 PM SecurityAgent [942]: error returned by iconservicesagent: Domain = NSCocoaErrorDomain Code error 4097 = "could not connect with a helper." (connecting to the service named com.apple.iconservices) UserInfo = 0x7fccb3721040 {NSDebugDescription = connection to the service named com.apple.iconservices}

    My system is Yosemitte 10.10.5.

    Does anyone have any ideas on how I can access my files again?

    Thank you

    -Tw

    UH... stupid. I'm sorry, I just cheated on my password. It's good, nufin is false, and it was the just operator error.

    .. . How can I delete these messages?

    This forum is anonymous?

    Ugh lame, sorry

  • Cannot find the ADF Swing on JDeveloper 12.1.3 option

    Hi all

    Worked with the ADF and JDeveloper for a couple of years now. I have a personal project that I want to use the ADF Swing, I find this feature under the new gallery on JDeveloper 11.1.1.7. But can't find it on 12.1.3. The only way I can use it by importing a project created on a previous version of JDeveloper. ADF Swing half 12 c?

    UPDATE: I can't use a previous version of JDeveloper because integration with SQLite to build the BC only works on 12 c.

    Thanks for the replies guys, but I installed JDeveloper 12.1.2.0 and it still have the ADF Swing function. I guess they took only on 12.1.3.

  • the ADF faces and IE

    Hello, I have a problem with the ADF and EI. I use jdev 11.1.1.5.

    The problem of the compatibility mode. In firefox and crome works well.



    "The current compatibility setting is not supported. Turn off compatibility view before you run this web page

    In Internet Explorer, press F12 and adjust the browser Mode and Document to the same value (IE8 & IE8 Standards, for example)

  • How to use the ADF in a team

    Can someone please suggest a model of collaborative team to work with the ADF? Because JDeveloper manages all changes through the visual-graphic tool, which is a good way to distribute the work in a team, without going through labour (or variations of it) an inconsistent team (for example a model project) (in svn) with the ViewController another team?

    Good reading is here: http://www.oracle.com/technetwork/articles/adf/adf-essentials-098792.html

  • Refer to the ADF faces RC component of programming client-side

    Hello
    One tried to access component customer adf in a taskflow-ADF using javaScript with its id
    I have an ADF taksflow including a pagefragment. The taskflow is encapsulated by a region r1 in a jspx page.
    I'm trying to access the component of

    document.getElementById("r1:componentName"); or
    AdfPage.Page.findComponent ("r1:componentName");
    AdfPage.Page.findComponent("::componentName");

    None works. The only way that works is to use
    var firingComp = event.getSource ();
    ...
    firingComp.findComponent ("componentName");

    However, as I call the function javascript from an Applet, I get entry to the event of shooting. So if I have to do it this way, I need to define a global varibale, assign him when another JS function called during an event of the ADF is triggered (for example, adf button click...)
    Then use this variable in the JS function called from cmdlet to locate the required component. It is quiet that annoying the user needs to interact with the adf page before that.
    Any suggestion?

    Hello

    ADF faces has an API on the client side. Please take a look at

    http://download.Oracle.com/docs/CD/E15523_01/Web.1111/b31973/af_event.htm#BABIDEGA
    http://download.Oracle.com/docs/CD/E14571_01/apirefs.1111/e12046/TOC.htm

    The starting point for a search is AdfPage.PAGE.findComponentByAbsoluteId (namingcontainer_id:component_id);

    Frank

  • Excution of function in the problem of the adf?

    My problem description:
    ADF: Add this JSF error message: the number of parameter names does not match that of the registered
     am code
        public String checkthis(String p_us, String p_pwd)
     {
            
            CallableStatement cs=null;
    
            try{
    
            cs=getDBTransaction().createCallableStatement("begin ? := FUNC_GET_SH(?,?); end;",0);
    
            cs.registerOutParameter(1, Types.VARCHAR);
    
            cs.setInt(p_us, 2);
            
            cs.setInt(p_pwd,3 );
    
            cs.executeUpdate();
    
           return cs.getString(1);
    
           }catch(SQLException e){
    
            throw new JboException(e);
    
            } 
             
       }
     ora db 10g code
    CREATE OR REPLACE FUNCTION "FUNC_GT_SH"("P_USERNAME" IN VARCHAR2,  "P_PASSWORD" IN VARCHAR2) RETURN VARCHAR2    IS
    BEGIN
    
        RETURN DBMS_OBFUSCATION_TOOLKIT.MD5(
          input_string => UPPER(p_username) || '/' || UPPER(p_password));
    
    END;
    /
    above method am exposed as a button in the user interface. while hitting the error recovery
    <Utils> <buildFacesMessage> ADF: Adding the following JSF error message: The number of parameter names does not match the number of registered praremeters
    java.sql.SQLException: The number of parameter names does not match the number of registered praremeters
         at oracle.jdbc.driver.OracleSql.setNamedParameters(OracleSql.java:216)
         at oracle.jdbc.driver.OracleCallableStatement.executeUpdate(OracleCallableStatement.java:9319)
         at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1508)
         at com.rits.suplr.model.servicesAM.SupplierAMImpl.checkLogin(SupplierAMImpl.java:1294)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at oracle.adf.model.binding.DCInvokeMethod.invokeMethod(DCInvokeMethod.java:648)
         at oracle.adf.model.binding.DCDataControl.invokeMethod(DCDataControl.java:2142)
         at oracle.adf.model.bc4j.DCJboDataControl.invokeMethod(DCJboDataControl.java:3063)
         at oracle.adf.model.binding.DCInvokeMethod.callMethod(DCInvokeMethod.java:261)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1635)
         at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2149)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:740)
         at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.executeEvent(PageLifecycleImpl.java:402)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding._execute(FacesCtrlActionBinding.java:252)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.execute(FacesCtrlActionBinding.java:210)
         at com.rits.suplr.view.backing.login.OnDialogAction(login.java:59)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.el.parser.AstValue.invoke(Unknown Source)
         at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodExpression(UIXComponentBase.java:1300)
         at oracle.adf.view.rich.component.UIXDialog.broadcast(UIXDialog.java:97)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:902)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:313)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:186)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:175)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    jdev11.1.1.5.0 - BC.

    How can solve this problem.

    Nothing to do with the ADF, but with proper use of JDBC

        public String checkthis(String p_us, String p_pwd)
     {
    
            CallableStatement cs=null;
    
            try{
    
            cs=getDBTransaction().createCallableStatement("begin ? := FUNC_GET_SH(?,?); end;",0);
    
            cs.registerOutParameter(1, Types.VARCHAR);
    
            cs.setString(2, p_us);
    
            cs.setString(3, p_pwd);
    
            cs.executeUpdate();
    
           return cs.getString(1);
    
           }catch(SQLException e){
    
            throw new JboException(e);
    
            } 
    
       }
    

Maybe you are looking for

  • How can I get the status bar below to see the date when I mouse over it?

    The lower right corner of my screen shows the current time. Sometimes, when I mouse over it the day and date appear, sometimes not. Can I do this more coherent?

  • Ipad black screen after updating ios 9.2 2 mini

    Hi all My mini ipad 2 was somewhere in the update to ios 9.2 and when I tried to unlock it, it did not. I got a black screen, I thought that maybe battery or something. After the cable, I hear the sound of connect 'dived', so he is still alive. Then

  • TestStand 2014 Version selector "Program Error"

    I upgraded to TestStand 2014 from 2013. I suspect that I deleted TestStand 2013 by using the uninstall program NOR but had not chosen 2014 TestStand using the version selector. When I try and run the selector version as an administrator, I get an err

  • Narrator - Can't stop.

    Some how Narrator was turned on, now every time I have stat up there it is. How can I get the $% #$@ thing #$ to start automatically? The program is in the 32 root area and I hesitate to bother here. I give various instructions, but nothing on how to

  • Unable to connect to wifi blackBerry smartphones

    Hello. I just bought the 9790 and I am yet to learn how to connect to wi - fi while disabling my data plan. so far, when I cut the data plan, I am unable to connect to wi - fi. any idea guys?