site.javabarcode.com | ||
Simple .NET/ASP.NET PDF document editor web control SDKThere are two roles available in the JAZN environment, and you can see them by issuing the following command: JAZN:> LISTROLES iSQL*Plus DBA/webDba iSQL*Plus DBA/admin JAZN> Once you ve finished creating all the users you want to grant the iSQL*Plus DBA privileges to, you must grant the users the webdba role by using the GRANTROLE command, as shown here: JAZN:> GRANTROLE webdba "iSQL*Plus DBA" salapati You can use the REVOKEROLE command to revoke a user s webdba role from the JAZN shell, as shown here: JAZN> REVOKEROLE webDba "iSQL*Plus DBA" username excel barcode erstellen freeware, free 2d barcode font excel, excel barcode font, how to create barcode in microsoft excel 2013, free barcode add in for word and excel, active barcode in excel 2003, vba barcode generator excel, excel barcode font not working, how to make barcodes in excel mac, barcode addin for excel 2007,Before testing the changes you just made, you must first restart the iSQL*Plus Administration Server. When you set up your new users, you changed the JAZN authentication file, jazn-data.xml. By restarting the iSQL*Plus sever, you can incorporate your changes into the new iSQL*Plus instance. After restarting the iSQL*Plus server, you can check the iSQL*Plus DBA access by entering the iSQL*Plus DBA URL in your web browser, as shown here: http://machine_name.domain:port/isqlplus/dba For example, on my server, this is what I need to enter as the web address: http://localhost:5860/isqlplus/dba You ll see a dialog box requesting authentication for the iSQL*Plus DBA URL. To find out which port number the iSQL*Plus server is using on your server, look in the $ORACLE_HOME/oc4j/j2ee/isqlplus/config/http-web-site.xml file, which will have a line similar to this: <web-site port="5560" display-name="OC4J Java HTTP Web Site"> When you enter the URL into your browser, you ll see username and password box for your HTTP server credentials, which lets the HTTP server check the authentication first. Once the HTTP server credentials are confirmed, another page asks for your database username and password and the database connection details. Figure 12-2 shows the iSQL*Plus DBA login page for providing your database username and password. Figure 12-2. The iSQL*Plus DBA Login page When you successfully log in to iSQL*Plus with the DBA privilege (SYSDBA or SYSOPER), the iSQL*Plus DBA Workspace is displayed, instead of the regular iSQL*Plus Workspace. THE_INPUT=`ps -ef` while read line do # Process the $line variable in some form. if [ "`echo $line | awk '{print $3}'`" = "somevalue" ] then all="$all $line" fi done <<EOF $THE_INPUT EOF The iSQL*Plus interface uses the security model based on the RESTRICT option, which you saw earlier in the chapter. Thus, you can t execute commands such as HOST, @, and SPOOL from iSQL*Plus, meaning that you can t reference the local file system using an iSQL*Plus interface. Note that iSQL*Plus does not use a login.sql file as the SQL*Plus interface does. When you first log in, only the global login file, glogin.sql, is read. This file is usually located in the $ORACLE_HOME/ sqlplus/admin directory. Users thus cannot customize the environment for their use to the extent they can in SQL*Plus. You can further restrict access to the iSQL*Plus server to a limited set of databases, by editing the web.xml file located in the $ORACLE_HOME/oc4j/j2ee/oc4j-applications/applications/ isqlplus/isqlplus/WEB-INF directory. Here s an example, showing how the user s access is limited to two databases, prod1 and cust1: <init-param> <param-name>iSQLPlusConnectIdList</param-name> <description> prod1;cust1 </description> <param-value>ora10g;ora9i</param-value> </init-param> In the preceding web.xml file, the third line is where you specify the list of databases to which iSQL*Plus users are restricted. If you leave this line blank, users aren t restricted from accessing any database through iSQL*Plus. Because of possible HTTP network timeouts, Oracle recommends that you stick to using the traditional SQL*Plus interface for running time-consuming DBA operations (for example, analyzing a huge table).
|