This discussion is archived
1 Reply Latest reply: Oct 5, 2012 11:40 PM by AlistairLaing RSS

Authenticating a user using AJAX

AlistairLaing Explorer
Currently Being Moderated
Hi,

I'm building a login region and would like to build in the authentication process so that a new developer in a team can simply create on of our apps and just create a page that uses this region plugin.

Is this possible to do in a single plugin? Am I right in thinking that to authenticate a user you have to define a Authentication function in the authentication scheme and then call something like apex_authentication.login(
p_username => :P101_USERNAME,
p_password => :P101_PASSWORD );

Or should I rather create two plugins one Region and one Authentication Plugin.

Does anyone know of any good examples of how to build an authentication plugin or how to use the AJAX function that you can define in the Authentication plugin?

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points