Personalized with the trusted source authentication

Hello

There is a following requirement: since a user application (non-apex) klicks on a link to a page of the apex and must be authenticated without having to type his username and password (without page 101) because it is already identified in this application non-apex.

My approach: create a procedure that checks if the user is authenticated in a non-apex application. Then create a custom authentication scheme where authentication is my procedure. Then of course change current authentication scheme to my authentication scheme. BUUUT what happens if the user is not properly authenticated in a non-apex application? So I think that the user should see page 101 and type the name of user and password.

Is it possible to do something like this: If the procedure returns true, then use Custom authentication scheme, if set to false use Apex authentication schema (standard schema)? Or is it not the right approach?

Thank you very much for your answers.

Kind regards

Anton

PS: I know that some of the discussions in the forum about this, but I don't understand how they can help in my case.

Hi Anton,.

Instead of calling APEX_CUSTOM_AUTH. CONNECTION, you can call APEX_CUSTOM_AUTH. SET_SESSION_ID and APEX_CUSTOM_AUTH. SET_USER and use a sentinel of page function. You will have to search this forum for cover page features more information.

In your authentication custom parameters are user name and password, but you can check what you want and return true or false. If you do not check the password at all you could just always return true and let all users. If you need to decide what information you will use to authenticate users. There are many ways to do what you want. The password technique to generate just allows you to do a little sign outside the authentication function that allows you to have the 2 way authentication. Some users have a password generated for them and others must provide their password. The function of authentication it don't worry about the right controls for two passwords.

Rod West

Tags: Database

Similar Questions

  • I use an analog input on a PCI-6224 and are having problems with the clock source

    I use an analog input on a PCI-6224 and are having problems with the clock source. I'm trying samples of 16 different analog inputs very quickly. I have the sample mode: Timed Single Point material. The rate, that I am running is the maximum (250 kHz (15625Hz per channel)). I left the default clock source and trying to taste several times. The analogue input works for a short time (2-3 seconds) and then everything stops. I'm doing something wrong or is there something I'm missing? Any advice would be great.

    That's how you samples using the sample clock clock. If you see a delay then something is wrong with how you track/data visualization.

    Single point NI the hardware is for PID control with a real-time operating system.

  • Problem with the two factor authentication with Apple TV.

    I tried to connect to my Apple TV (2nd generation, operating system and updates are up-to-date), log-in failed and indicated that I had to use two-factor authentication which I recently install on my trust Apple devices which included my iMac, iPhone and iPad. As expected, I received a notice on my Apple devices trust with the verification code to six figures to add this code to six figures at the end of my password when signing in the Apple TV. I put my password and add the code check digit at the end on my password. It did not work. Now I can not connect. Any suggestions to connect to Apple TV using 2nd generation two-factor authentication? This Apple TV device is not supported?

    There is model of Apple TV MC572LL/A with Apple TV software version 6.2.1

    Model identifier is AppleTV2, 1

    Model number is A1378

    People have been facing difficulties with this process. I have not encountered such difficulties then have not had the opportunity to test solutions. While a little pain can I suggest that you disable temporarily two authentication step until you have set up your Apple TV.

  • Error during the reconciliation of the trusted source

    Hello
    I am facing a problem using the connector (DBAT_91050) of the Table of database Applications.
    I have correctly installed the connector and created a simple table in a database diagram (first name, family name, emp_id, role (as well as varchar2)).
    Then I created a generic connector for a trusted source and mapping.
    When I try to run the task to reconcile my source I get the following error:

    Caused by: org.xml.sax.SAXParseException: cvc-minLength valid: value "with length = '0' is not facet-valid with respect to minLength 1' of type 'matchingRuleType '.
    at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException (unknown Source)
    at org.apache.xerces.util.ErrorHandlerWrapper.error (unknown Source)
    at org.apache.xerces.impl.XMLErrorReporter.reportError (unknown Source)
    at org.apache.xerces.impl.XMLErrorReporter.reportError (unknown Source)
    at org.apache.xerces.impl.XMLErrorReporter.reportError (unknown Source)
    to org.apache.xerces.impl.xs.XMLSchemaValidator$ XSIErrorReporter.reportError (unknown Source)
    at org.apache.xerces.impl.xs.XMLSchemaValidator.reportSchemaError (unknown Source)
    at org.apache.xerces.impl.xs.XMLSchemaValidator.elementLocallyValidType (unknown Source)
    at org.apache.xerces.impl.xs.XMLSchemaValidator.processElementContent (unknown Source)
    at org.apache.xerces.impl.xs.XMLSchemaValidator.handleEndElement (unknown Source)
    at org.apache.xerces.impl.xs.XMLSchemaValidator.endElement (unknown Source)
    at org.apache.xerces.jaxp.validation.ValidatorHandlerImpl.endElement (unknown Source)
    at com.sun.xml.bind.v2.runtime.unmarshaller.ValidatingUnmarshaller.endElement(ValidatingUnmarshaller.java:106)
    at com.sun.xml.bind.v2.runtime.unmarshaller.InterningXmlVisitor.endElement(InterningXmlVisitor.java:81)
    at com.sun.xml.bind.v2.runtime.unmarshaller.SAXConnector.endElement(SAXConnector.java:158)
    at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:255)
    at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:281)
    at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:250)
    at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:281)
    at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:250)
    at com.sun.xml.bind.unmarshaller.DOMScanner.scan(DOMScanner.java:127)

    I've read Re: trusted object reconciliation Mapping for act_key - 11g Realease2 source but I am not able to apply the solution in my case.

    No rules none of the transformations are applied during the card.

    Thank you.

    It is ok...
    Welcome to Oracle Forum...
    Fairly good condition of the work you are considering its only your second day...

    In any case, you must open Console Design to solve this problem... Click on the subject of resource... There will be a resource object... namely TEST_GTC...
    Open the process of commissioning for the purpose of resource...
    There will be a tab "Reconciliation field mapping... Click on this... Then see if the user ID is marked as 'key to reconciliation... "
    Then go to the menu item "Reconciliation rule" at the bottom of the console of design...
    Open the rule for TEST_GTC Recon...

    Check if validates it and Active, both boxes are TRUE...

    Then go back to the subject of resource TEST_GTC... --> Rules of Action reconciliation reconciliation tab--> create a profile reconciliation...
    Then go to DEV_OIM... This time, you will be able to see a RA_TEST_GTC_1234 (1234 being OBJ_KEY for TEST_GTC)

    If you find this useful or appropriate response, please mark the helpful or appropriate. And then mark the entire thread as a response.

  • How can Camileo S20B with the external source?

    Hello

    According to a post on this forum I should be able to the S20B using a USB power source by removing the battery.

    I tried and it doesn't work. I removed the battery and plugged the USB cable into a variety of sources including laptops USB power. The blue light is on but the S20B does not supply power to the top.

    Any suggestions? I really need to be able to power the device for more than one charge of the battery.

    Thank you

    I put t know if it will work. Have you checked the user's guides document?

    I tested it with my Camileo H30 and may not work with the connected USB cable but without battery.

    This cable is designed for transfer of data only.

  • FillColor changes in a layer of text with the text Source keyframe?

    Hi all. In ExtendScript, I would like to change the color of text more than once in a model, without transitions. I know it's possible with a moderator, but I want to do in the Source keyframe text so that the model maintains as minimal as possible.

    I know how to change the fillcolor of a textlayer use:

    var TextColorLayer is comp.layer("MyTextLayer").property ("Text") .property ("Source Text");.

    var TextDocument = TextColorLayer.value;

    TextDocument.fillColor = [1,1,1];

    TextColorLayer.setValue (TextDocument);

    Obviously, this next one does not work, but I don't know where to put the fillColor here...

    var TextColorLayer is comp.layer("MyTextLayer").property ("Text") .property ("Source Text");.

    var TextColorAddKeys = [currentTime];

    var TextColorAddValues = [[1,1,1]];

    TextColorLayer.setValuesAtTimes (TextColorAddKeys, TextColorAddValues);

    Hope someone can help out me, otherwise I use the solution of host who also has its advantages.

    I'm not familiar with the host, but this is how you set a keyframe for a property:

    main();
    function main() {
    
      var myComp = app.project.activeItem;
      if (!myComp || !(myComp instanceof CompItem)) {
      alert("Select a Composition first")
      return;
      }
    
      var mylayer = myComp.selectedLayers[0];
      if (!mylayer || !(mylayer instanceof TextLayer)) {
      return
      }
    
      var keyTime = myComp.time;
      var colorValue = [1, 1, 1];
    
      var textProp = mylayer.property("Text").property("Source Text");
      var textDocument = sourceText.value;
      textDocument.fillColor = colorValue;
      textProp.setValueAtTime(keyTime, textDocument)
    }
    

    The following script will add 5 keyframes with different colors.

    main();
    function main() {
    
      var myComp = app.project.activeItem;
      if (!myComp || !(myComp instanceof CompItem)) {
      alert("Select a Composition first")
      return;
      }
    
      var mylayer = myComp.selectedLayers[0];
      if (!mylayer || !(mylayer instanceof TextLayer)) {
      return
      }
    
      var keyTimes = [1, 2, 3, 4, 5];
      var colorValues = [[1, 1, 1], [0.5, 0.5, 0.5], [0.56, 0.12, 0.99], [0.12, 0.1, 0.45], [0.69, 0.21, 0.3]];
    
      var textProp = mylayer.property("Text").property("Source Text");
    
      for (var i = 0, il = keyTimes.length; i < il; i ++) {
      var curTime = keyTimes[i];
      var curValue = colorValues[i];
    
      var textDocument = sourceText.value;
      textDocument.fillColor = curValue;
      textProp.setValueAtTime(curTime, textDocument);
      }
    }
    
  • Bug with the tag source formatting STYLE (DW CC 2015)

    The command 'Apply Source Formatting' formats incorrectly the content of the < style > tag. Instead of putting in the form and content of implementation set back as I specified in the tag library, the content and the closing tag will remain embedded to the left, for example:

    < style >

    {body

    background-color: #00005D;

    do-family: Verdana, Arial, without serif.

    }

    < / style >

    The code must be indented manually, which is having little pain, not to mention what to do so defeats the purpose of the command 'apply Source Formatting '.

    I searched the Forum of discussion here, but did not find any help for this problem.

    Is this a known bug that I'll just have to live with, or is it possible I can fix this in the configuration files?

    I think the reason for this is the default mode that CSS is formatted. When you run apply Source Formatting on an external style sheet, all selectors are flush with the left side, even within the questions from the media. The mode CSS formatting is determined by the Format of Code category in preferences (click the CSS button for advanced formatting). However, there is no option to indent the selectors.

    If you want to file a bug/feature request, use the official form: feature request/Bug Report Form

  • Connecting to a remote database (slowed down) with the password file authentication

    Hi all

    I was wondering if it is possible to connect to a remote database is stopped (idle instance) as user sys with sysdba privileges? It is said in the Oracle book - one to page 210 in the section - operating system and the file password authentication:

    Connection with authentication by password file or operating system is always possible, any State of the instance and the database are in and it is necessary to issue commands to START or STOP.

    Above indicates that it is possible, but I can't do it.

    I managed to connect to the remote database that was in mode nomount (see below for more details).

    When I first tried to connect to a remote database (idle instance) using the password file authentication, it gave due to error:
    sqlplus sys@ORCL as sysdba
    SQL * more: Production of the version 11.2.0.3.0 Fri dec 21 13:59:28 2012

    Copyright (c) 1982, 2011, Oracle. All rights reserved.

    Enter the password:
    ERROR:
    ORA-12514: TNS:listener is not currently of service requested in connect
    descriptor of

    Enter the user name:

    After the start of the database in nomount mode I was getting following error:
    sqlplus sys@ORCL as sysdba
    SQL * more: Production of the version 11.2.0.3.0 Fri dec 21 13:48:36 2012

    Copyright (c) 1982, 2011, Oracle. All rights reserved.

    Enter the password:
    ERROR:
    ORA-12528: TNS:listener: all appropriate instances are blocking new connections

    Enter the user name:

    Then I added the clause (UR = A) my listener.ora file and after that it work and I was able to connect:
    sqlplus sys@ORCL as sysdba
    SQL * more: Production of the version 11.2.0.3.0 Fri dec 21 14:04:49 2012

    Copyright (c) 1982, 2011, Oracle. All rights reserved.

    Enter the password:

    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - Production
    With partitioning, OLAP, Data Mining and Real Application Testing options


    SQL >

    I have all the entries of necessairly in tnsnames.ora on my local host.

    Also, I have no problems when connecting as user sys with sysdba when the DB is open, but can't get it working on an idle instance.

    I know I can use OS authentication but want to know if there is a mistake in the book or I'm doing something wrong.

    Kind regards
    Dawid

    Edited by: 978239 2012-12-21 06:24

    I was wondering if it is possible to connect to a remote database is stopped (idle instance) as user sys with sysdba privileges?

    You can, but you need to statically register the database with the listener.

  • ODI, working with the XML source file

    Hi ODI Experts.

    I work in an ODI project for which source is an XML file and the target is Oracle table.
    I am able to reverse engineer the source XML model by placing the XML file on the local DRIVE.
    I created the interface and made the map with the target.
    During execution of the interface, the insert is peroperly happening.

    In a real scenario, my XML file should be placed in a local SERVER (and not in the local drives).
    If that I could go back, I've done the JDBC to point to the directory on the server (instead of local disk path).

    When I run the interface she inserts the same set of records that have been placed in the previous step, the latest data from file.
    I tried to delete the file in both server and local drive, and the interface is represented.
    Then it was also inserted the same set of data (instead of giving error file not present in the path).

    Not sure where it takes the file and insert the data.

    Any valuable contribution on this would help a lot.

    I think what is happening here is that ODI retrieves the data stored in the XML schema when running the interface again.

    Try truncating the XML schema before running the interface that loads data into the table, order below, this can be understood as a procedural step before calling the interface.

    B.4.11 TRUNCATION SCHEME
    Clears all data current schema, or .

    TRUNCATE the SCHEMA []

    http://docs.Oracle.com/CD/E17904_01/integrate.1111/e12644/appendix_xml_driver.htm#CHDEEGHJ

    I hope this helps.

    Kind regards
    Rickson Lewis

  • Calibration with the voltage source - float connections

    Hello

    I want to calibrate a PXI-6133 DAQ with a floating voltage source. It says in the manual of the calibration connect the positive output of the Stallion to the AI + pine. Since my source of tension is floating I connect the negative output to GND. HAVE I - HAVE GND short or leave - not connected?

    Thank you

    Jens

    Sorry, I just answered this question for my part it is logical to short-circuit the entries HAVE - and GND.

  • How to deal with the "Trust this PC question?"

    So I cleaned my laptop because of a problem that could not be repaired (Windows 8.1) disorder (Windows 10) back to Windows 8. So I checked my PC and it says "proud of this PC. I did the newspaper and codes and that brings me to this:

    Secure devices

    Visit https://account.live.com/trustdevice to Internet Explorer from the device of Windows 8 that you do not want to trust.

    So I did the same with Internet Explorer and it gives me this:

    Secure devices

    Visit https://account.live.com/trustdevice to Internet Explorer from the device of Windows 8 that you do not want to trust.

    Nothing happens.

    I am confused and stuck. I don't know how to fix it. Can you give me ideas to fix?

    Never mind. Windows 8.1 update pretty much fixed my problem.

  • Problem with the Data Source

    Hello

    JDeveloper 11.1.1.6

    I am facing some problems associated with data controls. Here's my number; I'm trying to pass a parameter to a taskflow appearing as a region on the my home page. Once I click on an image in my taskflow, I want to pass the id of the image to my main page using contextual events (it worth?). However, I need to create a my bean datacontrol to expose a method in the link which is triggered once I click it. But I can't create my datacontrol because I get this error:

    Error: Multiple versions of com/DataControls.dcx appear in your managed project classpath. Check dependencies associated with project: .../model/classes/ and .../Portal/classes/

    Any other approach would be nice to hear.

    Concerning

    Several versions of com/DataControls.dcx appear in your managed project classpath. Check dependencies associated with project: .../model/classes/ and .../Portal/classes/

    You are actually looking for the project for the DataControls.dcx in the paths specified? Ideally, there should not be a DataControls.dcx in your template project.

  • Personalized with the div menu

    Hello.

    Below, I have the code that generates a shortcut menu custom for an HTML page. This works very well for the default HTML page, however, I used div tags to my page with CSS for the design layout. When I right click on the divs, the menu appears behind them, however, still works normally when not not right-clicking on the DIV tags

    Is there a way to make the menu infront of the div tags?

    Thank you very much
    Tom.
    ****************

    using z-index to the div in the styles that you define. the menu div context must have the highest z-index.

    Gerard

  • default password set by the IOM during the reconciliation of the trusted source

    Hello

    It seems that during a reconciliation from a reliable source, IOM sets the password to a default password which is the login of the user.

    Is there a way to control this? If so, how can we define a different value.

    Thank you

    You can map any value you want the password of the user during reconciliation. However, this password will be available in plain text format in the recon event. It is much better to use an adapter of entity on prior insertion for the event of the user to create to generate the password.

    -Kevin

  • What do you do with the source file after editing and export

    Hello

    I wounder what people do with the file source after publishing, they take a lot of space on my computer. I can hardly bring myself to delete, but can't I save because of the space on the hard disk. thought, only export those clip that you used in your timeline, uncompressed?

    Take a look at the project manager on the file menu. This gives you many options to compress your files used.

Maybe you are looking for