Custom Web-authentication application

I am trying to create an authentication for a web application. Is this possible? I find examples of DB applications.

I did the following and hit bad...

create table vl_emp_master (empid number,pwd varchar2(100));

insert into vl_emp_master (empid,pwd) values (4781,'1234');

insert into vl_emp_master (empid,pwd) values (4787,'1234');
created a package
create or replace package pkg_tr_usr as
 function tr_check_usr(p_uname varchar2,p_pwd varchar2) return boolean;
end;

CREATE OR REPLACE package body pkg_tr_usr as 
function tr_check_usr(p_uname in varchar2,p_pwd varchar2)return boolean is
v_ret integer :=0;
begin

select 1 into v_ret from vl_emp_master where empid=to_number(p_uname) and pwd=p_pwd and rownum=1;

return (v_ret=1);

exception
when no_data_found then
v_ret:=0;
return (v_ret=0);
end tr_check_usr;
end;
tested like this...

declare
bres boolean :=false;
begin

bres:= pkg_tr_usr.tr_check_usr('4781','1234');

if bres=false then
dbms_output.put_line('1');
else
dbms_output.put_line('0');
end if;
end;
and made the following changes in the authentication of the process...

In "Application-> properties"-> "Authentication service" authentication-> return pkg_tr_usr.tr_check_usr;

but not able to connect, do following error...
ORA-06550: line 2, column 8: PLS-00306: wrong number or types of arguments in call to 'TR_CHECK_USR' ORA-06550: line 2, column 1: PL/SQL: Statement ignored
Thank you
HESH

OK, I'm going to presume that apex is installed in the same pattern as your 'vl_emp_master' table.

First of all you must manually create the admin user. All users of the application websheet are stored in APEX$ _ACL table. So we insert all the 4000 in there automatically.

APEX$ _ACL (ID, WS_APP_ID, USERNAME, PRIV, CREATED_ON, CREATED_BY, UPDATED_ON, UPDATED_BY)

We want to insert:
WS_APP_ID is your application id (for tests, I will assume it is 100)
Username - empid of your table 'vl_emp_master '.
PRIV - an - admin, R - drive I think and there is a letter more I don't remember
CREATED_ON, UPDATED_ON, you can put here today
CREATED_BY, UPDATED_BY which is the name of your workspace (to test, I'll assume it's "Hesh")

OK, so open your sqldeveloper, sqlworkshop or sqlplus any and type:

SELECT * FROM APEX$ _ACL, now you should just see your admin user.

OK now we will insert all 4,000 of them.

INSERT INTO APEX$_ACL (WS_APP_ID, USERNAME, PRIV, CREATED_ON, CREATED_BY, UPDATED_ON, UPDATED_BY)
SELECT 100, empid, 'R', '03.05.2012', 'Hesh', '03.05.2012', 'Hesh'
FROM vl_emp_master

Published by: 910011 on 3 may 2012 14:10

Tags: Database

Similar Questions

  • SE Oracle develops custom web applications?

    Hi all!

    I would like to know if Oracle corporation develops custom web applications? I would like to start a new company, involving an innovative web application. I want Oracle to develop this web application. Of course, I'll give you all the details and specifications, but Oracle will do real programming. Oracle does this? If this is not the case, do you know of any company that does?

    Thank you very much

    Published by: user13287930 on June 12, 2010 23:14

    Published by: user13287930 on June 12, 2010 23:15

    Luke,

    I think they will sit down with you and get to a document specifying your functional needs. This will result in an estimate of how long it will take and how much it will cost. They build and perhaps even administer it.
    They will use Oracle products as much as possible, it will be at least Oracle's RDBMS and Oracle Application Server (full product). Oracle Application Express looks like too low for your purpose.
    As for "exactly what you want": it makes me smile. I was however quite a long time to see many projects fail because of unclear customer specifications.

    -----------
    Sybrand Bakker
    Senior Oracle DBA

  • Bundle of Web authentication on a WLAN controller integrated Catalyst 3750

    We have set up a wifi zone based on a few 1131AG access points and a few Cisco 3750 integrated WLAN controllers. We are now trying to use web authentication for our comments area. No problem by defining a WLAN of COMMENTS and the associated VLAN. We have also managed to download a custom controller authentication web page.

    However, when I try to display the custom page, both controllers of show me the internal default page (preview and during the phase of actual authentication).

    Global web authentication settings are the following: Security--> Auth Web--> Web Login Page--> custom (downloaded).

    On the controller software version is 4.2.112.0, and the page is an HTML page.

    Reveal any help be appreciated.

    Kind regards

    Sonia

    What you need to do is set internally (by default) and hit apply, then play again to custom and click on apply. You can still see the defaul if you use the preview, but if you associate the SSID and open your web browser, you should get the webauth page. I hope this helps.

  • Assignment of VLAN dynamic of the Web authentication

    In a firmware WLC 4402 v.5.2.157 is possible to assign users to one VLAN dynamic based on the RADIUS response received from ACS?

    Yes and no. You can do for a WLAN 802.1 x internal, that the customer does not get an IP address, until they have completed the authentication process. To do this, you use 64/65/81, 64 802, 65 VLAN and to 81 use the name of the interface, not the number VLAN. you will also need to make sure you have AAA Overrided activated under the WLAN.

    If, as is said for Web authentication, the answer is no. The client has an IP address before being validated by the AAA server.

    HTH,

    Steve

  • Web authentication passthrough with input from the e-mail

    Is it possible to use a custom login.html page when web auth/passthrough is used with the input of the email? I have a requirement to have just the users to register with an e-mail address and I need to provide a custom page.

    I receive custom login pages, but I can't figure out how to make a customized with only e-mail login.html page entry.

    Any help is appreciated.

    Thank you

    Kurt

    You should also check wireless downloads. In the area where you can find the code of the controller to download, you can also find a 'Wireless LAN Controller Web authentication Bundle' containing several samples of html, including e-mail data.

    This link might work, maybe not:

    http://Tools.Cisco.com/support/downloads/go/InterfaceModuleSWT.x?mdfid=279911269&mdfLevel=model&treeName=wireless&modelname=Cisco%204404%20Wireless%20LAN%20Controller&treeMdfId=278875243

  • Java Web Start application runs under jre8u40 but not jre8u51

    We have a Java web application that uses javaws. It runs very well under the update of Java 8 40, but under the update Java 8 51 jp2launcher.exe stops right, without launching the application.

    • I found the papers in C:\Users\me\AppData\LocalLow\Sun\Java\Deployment\log, but they are identical between j8u40 and j8u51 (except of course for the order of pots are loaded, the version of jre and the start time).
    • I connected the launch using Process Monitor for the two versions of jre. Under j8u51, jp2launcher.exe ends with just the result of 'SUCCESS' Comparing the two newspapers procmon, I can't choose anything unusual. They have both search in the directory C:\Users\me\AppData\LocalLow\Sun\Java\Deployment and their respective C:\Program Files\Java\jre1.8.0_XX\lib directories and others like, but then the j8u51 there is only.
    • The Windows event logs show any what that touch of Java.
    • I managed to run the jnlp whose value "JAVAWS_VM_ARGS = - Xcheck:jni - XX: - TraceClassLoadingPreorder - XX: + PrintCommandLineFlags-verbose: jni-verbose: class - verbose: gc - XX: + PrintGCDetails-Djava.util.logging.config.file=C:\misc\logging.properties" and connect the stdout/stderr. It looks like an end to newspapers javaws and jp2launcher for versions of the output, then both jre8u40 and jre8u51. Probably in the j8u40 version it launches another jp2launcher.exe to run the application.
      • Comparing newspapers two output gives nothing interesting. Classes are loaded in almost the same order, for the most part identical classes other than the few differences that are explained easily by just be more up-to-date used classes.
    • Finally, I was able to launch the application directly, using java.exe, by getting the customer their unpacking and installing the server files. The application itself works fine in jre8u51, so the problem is definitely javaws himself.

    I find very little documentation on the inner workings of Java Web Start and no documentation at all on jp2launcher.exe. Can anyone suggest what could go wrong here, or other diagnostic measures I can take?

    e: sorry for the strange user name. I tried to change it in my profile, but the forums don't seem to accept the change.

    Hi people.

    I managed to find the solution. There are several factors that interact and I think one of them is a bug in Java Web Start.

    Please see full report at http://stackoverflow.com/questions/31556273/java-web-start-application-runs-under-jre8u40-but-not-jre8u51

  • Can we build Custom Web App using Business Catalyst?

    My client is interested in Adobe Business Catalyst. He wanted to build a custom online business application. Can we build custom web applications (not ecommerce) as market of fundraising with adobe business catalyst? How will it be possible without server side personalization?  If possible, please provide access to developer documents

    Thank you

    Andrea

    The short answer is Yes, you could create a market of fundraising.  The most complete answer depends on your definition of a "Web App" and about specific features you are wanting to deliver Web application.  If you are thinking about programming custom php server-side, then, no, this isn't what BC Web Apps. Wikipedia defines a web application like any application written in a language of browser support which relies on the browser for rendering. Applications Web BC meets this definition. "The best definition in my opinion is that a web"site"is defined by its content, all in a web"app"is defined by its interaction with the user. WebApps BC framework can be used for the delivery of content and interaction with the user therefore also integrates with this definition.

    To be clear, "WebApps" in British Colombia is not for coding web applications customized to measure in the broad sense.  In fact, you do not have to do any coding at all (although having knowledge of html/css & javascript will significantly expand what you can do). Colombia-British 'Web-Apps' is a relatively basic set of configurable fields and the tools used to collect and present data.  Its main purpose is to publish "lists". i.e. the items list on which you click to display a details page.  This may not seem particularly high-tech, and it's not. But if you think about it, most of the interactive web applications, a very simple to very advanced (for example Articles; Image galleries; eCommerce, real estate ads; Labour markets; Auction sites; Business directories; Search engines) are all built around this fundamental problem. that is, they present a list of items that are related to a detail page.

    To this end, BC WebApps allows you to define a data set using all types of field (for example, text string, radio buttons, checkboxes, drop-down lists, text box, image path, links, etc.) allows the collect and publish the data however you want displayed in your list views and view detail (more view editing for content generated visitor).  Of course there are limits to what we can do. But there are a lot of innovative workarounds for each limitation. Understanding of the parameters allows a very wide range of possibilities to achieve remarkable results for your customers.  WebApp capabilities are range from the Colombia-British, wide range of features such as Member areas secure, e-commerce functions, lists of campaign etc.

    To return to your original question... "Could you build a web fundraising custom application market in British Colombia?   Yes!  You may allow visitors to the join (members of the safe zone) and then present a list (WebApp point) which is published on the site. Other visitors can view this item in the list and click to view the Details page. They can then choose any number of such further actions as defined in your WebApp structure it As... make a payment (e-commerce); Leave a comment; Like on Facebook; Tweet on twitter, save as a favorite; Send to a friend. etc.  This does not mean that everything is possible (e.g. making payments would be possible using a built-in "seamless" payment gateway). But within the boundaries that exist, YES you could generation custom fundraising for your customer market without programming side server.  See catalyst for Business help | Web Apps-building part 1: understanding of Web applications to learn more.

  • CF can do the custom Web Service headers?

    I try a web service created in .NET, which seems to use a custom for authentication header object to the consumer. I'm banging my head against the wall trying to figure out how to configure the WS invoke CF so that it creates the correct SOAP.

    Normally, I try and create a CF Structure and place it in the web service call.
    for example:

    objWS = CreateObject ("WebService", " http://www.somesite.com/webservices/myMethod.asmx?WSDL");

    myAuthHeader = {username = "User1" password = "auditUser1"};

    addSOAPRequestHeader (obj, " http://www.somesite.com/webservices/", "AuthenticationHeader", myAuthHeader);


    But it gives me the following output:

    < soapenv:Header >
    "" "< soapenv:mustUnderstand ="true"soapenv:role = ns1:AuthenticationHeader" http://schemas.xmlsoap.org/soap/actor/next " xmlns:ns1 =" http://www.somesite.com/webservices/ "> "
    "< xmlns:ns2 point =" http://xml.apache.org/xml-soap "> "
    < key xsi: type = "xsd: String" > USER name < / key >
    < value xsi: type = "xsd: String" > user1 < / value >
    < / point >
    < item >
    < key xsi: type = "xsd: String" > PASSWORD < / key >
    < value xsi: type = "xsd: String" > pass1 < / value >
    < / point >
    < / ns1:AuthenticationHeader >
    < / soapenv:Header >

    Instead of:

    < soap: Header >
    "< AuthenticationHeader xmlns =" http://www.somesite.com/webservices/ "> "
    User1 < user name > < / username >
    pass1 < password > < / password >
    < / AuthenticationHeader >
    < / soap: Header >

    Does anyone have an idea on what I'm doing wrong?

    Thank you!

    Don't you know - after research / tried for hours trying to understand, I came across the solution about 10 minutes after the announcement. For anyone interested, the answer can be found here:

    http://livedocs.Adobe.com/ColdFusion/8/htmldocs/help.HTML?content=webservices_24.html

    The secret - create your custom as string XML, parsed into an object and then pass it to your Web service using the addSOAPRequestHeader function:


    http://www.somesite.com/webservices/">
    User1
    pass1


    ...

    addSOAPRequestHeader (objWS, " http://www.somesite.com/webservices/", "AuthenticationHeader", xmlObj);

  • Satellite L650 (PSK1JA-07C017) - Web cam application does not work

    I have a client who owns the computer above and while I was there yesterday, she mentioned that the web cam is not working. I clicked on the icon and received a popup saying to upgrade or complete installation and after doing this the application still not open. I went to the support downloads section and got the enumerated here uninstalled web cam application the application of the computer.

    I re-installed with the application that I had downloaded ut that did not help. The same behavior was exposed. I googled a little and I saw many enties from others so I came here to have this problem, but no solutions.
    Any help would be appreciated.

    Sq

    > A full installation of operating system due to a failure of the application and judging by the results of google search a known issue that should have a fix now.

    This could be a software problem I mean it is possible that the system could be confused to you that it is not impossible? In my short life, I noticed several times this dirty registry may cause issues such as

    > I have installed with the application that I had downloaded ut that didn't help
    Well, maybe you should try to clean the registry using some tools such as CCleaner for example before you install the driver if this is not enough, then I would try to reinstall the image of Toshiba

  • Use Custom Font in application blakcberry

    Hi all

    I want to use a police custom in my application so that there is consistency in the application. My application supports all OS. I found the solution in the doc, but it uses FontManager which is not supported by the OS less than 5.

    If anyone knows the solution please let me know.

    Any code snippet will be a great help.

    Thank you

    prior to 5.0, it is impossible.

  • Web authentication Catalyst 2960

    Hello

    I am trying to configure Web authentication relief on a catalyst 2960 switch. The goal is to authenticate customers via web authentication that are consistent (the part of 802. 1 x works fine) not 802. 1 x and allow them access to the network. The problem is that the web authentication seems to fail.

    The equipment about my question: switch catalyst 2960 (version: 122 - 37.SE) and a FreeRadius.

    Here's what happens:

    The authentication window will appear in my browser and the access request is sent to the RADIUS.

    The term RADIUS replies with an Access-Accept. Debugging running on the switch show that all this information is coming properly authentication and switch outputs debug a 'status = PASS' and permission to debug outputs a 'status = PASS_ADD'. Despite this the browser on the client generates a message "authentication failure".

    I have read the manual and the Cisco attribute value pairs are mentioned: ' priv-lvl = 15' and «proxyacl...»» ». They are required to make it work? Given that I'm not setting up any authentication switch connection via RADIUS.

    Any suggestions?

    Thanks in advance

    Yes, they are mandatory.

    If priv-lvl = 15 is not returned to the switch, the user will see? Authentication failed? and the access list will not apply. If the source in the statements of proxyacl field is not? everything? or there are other errors of syntax, the user will see? Successful authentication? but the access list will not apply and the user will be denied access to the network.

    Not sure about the configuration of specific FreeRADIUS, but you need to set up the? [026\009\001] Cisco av pair VSA. It should look like:

    Priv-lvl = 15

    proxyacl #10 = ip permit a whole

    Let me know if this lets you squared

  • WLC (foreign-anchor), problem with external web authentication-&gt; ISE

    Hello guys

    I am designing a platform for a network of comments, which must be isolated from the LAN, the following facilities:

    • ISE 1.2 (SNS-3415-K9 Cisco)
    • WLC 7.0.230.0 (Cisco 5508 controller)---> foreign wlc
    • WLC 7.0.230.0 (Cisco 5508 controller)---> wlc anchor.

    The PAES tunnel between wlc is successfully completed.

    The wireless client gets the IP address of the anchor wlc (DHCP server).

    Test 1:

    I have set up the ANCHOR WLC with local web authentication (internal), the wireless client is authenticated by WLC and successfully navigate.

    Test 2:

    Configure the authentication web external anchor (ISE) WLC. Configure a user to the portal comments ISE.

    The wireless client gets the IP address of the anchor wlc (DHCP server), attempting to engage not display comments portal.

    Debugging a wireless client, try to connect to the guest network is attached.

    That's right... they have a version of code required minimum supported for this.

    Thank you

    Scott

    Help others using the system of rating and marking answers questions like "answered."

  • Independent WAP Web authentication?

    Is it possible to do the redirection of web authentication using 1131 s independent or that the function is available with WLAN controllers?

    Hello

    Authentication on the Web is only a solution for a unified environment (WLC). Autonomous aPs cannot perform this function.

    -Patrick Croak

    TAC wireless

  • Ie9 beta does not have the web authentication

    Hello

    / * Style definitions * / table. MsoNormalTable {mso-style-name : « Table Normal » ; mso-tstyle-rowband-taille : 0 ; mso-tstyle-colband-taille : 0 ; mso-style-noshow:yes ; mso-style-priorité : 99 ; mso-style-qformat:yes ; mso-style-parent : » « ;" mso-rembourrage-alt : 0 cm 5.4pt cm 0 5.4pt ; mso-para-margin : 0 cm ; mso-para-marge-bottom : .0001pt ; mso-pagination : widow-orphelin ; police-taille : 11.0pt ; famille de police : « Calibri », « sans-serif » ; mso-ascii-font-family : Calibri ; mso-ascii-theme-font : minor-latin ; mso-fareast-font-family : SimSun ; mso-fareast-theme-font : minor-fareast ; mso-hansi-font-family : Calibri ; mso-hansi-theme-font : minor-latin ; mso-bidi-font-family : Arial ; mso-bidi-theme-font : minor-bidi ;}

    I have a question:

    We had a user who defines the Cisco web-authentuicated WiFi SSID as network Public in the firewall of Windows 7 and when he tried to connect to WiFi, it appears a troubleshooting page and said: "Connection to Web pages are currently redirected to a different Web page."  It uses IE9 beta.  Most likely the browser it's a MiTM attack.

    Apart from declaring (SSID) network as a private network secure, y at - there another solution?

    Our goal is to get the users (which come from major conferences) on the network without them having to change a lot of things on their laptops. They would be naturally defined as a Public network.

    Thank you

    Suman

    The concept of web authentication IS a man in the Middle somehow attack... And IE9 is not a browser supported either.

    I don't know what makes IE cause this error exactly well. You have a DNS host name and the certificate on your webauth?

    Nicolas

  • The web authentication.

    I want to configure a switch for IEEE 802 authentication port. 1 x with web authentication as a means of rescue.

    Can anyone provide an example of a valid configuration?

    Only web authentication does not work!

    Switch #sh run

    Building configuration...

    Current configuration: 3012 bytes

    !

    version 12.2

    no service button

    horodateurs service debug uptime

    Log service timestamps uptime

    no password encryption service

    !

    Switch host name

    !

    !

    AAA new-model

    Group AAA authentication login default RADIUS

    connection of line-con AAA authentication, no

    Group AAA dot1x default authentication RADIUS

    Group AAA authorization auth-proxy default RADIUS

    !

    AAA - the id of the joint session

    switch 1 supply ws-c3750 - 48P

    mtu 1500 routing system

    IP subnet zero

    IP - cisco.com domain name

    property intellectual admission name rule1 http proxy

    !

    !

    !

    !

    control-dot1x system-auth

    !

    !

    !

    !

    !

    !

    Profile relief aid

    IP access-group Policy1 in

    rule1 admission IP

    !

    pvst spanning-tree mode

    spanning tree extend id-system

    !

    internal allocation policy of VLAN ascendant

    !

    !

    !

    !

    interface FastEthernet1/0/1

    switchport access vlan 142

    switchport mode access

    !

    interface FastEthernet1/0/47

    switchport access vlan 142

    switchport mode access

    dot1x EAP authenticator

    self control-port dot1x

    relief aid dot1x

    !

    interface Vlan1

    no ip address

    Shutdown

    !

    interface Vlan142

    IP 10.1.254.1 255.255.255.0

    !

    IP classless

    !

    peche1 extended IP access list

    allow udp any any eq bootps

    deny ip any any newspaper

    !

    Server RADIUS attribute 8 include-in-access-req

    secret key of acct-port 1645 auth-10.1.254.187 - RADIUS server host port 1646

    Server RADIUS ports source-1645-1646

    RADIUS vsa server send authentication

    !

    control plan

    !

    !

    Line con 0

    line vty 5 15

    !

    end

    Try adding this:

    analysis of IP device

    In addition, if you want your users to web-auth to use DNS to resolve URLS, you probably want to add something like this to Policy1:

    allow udp any any eq field

    Don't forget that you need to wait until the 802. 1 X times out (90 seconds by default) for Web-Auth to kick.

    Shelly

Maybe you are looking for