Parameter to to change the authintication scheme !!!

I have created an application which will be able for 2 kind of users, users are listed in Microsoft Active directory & other users from outside my network domain...
Is there any way that i can create a parameter to change the security authintication scheme when the user open the application?!!
like checking the current user if he is frommy current scheme then it should swap the authintication scheme to LDAP & if the user from outside it should be Public authintication!!!!
Any one faced this challenge before? or is there another idea can do the same idea?!!
Regards;
Message was edited by:
ehammad

Hi ehammad,
assuming that you can find out somehow based on the user or the user URL/client IP address which authentication you want to use there are my suggestion how you can solve your problem.
The LDAP authentication scheme of APEX is just a declarative wrapper for it's public package APEX_LDAP.
APEX_LDAP.authenticate(
p_username in varchar2 default null,
p_password in varchar2 default null,
p_search_base in varchar2,
p_host in varchar2,
p_port in varchar2 default 389)
return boolean;
-> the online help (search for APEX_LDAP) contains an example.
So what you have to do is, create a customer authentication where you decide somewhere in the PL/SQL code how the user should be authenticated. Based on that decision call the APEX_LDAP.authenticate or your "Public authentication".
Hope that helps
Patrick
My APEX Blog: http://inside-apex.blogspot.com
The ApexLib Framework: http://apexlib.sourceforge.net
The APEX Builder Plugin: http://sourceforge.net/projects/apexplugin/

Similar Messages

  • Is it possible to change the owning schema when generating datetime dimensions in the datasource?

    When creating a date time dimension using the dimension wizard and generate schema wizard, i would like to be able to change the owning schema from dbo to something else. The field is greyed out and I am unable to change it.
    Is it possible to change the owning schema when generating datetime dimensions in the datasource?

    Hi rkbjr,
    Thank you for your question.  
    I am currently looking into this issue and will give you an update as soon as possible. 
    Thank you for your understanding and support. 
    Thanks,
    Bin Long
    TechNet Subscriber Support
    If you are TechNet Subscription user and have
    any feedback on our support quality, please send your feedback here.
    Bin Long
    TechNet Community Support

  • Is there any way to change the color scheme in a document in Pages?

    I have come from a PC using Publisher for a weekly newsletter and am trying to use Pages to accomplish the same thing.  i want to change the color scheme from week to week and have not found a way to accomplish this.
    I am currently using Word for Mac for this, but I would like to move over to Pages.  I'm playing with it some, but can't seem to find a way to change the color of the publication from week to week.  To change to another template all together would cause me to have to reinvent the wheel each and every week, and I'm not willing to do that.
    Adobe Illustrator is an option, but it looks mighty complicated to set it up...  And I've balked at the price tag.
    Any suggestions?

    Pages does not have Themes like Word.
    There might be other ways to achieve what you want by swapping master objects and changing colors of Styles. A bit more work but not horrendously more.
    You can name color swatches in the Color Picker so you could set up a set of colors there then update styles and objects systematically using those swatches.
    Illustrator would be an extremely poor choice for a Newsletter.
    Have a look at the new Swift Publisher 3 in the App Store, currently 30% off. They have added some very good tools that have brought it into a much more Pro usable form. Including many key features that Pages lacks.
    Peter

  • CLAF - How to just change the color-scheme of default laf of Oracle EBiz

    How to change the color scheme of the default oracle ebusiness suites laf?
    When we tried the CLAF UI, there is no option to extend the oracle-desktop.xss.
    It gives only the base-desktop (which is different from the default Oracle Ebusiness laf).
    Have anyone done this ?
    Any suggestions/help is appreciated..?

    the default LAF is Browser one and the OA personalization guide tells what we can't extend it.
    It reads so stupid what i was not able to believe it.. But seems true.
    When you need to make a simple modification and keeping the look and feel, you can't.
    I changed only one icon but you can't give blaf (even if you modify the extends property in the look and feel metadata.xml
    Had you try to copy all blafs styles in your BLAF ? (that could be a workaround even if is it not upgradable ?)
    Or, open SR ?
    Anyway, I'm interesting by an answer too.
    Regards

  • After i bought mac os x lion from web then download , after that to install but when they ask me to choose disk to install i can not choose, it say this disk does not use the GUID partiton table scheme. use disk utility to change the partition scheme. but

    after i bought mac os x lion from web then download , after that to install but when they ask me to choose disk to install i can not choose, it say this disk does not use the GUID partiton table scheme. use disk utility to change the partition scheme. but

    after i bought mac os x lion from web then download , after that to install but when they ask me to choose disk to install i can not choose, it say this disk does not use the GUID partiton table scheme. use disk utility to change the partition scheme. but

  • How do you change the color scheme in new OS?, How do you change the color scheme in new OS?

    How do you change the color scheme in the new OS?

    and what does apple says about this?

  • Change the color scheme?

    Is it possible to change the color scheme/UI on the iPod touch? Like how on the iPod its blue but on the iPad its gray.

    Sorry Not that I know of

  • Change the color scheme of terminal

    I would like to change the color scheme of the terminal so that it would show different color fro functions, classes, variables etc like in textmate. How do i get to do this

    Are you talking about an editor that does syntax highlighting? That is NOT a function of the Terminal, but rather a function of the editor.
    I know that both vim and emacs will do syntax highlighting, but both of those editors require some learning (or a lot of learning), however, there are a lot of professional programmers that will not anywhere with out their favorite editor.
    If you just want code that displays a source code file on the screen with syntax coloring, but NOT edit it, you could use a script such as the following:
    #!/usr/bin/env bash
    # Shell script to start Vim with less.vim.
    # Read stdin if no arguments were given.
    if test $# = 0; then
    vim -c 'so $VIMRUNTIME/macros/less.vim' -
    else
    vim -c 'so $VIMRUNTIME/macros/less.vim' "$@"
    fi
    This will give you functionality similar to the 'less' command (a friend of the 'more' command), along with syntax coloring.

  • How do I change the color scheme on my new Iphone 4s

    I accidentally changed the color scheme of the new 4s I purchase, I mean everything inluding the look of apps and thier colors.
    It makes my pictures I take look all screwed up...they all look almost Sepia and like an exposed role of film.
    How do I change the color scheme back to the original settings?

    You seem to be referring to more than the background wallpaper for the home screen.  There are no "color scheme" settings in the phone - you may have activated white on black used for the visually impaired.
    Settings > General > Accessibility > White on Black >OFF

  • How do I change the partition scheme to use GUID partition Table.

    How do I change the partition scheme to use GUID partition Table so I can get Snow Leopard to download on my 10.5 disk.
    When I insert the disk it asks me to select  the disk where you want to install MAC OS X.It only give me one option the 10.5.
    when I click on it it says...
    "10.5" can't be used because it doesn't use the GUID Partition Table scheme.
    Use Disk Utility to change the partition scheme.  Select the disk, choose the Partition tab, select the Volume Scheme and then click Options. 
    I tried to do what it says and I can not find what it is saying.  This is the info about my MacBook.
    Model Name: MacBook
      Model Identifier: MacBook4,1
      Processor Name: Intel Core 2 Duo
      Processor Speed: 2.4 GHz
      Number Of Processors: 1
      Total Number Of Cores: 2
      L2 Cache: 3 MB
      Memory: 4 GB
      Bus Speed: 800 MHz
      Boot ROM Version: MB41.00C1.B00
      SMC Version (system): 1.31f0
    Thank you for your help!

    The GUID partition option is one of three possible choices (click the "Options" button in the Partition") menu - be careful to have a full backup as changing the partition scheme will force an erasure on the disk. Take a look at this Apple support article for more complete information:
    Firmware updates for Intel-based Macs require a GUID partition scheme - Apple Support
    Ignore the stuff about firmware updates and just look at the changing GUID partition scheme.
    Good luck - and don't forget about the full backup BEFORE making this sort of change.

  • How can I change the database & schema used by an Application?

    Hi community,
    I am very new on Essbase and I need help to find out how can I change the database connection (and schema) used by the database of an Application. The figure is that I need to point this database to a QA environment (currently it points to DEV).
    If I do a right click over the properties of the database, I can see the following tabs: [ General ][ Dimensions ][ Statistics ][ Modifications ][ Compression ]. However, there is no option to change the database connection.
    Is there a way to do this?
    Thanks in advance for any help! Cheers!

    Are you trying to change a database connection of Planning application?
    Essbase application do not have a relational connection.
    Regards
    Celvin
    http://www.orahyplabs.com

  • I upgraded to OS 7 but would like to change the colour scheme?

    I have upgraded my iPhone 5 to OS 7 but I don't like the colour scheme and have been unable to change it. Any suggestions?

    http://www.apple.com/feeback/iphone.html

  • HT2513 Is it possible to change the color scheme of a Microsoft Exchange calendar in iCal?

    My Exchange account is running 2007 version software.  I tried Control+Click and Go To Info (like I do for my iCloud calendars), but the Info menu does not pop up.  Any ideas why?

    Make a Shape > Inspector > Graphic > Tinted Image Fill > Scale to fit > browse to image > click on the color patch to change the color to what you want
    or
    Drag in an image > overlay it with a Shape > select the color for the shape and change its Opacity
    Shapes may have Gradient and Advanced Gradient (multiple colors) fills both linear and radial. Both are in the Graphic Inspector as is Opacity.
    Peter

  • New User Here: Changing the color scheme of console

    Hi there...
    My name is Zia and I am from Pakistan. I am primarily a Ubuntu user. But I needed a lightweight console-only operating system specifically for some work in Intel Assembly and a few other things which do not need X. Someone told me Arch was what I was looking for. So I installed Arch base as guest on VirtualBox and so far, it is impressively. It is running on mere 128M physical and 4GB pre-allocated HDD with very nice results. I did hack away with a few things and set the basic configs up myself. That's no big deal since I have a little background knowledge of how Linux works, from my experience with Ubuntu. Ubuntu, however is a little more resource hungry so I am going for Arch on VM.
    Enough with my boring chatter. I am here to ask help. Please direct me.
    The console looks pretty boring. I changed the console font while installing and I think I can change it again in /etc/rc.d if I want, but the font looks good. The major problem is colors. I googled it and there are plenty of threads specifying how to change the background/foregriund colors of TTY. But that is not what I want. You see, when I list the contents of the directory, I want all the sub-directories to be listed in blue, all the executables in green and rest of the normal files simply white or grey, whatever... The problem is, I am not sure how I would do that.
    Someone at some thread mentioned an .Xdefaults. I didn't come across such a file tampering with my Ubuntu box so naturally I am not familiar with it. If that is what I need to master before in order to get what I want, I shall need links or on-thread help, please.
    Thanking in anticipation. Zia
    EDIT: I have not installed X. Just the base system with samba and a few other things. Should the .Xdefaults still control the console colors? I am not talking about the terminal inside X. I am talking about TTY.
    Last edited by zia.newversion (2011-01-17 20:33:57)

    echo "alias ls='ls --color=auto'" >> ~/.bashrc
    That will append the alias mentioned in post 2 to your .bashrc which is where aliases are stored (you should run this as user for user's bashrc and root for root's bashrc). You will need to logout or issue
    source ~/.bashrc
    to get it to work.
    For example I've aliased ls to ls -sh to give me file sizes
    edit: fixed typo
    Last edited by SS4 (2011-01-17 21:39:35)

  • I would like to know how to change the color scheme of my tabs. They are dark grey with a lighter grey print and are hard to read. How do I make them different colors?

    When I open Firefox, the tabs for the homepages are dark grey and the print is a lighter grey but they are hard to read. How can I change the color of these tabs and fonts?

    This is a customer to customer forum, so this is not the place.
    What is going on with your account? maybe we can help you.

Maybe you are looking for

  • Utility disco crash

    Ciao a tutti, da quando ho installato Lion subito mi ha dato un problem con Mail e ho risolto ripristinando e rinstallando Lion ora volevo formattare una penna usb e richiamando Utility Disco è crashata, help me pls !! Chi sa risolvere ?!? Grazie in

  • Find out the orgunit id of each document

    hello  guys... i execute  fm 'crm_order_read' for all the guid to recover the orgunit id of the doc. after that i want to  find out the orgunit id of each document.and  how  they  are link ...

  • File Function in Photoshop Elements Organizer - Backing Up Catalog

    I want to backup my catalog to an external hard drive. I understand I need to go to click on the File button at the top of the screen to start the process.  But, my Organizer does not have the File button (or any of the other buttons) at the top  of

  • Kodak PhotoCD

    I have a photo cd from Kodak from 1996. How do I get these pictures into iPhoto. They are not jpg. There are several resolutions of each picture, but nothing is available for using.

  • Interactive form is not showing data during design time

    Hello, I have created a interactive form to display PDF. It is of 12 page. I created and checked in the code to DTR but now when I checked out the DC and and edited the interactive form for further update it is not showing any thing in the design tim