Restrict regular users to use only certain ldm command options

I would like to restrict regular users to use only certain ldm command options, for example only list, bind/unbind, stop/start
What is the best practice to do it?
Thanks

Solution provided by one of my colleagues:
Installing sudo and configure sudoers file "User privilege specification" section similar to the following example:
# User privilege specification
root ALL=(ALL) ALL
user1 host1 = /opt/SUNWldm/bin/ldm ls *
user1 host1 = /opt/SUNWldm/bin/ldm stop *
user1 host1 = /opt/SUNWldm/bin/ldm stop -f *
user1 host1 = /opt/SUNWldm/bin/ldm start *
user1 host1 = /opt/SUNWldm/bin/ldm bind *
user1 host1 = /opt/SUNWldm/bin/ldm unbind *
**Note*: asterisk should be at the end of each row. They are not displayed in the posted message...*

Similar Messages

  • How to authorize users to use only certain tax codes not all

    After creating tax codes uasing FTXP, is there any way we can control the use of it by assigning only few to users to use ant all.
    Any help.
    Regards
    Robert

    We can restrict user based on:-
    Organizational Levels in Transaction code PFCG
    Accounting Number & Cost Center in Transaction code SU01
    Edited by: G K Raja on Nov 4, 2009 12:02 PM

  • How to restrict the user to enter only numeric values in a input field

    How to restrict the user to enter only numeric values in a input field.
    For example,
    i have an input field in that i would like to enter
    only numeric values. no special characters,alphabets .
    reply ASAP

    Hi Venuthurupalli,
    As valery has said once you select the value to be of type integer,once you perform an action it will be validated and error message that non numeric characters are there will be shown. If you want to set additional constraints like max value, min value etc you can use simple types for it.
    On the project structure on left hand side under local dictionary ->datatypes->simple types create a simple type of type integer
    The attribute which you are binding to value property ;make its type as simple type which you made
    Hope this helps you
    Regards
    Rohit

  • I want a user to use only import, it run with export but not import

    Hi,
    i create a user for use only for import and for export.
    batch_export with exp_full_database role <- It run
    batch_import with imp_full_database role <- don't run
    P:\>sqlplus batch_export/batch
    SQL*Plus: Release 10.1.0.2.0 - Production on Lun. Ao¹t 21 17:21:58 2006
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    ERROR:
    ORA-00604: une erreur s'est produite au niveau SQL rÚcursif 1
    ORA-20000: Connexion refusee
    ORA-06512: Ó ligne 41
    Entrez le nom utilisateur :
    P:\>sqlplus batch_import/batch@rfsage
    SQL*Plus: Release 10.1.0.2.0 - Production on Lun. Ao¹t 21 17:03:36 2006
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    ConnectÚ Ó :
    Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL> exit
    the trigger as run
    create or replace trigger batch_export.check_connexion after logon on database
    declare
    V_MODULE SYS.V_$SESSION.module%TYPE;
    V_TERMINAL SYS.V_$SESSION.terminal%TYPE;
    V_SID SYS.V_$SESSION.SID%TYPE;
    V_SERIAL SYS.V_$SESSION.SERIAL#%TYPE;
    V_COMMAND varchar2(100);
    V_CURRENT_USER varchar2(20);
    V_CURRENT_SID SYS.V_$SESSION.SID%TYPE;
    cursor connexion is
    select substr(module,1,7) module, substr(terminal,1,12) terminal, sid, serial# from v$session T1 where schemaname='BATCH_EXPORT';
    cursor ID_CUR is
    select user from dual;
    cursor SID_CUR is
    select SYS_CONTEXT('USERENV','SID') sessionid from dual;
    --select SYS_CONTEXT('USERENV','CURRENT_USERID') current_userid from dual;
    Begin
    open SID_CUR;
    loop
    fetch SID_CUR into V_CURRENT_SID ;
    EXIT WHEN SID_CUR%NOTFOUND;
    dbms_output.put_line('V_CURRENT_SID:'||V_CURRENT_SID);
    end loop;
    close SID_CUR;
    open ID_CUR;
    loop
         fetch ID_CUR into V_CURRENT_USER ;
         EXIT WHEN ID_CUR%NOTFOUND;
         if V_CURRENT_USER='BATCH_EXPORT' then
         open connexion;
         loop
              fetch connexion into V_MODULE,V_TERMINAL,V_SID,V_SERIAL ;
              EXIT WHEN connexion%NOTFOUND;
              if V_MODULE<>'EXP.EXE' then
              dbms_output.put_line('V_SID:'||V_SID);
              dbms_output.put_line('V_CURRENT_USER:'||V_CURRENT_USER);
                   if V_CURRENT_SID=V_SID then
                   dbms_output.put_line('MODULE:'||V_MODULE);
                   RAISE_APPLICATION_ERROR (-20000,'Connexion refusee');
                   end if;
              end if;
         end loop;
         close connexion;
         end if;
    end loop;
    close ID_CUR;
    End;
    as the same for import user.
    I try with role in trigger but it don't, i see this in forum Oracle.
    But i think EXP_FULL_DATABASE have not DBA rule, but IMP_FULL_DATABASE have.
    How i do this ?
    I want just to use a user to imp utilities, but not connexion in sqlplus.
    Thanks for your help
    Christophe

    thanks for your help.
    it run !
    for example :
    as the system user
    SQL> INSERT INTO PRODUCT_USER_PROFILE values ('SQL*Plus', 'BATCH', 'CONNECT',null,null, 'DISABLED', NULL, NULL);
    1 ligne créée.
    SQL> grant create session to batch;
    Autorisation de privilèges (GRANT) acceptée.
    SQL> INSERT INTO PRODUCT_USER_PROFILE values ('SQL*Plus', 'BATCH', 'SELECT',null,null, 'DISABLED', NULL, NULL);
    1 ligne créée.
    the result
    oracle@debian:~$ sqlplus batch/batch;
    SQL*Plus: Release 10.2.0.1.0 - Production on Mar. Août 22 06:53:00 2006
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connecté à :
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL> select user from dual;
    SP2-0544: Commande "select" désactivée dans le profil utilisateur du produit
    SQL>
    oracle@debian:~$ exp batch/batch owner=batch file=test.dump
    Export: Release 10.2.0.1.0 - Production on Mar. Août 22 06:54:32 2006
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connecté à : Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Export fait dans le jeu de car WE8DEC et jeu de car NCHAR AL16UTF16
    le serveur utilise le jeu de caractères WE8ISO8859P1 (conversion possible)
    Prêt à exporter les utilisateurs spécifiés ...
    . export des actions et objets procéduraux de pré-schéma
    . export des noms de bibliothèque de fonctions étrangères pour l'utilisateur BATCH
    . export des synonymes de type PUBLIC
    . export des synonymes de type PRIVATE
    Thanks for all

  • Restricting the user to access only one view in or database

    A user wants to create a database link , so that he can view one of our views. We want to restrict permission, so that he can access only that view, and not any of our tables. What is the best way to proceed?
    Thanks in advance,
    Gayatri

    Pl do not post duplicate threads - Restricting the user to access only one view in or database

  • Apps that arbitrarily restrict which users may use the App, such as by location or carrier, may be rejected

    Hello,
    I have an inquiry, this section:
    Apps that arbitrarily restrict which users may use the App, such as by location or carrier, may be rejected
    We have an mBanking app to be built and the Bank is insisting on forcing a mandatory update when there is a need
    and the user should be restricted from logging in in such case (as a security update or important bug fixes).
    Does the above fit in what will be rejected? Will the application be rejected in such a case? if so are there any workarounds?
    Thanks
    nsawaya

    No, no, and no.
    Sorry, but this is Apple we’re talking about here.
    Bob

  • Restrict the users to use the field Unplanned delivery cost at MIRO

    Dear Friends,
    I want to restrict some users to use the unplanned delivery cost at MIRO. It should be displayed as visible to enter for some users and it should be displayed in grey mode not to enter anything for some users. I am asking this to restrict some misutilisation of this field by some users. Can I restrict through profiles?
    Simply, I want to restrict the users to use the field Unplanned delivery cost at MIRO through Profiles of them. Pls help me,, it is impacting our business.
    Regards,
    Venkata Reddy.Mudda

    Hi,
    Check the customization for unplanned cost:
    SPRO -- Materials Management -- Invoice Verification -- Logistics Invoice Verification -- Incoming Invoice -- Configure How Unplanned Delivery Costs Are Posted
    Best Regards
    Anamika

  • How to restrict a User to access only 2-3 views in MM01/MM02 ???

    Hi,
    Can anyone tell me how can I restrict a User to access only 2-3 views in MM01/MM02 and also the User should not be allowed to change the View selection by clicking on the Select Views button ?.
    Regards,
    Lucky

    Hi Prashant,
    Can this only be done through changes in Authorization Objects ? Is not there any setting which can be done in SPRO for this ?
    Hi Sheshagiri,
    I could not exactly understand how the access to MM Views can be restricted to User through TCode OMT3B i.e. in SSeq. 01 and Screen 07 ? Subscreen 2154 is for Mat. Groups ? Please explain your answer in detail.
    Regards,
    Lucky

  • OBIEE 11g:Restrict Admin user (Weblogic) to upload certain set of files

    Hello All,
         We are running OBIEE 11.1.1.7.1 on local machine. We have a requirement which should limit Weblogic (Admin user) to upload .exe, .bat, .dll file etc or any such unwanted file in catalog or should only be able to upload required files. I am struggling to achieve this.
    Could any one help us in this?
    We do not want to remove upload permission from Weblogic user.
    Thanks in advance.
    Regards,
    Andy

    its not possible to restrict only certain type of files. the only option you have is to take out upload privileges for weblogic user and then follow the manual process of copying the catalog items like opening the catalog manager(offline and online) and copy the required items as required,So in that you way you can restrict the copy of other extensions apart from .catalog
    by the way may i know who is that person who want to upload the other extension files into catalog folder with Admin user? Because only couple of them will have access to weblogic user to be able to make or do any changes.

  • How to restrict contributor users to  edit only few set of pages

    Hi All,
    We wanted to restrict some of the contributor users to edit only few set of pages,
    is that possible to implement ?
    Can somebody please give some pointers
    Thanks
    Hari

    I was looking for a hint in the documentation and could not find any. This means that either it is something obvious (not to me, unfortunately), or this concept is not native to the Site Studio. This means that all contributors are equal - at least, the section http://docs.oracle.com/cd/E21764_01/doc.1111/e10614/c01_intro.htm#i422918 seems to be written in that way.
    What could you try?
    This section, http://docs.oracle.com/cd/E21764_01/doc.1111/e13650/ssxa_creatingsites.htm#CIHGGCFB , suggests that all contributors are assigned the role WCMContributor. There is probably no finer distinction than that a user has this role or not.
    Then, each of used objects (namely, region definitions, native/contributors files) have its metadata. You could try to give read-only access to those contributors who won't edit the region.
    Last thing, which looks the most promising, but also the most complicated, is that you will dynamically change the region template, based on a user logged in (a sort of self-defined contrib mode). An example can be found in this thread: Display Contributor Regions dynamically (note that the example is about languages, you will need to implement your own logic!)

  • To restrict a user from using a custom transaction

    Hi,
    I have a created a custom transaction  ZTEST. Now i want only a few users to use this and not all. How can i achieve this. I see an authorization object in the SE93. But can anybody explain me in detail regarding the same ?
    Regards,
    Pramod

    Hi
    We can use authorization to restrict the access to a perticular transaction. Permitted Activity configurations are performed into it.
    Before a User can be granted permission by the Authorization Object, the User’s Master Record is assigned a Role, which includes a Profile.
    The Profile contains what is simply called the Authorization and is where the specific data for the Authorization Object’s field is assigned to the configured Permitted Activity.
    You need to create a role or modify any existing role, using t code pfcg . On the authorizations tab in “Maintain Authorization Data and Generate Profiles”, press the “Change Authorization Data” button.
    On the next popup screen named  “Choose Template”, select the “Do not select templates” option.
    Press the button “Manually”, and enter the authorization abject attached in your transaction.Select the Tick button to continue.
    Expend all the nodes.
    Press edit icon  or line 'activity'. and choose the one which you want to allow to user.
    Generate the Authorization using the generation.
    Now all the users who has a role attached which you edited or created, will not be able to execute that t code.
    go to t code su01 to attach role to perticular user.
    Regards
    Vishal Kapoor

  • What is the permission to restrict end user to use Report builder

    Hi experts,
     What is the permission to restrict send user to user report builder in SSRS?
    Thanks

    Only member of the role "Report Builder" can use the Report Builder to create reports:
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • How to prevent certain users to see only certain resource objects

    Hello OIM Experts,
    How to prevent certain users to see only resource objects request-able based on their user profile
    Employees :
    Employee A: Finance staff
    Employee B: IT staff
    Resource Objects :
    Resource Object 1 : Oracle E business suite
    Resource Object 2 : Payment Gateway
    Resource Object 3 : Server X
    Resource Object 4 - 10 : Customer Service Applications.
    Expected :
    Employee A only see and able to request Resource Object 1 & Resource Object 2, while employee B only see and able to request Resource Object 3.
    And they are not able to see and request Resource Object 4 - 10.
    Can that be done, if so please suggest some ways, appreciate the help.
    Regards,

    Hey, you can do this through Organizations. Follow the following steps:
    1) Create an Organization say 'Finance Staff' and put all the users for this category in this organization.
    2) In the similar fashion create another Organization say 'IT staff' and put all the users for this category in this organization.
    3) Now open Organization details for above two and select the 'Permitted Resources' drop down frm additional details.
    4) Assign the resources as per your requirements for these two oragnizations.
         Finance Staff -> 'Permitted Resources' -> 'Oracle E business suite' and 'Payment Gateway'
         IT Staff -> 'Permitted Resources' -> 'Server X' and '10 : Customer Service Applications'
    5) Also remember to de-select the 'Allow All' check box in the respective resources above to discourage everyone from requesting and making a decision for allowing the user to create requests through organizations.
    You are done.
    regards
    Sunny
    Edited by: rajsunny on Oct 13, 2009 11:27 PM

  • Restrict SAP user ID login on certain PC

    Hi,
    Is there a way to restrict the SAP user ID to login only on certain PC?
    Example User ID A can only login at computer A. He cannot login SAP if he using computer B.
    Kindly please advise. Thank you.

    Hi Li,
    Find below two steps: a) To track the user in SAP with any number of logon's and other to restric user from a single login prespective:
    Single PC login:
    Implement Note 748424.
    All logons are then entered with the terminal ID, the user ID, the SAP GUI version, patch level and how many time logged in.
    e.g.
    Terminal ID User Operating System SAPGUI Version Patch Level Logins
    PC111555 USER1 WINDOWS 710 22 7
    Tracking user in SAP with multi logins:
    It is possible to track the audit log filters using SM19 transaction code. Once the filter is applied, the system will start tracking all the activities of the users (Based on the options you select in the filter.)
    You can further use SM20 transaction code to analyze the audit logs where you can find the user login/logout time, transaction executed by the user, amount of time he spent in each screen etc.,
    As the audit logs occupy more space, you should be careful while choosing the filter option. The old audit logs can be deleted using SM18 transaction code.
    There is also a background system house keeping job that deletes the old logs from the system.
    Do let me know if this helps you.
    Thanks
    Madhu

  • I need a solution to restrict the acccess by using only one role....

    ///obs_login_html.jsp//
    <%@ page import="org.ticker.*"%>
    <%@ page language="java"
    contentType="text/html; charset=UTF-8"
    session="true"
    import="com.hp.ov.ui.client.common.util.TimeZoneUtils,
    com.hp.ov.obs.rep.IRepositoryObject,
    com.hp.ifc.rep.AppTimeZoneInfo"
    %>
    <%
    readMsg msg=new readMsg();
    String strMessage=msg.sendMsg();
    %>
    <%!
    final static String portalTitle = "K-C Self Help Site";
    final static String portalTitle1 = " ***If you are ITS or use the full client, do not use this portal***";
    final static String resourceBundle = "login";
    final static String login = "Login";
    final static String prompt = "Please enter your user name and password";
    final static String userName = "User name:";
    final static String password = "Password:";
    final static String timeZone = "Timezone:";
    final static String userDefaultTZ = "User Default";
    private String getLocalizedString(HttpServletRequest request, String name, String text)
    com.hp.ov.portal.util.OVResourceBundle bundle = com.hp.ov.portal.util.OVResourceBundle.getBundle(request, name, true);
    return bundle.getString(text);
    %>
    <jsp:useBean id="error_msg" scope="session"
    class="com.hp.ov.portal.security.LoginErrorMsg" />
    <html>
    <head>
    <title><%=getLocalizedString(request,resourceBundle,portalTitle)%> - <%=getLocalizedString(request,resourceBundle,portalTitle)%> - <%=getLocalizedString(request,resourceBundle,login)%></title>
    <link rel='stylesheet' type='text/css' href='/OvSipDocs/Skins/Chrome/Chrome.css' />
    <script language="JavaScript" type="text/javascript">
    <!--
    function nsubmit() {
    document.pwform.J_PASSWORD.focus();
    return false;
    function pwsubmit() {
    document.pwform.J_USERNAME.value = document.nform.J_USERNAME.value;
    return true;
    //-->
    </script>
    </head>
    <body bgcolor="white" text="black" onload='document.nform.J_USERNAME.focus()'>
    <table cellpadding="0" cellspacing="0" border="0" width="100%">
    <tr bgcolor="darkblue">
    <td>
         <font color="white">
         <b> <%=getLocalizedString(request,resourceBundle,portalTitle)%></b>
         </font>
         </td>
    </tr>
    </table>
    <br>
    <table cellpadding="0" cellspacing="0" border="0" width="55%">
    <tr bgcolor="white">
    <td>
         <font color="red" size="4">
         <b> <%=getLocalizedString(request,resourceBundle,portalTitle1)%></b>
         </font>
         </td>
    </tr>
    </table>
    <br>
    <br>
    <br>
    <table border='0' cellspacing='0' cellpadding='0' class='paneltable' width='45%'>
    <tr>
    <td class='paneltopleftround'><img src='/OvSipDocs/C/images/framework/clear.gif' width='24' height='10'/></td>
    <td class='paneltopround'><img src='/OvSipDocs/C/images/framework/clear.gif' height='10'/></td>
    <td class='paneltoprightround'><img src='/OvSipDocs/C/images/framework/clear.gif' width='24' height='10'/></td>
    </tr>
    <tr>
    <td class='panelleft'> </td>
    <td class='panel'>
    <table>
    <tr >
    <td nowrap>
    <font color='black'>
    <%
    String message = error_msg.getErrorMsg();
    if (message != null) {
    out.println("<h2>" message "</h2>");
    %>
    <h2><%=getLocalizedString(request,resourceBundle,prompt)%></h2>
    </font>
    </td>
    </tr>
    <tr >
    <td>
    <form name="nform" action="<%=request.getContextPath()%>/" onsubmit="return nsubmit()" method="post">
    <table>
    <tr>
    <td><%=getLocalizedString(request,resourceBundle,userName)%></td>
    <td><input type="text" name="J_USERNAME" size="30"/></td></tr>
    <script language="JavaScript" type="text/javascript">
    <!--
    document.write('<\/form><form name="pwform" action="<%=request.getContextPath()%>/" onSubmit="return pwsubmit()" method="post">')
    //-->
    </script>
    <input type="hidden" name="J_USERNAME" value="" />
    <tr>
    <td><%=getLocalizedString(request,resourceBundle,password)%></td>
    <td><input type="password" name="J_PASSWORD" size="30"/></td>
    </tr>
    <%
    AppTimeZoneInfo tzis[] = TimeZoneUtils.getTimeZones();
    if (tzis != null) {
    %>
    <tr>
    <td><%=getLocalizedString(request,resourceBundle,timeZone)%></td>
    <td>
    <select name="Timezone">
    <option selected="true" value=""><%=userDefaultTZ%></option>
    <%
    for (int i = 0; i < tzis.length; i++) {
    AppTimeZoneInfo tzi = (AppTimeZoneInfo) tzis;
    if (tzi.getAdd()) {
    //if (tzi.enabled()) { //588 does no support enabled for timezones
    String timeZoneShortName = tzi.getShortName();
    String timeZoneInfo = TimeZoneUtils.buildTextTimeZone(tzi, false);
    %>
    <option value="<%=timeZoneShortName%>"><%=timeZoneInfo%></option>
    <%
    %>
    </select>
    </td>
    </tr>
    <%
    %>
    <tr>
    <td><input type="submit" value="<%=getLocalizedString(request,resourceBundle,login)%>"/></td>
    </tr>
    </table>
    </form>
    </td>
    </tr>
    </table>
    </td>
    <td class='panelright'> </td>
    </tr>
    <tr>
    <td class='panelbottomleft'><img src='/OvSipDocs/C/images/framework/clear.gif' width='24' height='17'/></td>
    <td class='panelbottom'> </td>
    <td class='panelbottomright'><img src='/OvSipDocs/C/images/framework/clear.gif' width='24' height='17'/></td>
    </tr>
    </table>
    <table>
    <tr bgcolor="darkblue">
         <font color=white face="Verdana">
    <script language="JavaScript1.2">
    //Response.Write("hello")
    </script>
    <script language="JavaScript1.2">
    //Specify the marquee's width (in pixels)
    screenSize = screen.availWidth;
    var marqueewidth = screenSize + "px"
    //Specify the marquee's height
    var marqueeheight="25px"
    //Specify the marquee's marquee speed (larger is faster 1-10)
    //var marqueespeed=2
    var marqueespeed=4
    //configure background color:
    var marqueebgcolor="rgb(0,128,192)"
    //Pause marquee onMousever (0=no. 1=yes)?
    var pauseit=1
    myMesg='<NOBR>****Welcome to K-C Self-Service HelpDesk Site****All K-C ITS users are requested to use HP Service Desk 4.5 Desktop Client Application to create / manage tickets****</NOBR>';
    var marqueecontent=myMesg
    marqueespeed=(document.all)? marqueespeed : Math.max(1, marqueespeed-1) //slow speed down by 1 for NS
    var copyspeed=marqueespeed
    var pausespeed=(pauseit==0)? copyspeed: 0
    var iedom=document.all||document.getElementById
    if (iedom)
    document.write('<span id="temp" style="visibility:hidden;position:absolute;top:-100px;left:-9000px">'+marqueecontent+'</span>')
    var actualwidth=''
    var cross_marquee, ns_marquee
    function populate(){
    if (iedom){
    cross_marquee=document.getElementById? document.getElementById("iemarquee") : document.all.iemarquee
    cross_marquee.style.left=parseInt(marqueewidth)+8+"px"
    cross_marquee.innerHTML=marqueecontent
    actualwidth=document.all? temp.offsetWidth : document.getElementById("temp").offsetWidth
    else if (document.layers){
    ns_marquee=document.ns_marquee.document.ns_marquee2
    ns_marquee.left=parseInt(marqueewidth)+8
    ns_marquee.document.write(marqueecontent)
    ns_marquee.document.close()
    actualwidth=ns_marquee.document.width
    lefttime=setInterval("scrollmarquee()",20)
    window.onload=populate
    function scrollmarquee(){
    if (iedom){
    if (parseInt(cross_marquee.style.left)>(actualwidth*(-1)+8))
    cross_marquee.style.left=parseInt(cross_marquee.style.left)-copyspeed+"px"
    else
    cross_marquee.style.left=parseInt(marqueewidth)+8+"px"
    else if (document.layers){
    if (ns_marquee.left>(actualwidth*(-1)+8))
    ns_marquee.left-=copyspeed
    else
    ns_marquee.left=parseInt(marqueewidth)+8
    if (iedom||document.layers){
    with (document){
    document.write('<table border="0" cellspacing="0" cellpadding="0"><td>')
    if (iedom){
    write('<div style="position:relative;width:'+marqueewidth+';height:'+marqueeheight+';overflow:hidden">')
    write('<div style="position:absolute;width:'+marqueewidth+';height:'+marqueeheight+';background-color:'+marqueebgcolor+'" onMouseover="copyspeed=pausespeed" onMouseout="copyspeed=marqueespeed">')
    write('<div id="iemarquee" style="position:absolute;left:0px;top:0px"></div>')
    write('</div></div>')
    else if (document.layers){
    write('<ilayer width='+marqueewidth+' height='+marqueeheight+' name="ns_marquee" bgColor='+marqueebgcolor+'>')
    write('<layer name="ns_marquee2" left=0 top=0 onMouseover="copyspeed=pausespeed" onMouseout="copyspeed=marqueespeed"></layer>')
    write('</ilayer>')
    document.write('</td></table>')
    </script>
    </font>
    </tr>
    </table>
    </body>
    </html>
    //obs_login_html_jsp.java//
    package org.apache.jsp;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import javax.servlet.jsp.*;
    import org.apache.jasper.runtime.*;
    import org.ticker.*;
    import com.hp.ov.ui.client.common.util.TimeZoneUtils;
    import com.hp.ov.obs.rep.IRepositoryObject;
    import com.hp.ifc.rep.AppTimeZoneInfo;
    public class obs_login_html_jsp extends HttpJspBase {
    final static String portalTitle = "K-C Self-Service HelpDesk";
    final static String portalTitle1 = " ***If it is an URGENT call, please call the Service Desk ***";
    final static String portalTitle2 = " ***If you are ITS or use the full client, do not use this portal ***";
    final static String resourceBundle = "login";
    final static String login = "Login";
    final static String prompt = "Please enter your user name and password";
    final static String userName = "User name:";
    final static String password = "Password:";
    final static String timeZone = "Timezone:";
    final static String userDefaultTZ = "User Default";
    private String getLocalizedString(HttpServletRequest request, String name, String text)
    com.hp.ov.portal.util.OVResourceBundle bundle = com.hp.ov.portal.util.OVResourceBundle.getBundle(request, name, true);
    return bundle.getString(text);
    private static java.util.Vector jspxincludes;
    public java.util.List getIncludes() {
    return jspxincludes;
    public void _jspService(HttpServletRequest request, HttpServletResponse response)
    throws java.io.IOException, ServletException {
    JspFactory _jspxFactory = null;
    javax.servlet.jsp.PageContext pageContext = null;
    HttpSession session = null;
    ServletContext application = null;
    ServletConfig config = null;
    JspWriter out = null;
    Object page = this;
    JspWriter jspxout = null;
    try {
    _jspxFactory = JspFactory.getDefaultFactory();
    response.setContentType("text/html; charset=UTF-8");
    pageContext = _jspxFactory.getPageContext(this, request, response,
                   null, true, 8192, true);
    application = pageContext.getServletContext();
    config = pageContext.getServletConfig();
    session = pageContext.getSession();
    out = pageContext.getOut();
    jspxout = out;
    out.write("\r\n");
    out.write("\r\n\r\n");
    readMsg msg=new readMsg();
    String strMessage=msg.sendMsg();
    out.write("\r\n\r\n");
    out.write("\r\n\r\n");
    com.hp.ov.portal.security.LoginErrorMsg error_msg = null;
    synchronized (session) {
    error_msg = (com.hp.ov.portal.security.LoginErrorMsg) pageContext.getAttribute("error_msg", PageContext.SESSION_SCOPE);
    if (error_msg == null){
    try {
    error_msg = (com.hp.ov.portal.security.LoginErrorMsg) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "com.hp.ov.portal.security.LoginErrorMsg");
    } catch (ClassNotFoundException exc) {
    throw new InstantiationException(exc.getMessage());
    } catch (Exception exc) {
    throw new ServletException("Cannot create bean of class " + "com.hp.ov.portal.security.LoginErrorMsg", exc);
    pageContext.setAttribute("error_msg", error_msg, PageContext.SESSION_SCOPE);
    out.write("\r\n\r\n");
    out.write("<html>\r\n");
    out.write("<head>\r\n ");
    out.write("<title>");
    out.print(getLocalizedString(request,resourceBundle,portalTitle));
    out.write(" - ");
    out.print(getLocalizedString(request,resourceBundle,portalTitle));
    out.write(" -");
    out.print(getLocalizedString(request,resourceBundle,portalTitle));
    out.write("- ");
    out.print(getLocalizedString(request,resourceBundle,login));
    out.write("</title>\r\n ");
    out.write("<link rel='stylesheet' type='text/css' href='/OvSipDocs/Skins/Chrome/Chrome.css' />\r\n ");
    out.write("<script language=\"JavaScript\" type=\"text/javascript\">\r\n");
    out.write("<!--\r\n function nsubmit() {\r\n document.pwform.J_PASSWORD.focus();\r\n return false;\r\n }\r\n\r\n function pwsubmit() {\r\n document.pwform.J_USERNAME.value = document.nform.J_USERNAME.value;\r\n \r\n\t\t return true;\r\n }\r\n//-->\r\n\r\n\r\n ");
    out.write("</script>\r\n\r\n");
    out.write("</head>\r\n\r\n");
    out.write("<body bgcolor=\"white\" text=\"black\" onload='document.nform.J_USERNAME.focus()'>\r\n\r\n ");
    out.write("<table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"100%\">\r\n ");
    out.write("<tr bgcolor=\"darkblue\">\r\n ");
    out.write("<td>\r\n\t ");
    out.write("<font color=\"white\">\r\n\t ");
    out.write("<b> ");
    out.print(getLocalizedString(request,resourceBundle,portalTitle));
    out.write("</b>\r\n\t ");
    out.write("</font>\r\n\t ");
    out.write("</td>\r\n ");
    out.write("</tr>\r\n ");
    out.write("</table>\r\n ");
    out.write("<br> \r\n");
    out.write("<table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"55%\">\r\n");
    out.write("<tr bgcolor=\"white\">\r\n");
    out.write("<td>\r\n\t ");
    out.write("<font color=\"red\" size=\"4\">\r\n\t ");
    out.write("<b> ");
    out.print(getLocalizedString(request,resourceBundle,portalTitle1));
    out.write("</b>\r\n\t ");
    out.write("</font>\r\n\t ");
    out.write("</td>\r\n");
    out.write("</tr>\r\n");
    out.write("</table>\r\n");
    out.write("<br> \r\n");
    out.write("<table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"55%\">\r\n");
    out.write("<tr bgcolor=\"white\">\r\n");
    out.write("<td>\r\n\t ");
    out.write("<font color=\"red\" size=\"4\">\r\n\t ");
    out.write("<b> ");
    out.print(getLocalizedString(request,resourceBundle,portalTitle2));
    out.write("</b>\r\n\t ");
    out.write("</font>\r\n\t ");
    out.write("</td>\r\n");
    out.write("</tr>\r\n");
    out.write("</table>\r\n");
    out.write("<br>\r\n ");
    out.write("<br>\r\n");
    out.write("<br>\r\n ");
    out.write("<table border='0' cellspacing='0' cellpadding='0' class='paneltable' width='45%'>\r\n ");
    out.write("<tr>\r\n ");
    out.write("<td class='paneltopleftround'>");
    out.write("<img src='/OvSipDocs/C/images/framework/clear.gif' width='24' height='10'/>");
    out.write("</td>\r\n ");
    out.write("<td class='paneltopround'>");
    out.write("<img src='/OvSipDocs/C/images/framework/clear.gif' height='10'/>");
    out.write("</td>\r\n ");
    out.write("<td class='paneltoprightround'>");
    out.write("<img src='/OvSipDocs/C/images/framework/clear.gif' width='24' height='10'/>");
    out.write("</td>\r\n ");
    out.write("</tr>\r\n\r\n ");
    out.write("<tr>\r\n ");
    out.write("<td class='panelleft'> ");
    out.write("</td>\r\n ");
    out.write("<td class='panel'>\r\n ");
    out.write("<table>\r\n ");
    out.write("<tr >\r\n ");
    out.write("<td nowrap>\r\n ");
    out.write("<font color='black'>\r\n\r\n ");
    String message = error_msg.getErrorMsg();
    if (message != null) {
    out.println("<h2>" message "</h2>");
    out.write("\r\n\r\n ");
    out.write("<h2>");
    out.print(getLocalizedString(request,resourceBundle,prompt));
    out.write("</h2>\r\n ");
    out.write("</font>\r\n ");
    out.write("</td>\r\n ");
    out.write("</tr>\r\n ");
    out.write("<tr >\r\n ");
    out.write("<td>\r\n\r\n ");
    out.write("<form name=\"nform\" action=\"");
    out.print(request.getContextPath());
    out.write("/\" onsubmit=\"return nsubmit()\" method=\"post\">\r\n ");
    out.write("<table>\r\n ");
    out.write("<tr>\r\n ");
    out.write("<td>");
    out.print(getLocalizedString(request,resourceBundle,userName));
    out.write("</td>\r\n ");
    out.write("<td>");
    out.write("<input type=\"text\" name=\"J_USERNAME\" size=\"30\"/>");
    out.write("</td>");
    out.write("</tr>\r\n ");
    out.write("<script language=\"JavaScript\" type=\"text/javascript\">\r\n");
    out.write("<!--\r\n document.write('");
    out.write("<\\/form>");
    out.write("<form name=\"pwform\" action=\"");
    out.print(request.getContextPath());
    out.write("/\" onSubmit=\"return pwsubmit()\" method=\"post\">')\r\n//-->\r\n ");
    out.write("</script>\r\n ");
    out.write("<input type=\"hidden\" name=\"J_USERNAME\" value=\"\" />\r\n ");
    out.write("<tr>\r\n ");
    out.write("<td>");
    out.print(getLocalizedString(request,resourceBundle,password));
    out.write("</td>\r\n ");
    out.write("<td>");
    out.write("<input type=\"password\" name=\"J_PASSWORD\" size=\"30\"/>");
    out.write("</td>\r\n ");
    out.write("</tr>\r\n ");
    AppTimeZoneInfo tzis[] = TimeZoneUtils.getTimeZones();
    if (tzis != null) {
    out.write("\r\n ");
    out.write("<tr>\r\n ");
    out.write("<td>");
    out.print(getLocalizedString(request,resourceBundle,timeZone));
    out.write("</td>\r\n ");
    out.write("<td>\r\n ");
    out.write("<select name=\"Timezone\">\r\n ");
    out.write("<option selected=\"true\" value=\"\">");
    out.print(userDefaultTZ);
    out.write("</option>\r\n ");
    for (int i = 0; i < tzis.length; i++) {
    AppTimeZoneInfo tzi = (AppTimeZoneInfo) tzis[i];
    if (tzi.getAdd()) {
    //if (tzi.enabled()) { //588 does no support enabled for timezones
    String timeZoneShortName = tzi.getShortName();
    String timeZoneInfo = TimeZoneUtils.buildTextTimeZone(tzi, false);
    out.write("\r\n ");
    out.write("<option value=\"");
    out.print(timeZoneShortName);
    out.write("\">");
    out.print(timeZoneInfo);
    out.write("</option>\r\n ");
    out.write("\r\n ");
    out.write("</select>\r\n ");
    out.write("</td>\r\n ");
    out.write("</tr>\r\n ");
    out.write("\r\n ");
    out.write("<tr>\r\n ");
    out.write("<td>");
    out.write("<input type=\"submit\" value=\"");
    out.print(getLocalizedString(request,resourceBundle,login));
    out.write("\"/>");
    out.write("</td>\r\n ");
    out.write("</tr>\r\n ");
    out.write("</table>\r\n ");
    out.write("</form>\r\n ");
    out.write("</td>\r\n ");
    out.write("</tr>\r\n ");
    out.write("</table>\r\n\r\n ");
    out.write("</td>\r\n ");
    out.write("<td class='panelright'> ");
    out.write("</td>\r\n ");
    out.write("</tr>\r\n\r\n ");
    out.write("<tr>\r\n ");
    out.write("<td class='panelbottomleft'>");
    out.write("<img src='/OvSipDocs/C/images/framework/clear.gif' width='24' height='17'/>");
    out.write("</td>\r\n ");
    out.write("<td class='panelbottom'> ");
    out.write("</td>\r\n ");
    out.write("<td class='panelbottomright'>");
    out.write("<img src='/OvSipDocs/C/images/framework/clear.gif' width='24' height='17'/>");
    out.write("</td>\r\n ");
    out.write("</tr>\r\n\r\n\r\n");
    out.write("</table>\r\n\r\n ");
    out.write("<br/>\r\n ");
    out.write("<br/>\r\n ");
    out.write("<br/>\r\n \r\n\r\n");
    out.write("<br/>\r\n");
    out.write("<br/>\r\n");
    out.write("<br/>\r\n");
    out.write("<table>\r\n\r\n");
    out.write("<tr bgcolor=\"darkblue\">\r\n\r\n\t ");
    out.write("<font color=white face=\"Verdana\">\r\n\r\n");
    out.write("<script language=\"JavaScript1.2\">\r\n//Response.Write(\"hello\")\r\n\r\n");
    out.write("</script>\r\n");
    out.write("<script language=\"JavaScript1.2\">\r\n\r\n\r\n//Specify the marquee's width (in pixels)\r\nscreenSize = screen.availWidth;\r\n\r\nvar marqueewidth = screenSize + \"px\"\r\n//Specify the marquee's height\r\nvar marqueeheight=\"25px\"\r\n//Specify the marquee's marquee speed (larger is faster 1-10)\r\n//var marqueespeed=2\r\nvar marqueespeed=4\r\n//configure background color:\r\nvar marqueebgcolor=\"rgb(0,128,192)\"\r\n//Pause marquee onMousever (0=no. 1=yes)?\r\nvar pauseit=1\r\n\r\n\r\n\r\nmyMesg='");
    out.write("<NOBR>****Welcome to K-C Self-Service HelpDesk Site****All K-C ITS users are requested to use HP Service Desk 4.5 Desktop Client Application to create / manage tickets****");
    out.write("</NOBR>';\r\nvar marqueecontent=myMesg\r\n\r\n\r\n\r\nmarqueespeed=(document.all)? marqueespeed : Math.max(1, marqueespeed-1) //slow speed down by 1 for NS\r\n\r\nvar copyspeed=marqueespeed\r\nvar pausespeed=(pauseit==0)? copyspeed: 0\r\nvar iedom=document.all||document.getElementById\r\n\r\nif (iedom)\r\ndocument.write('");
    out.write("<span id=\"temp\" style=\"visibility:hidden;position:absolute;top:-100px;left:-9000px\">'+marqueecontent+'");
    out.write("</span>')\r\n\r\nvar actualwidth=''\r\nvar cross_marquee, ns_marquee\r\n\r\nfunction populate(){\r\n\t\r\nif (iedom){\r\n\t\r\ncross_marquee=document.getElementById? document.getElementById(\"iemarquee\") : document.all.iemarquee\r\ncross_marquee.style.left=parseInt(marqueewidth)+8+\"px\"\r\ncross_marquee.innerHTML=marqueecontent\r\nactualwidth=document.all? temp.offsetWidth : document.getElementById(\"temp\").offsetWidth\r\n}\r\nelse if (document.layers){\r\n\t\r\nns_marquee=document.ns_marquee.document.ns_marquee2\r\nns_marquee.left=parseInt(marqueewidth)+8\r\nns_marquee.document.write(marqueecontent)\r\nns_marquee.document.close()\r\nactualwidth=ns_marquee.document.width\r\n}\r\n\r\nlefttime=setInterval(\"scrollmarquee()\",20)\r\n\r\n}\r\n\r\nwindow.onload=populate\r\n\r\n\r\nfunction scrollmarquee(){\r\n\t\r\nif (iedom){\r\n\t\r\nif (parseInt(cross_marquee.style.left)>(actualwidth*(-1)+8))\r\ncross_marquee.style.left=parseInt(cross_marquee.style.left)-copyspeed+\"px\"\r\nelse\r\ncross_marquee.style.left=parseInt(marqueewidth)+8+\"px\"\r\n\r\n}\r\nelse if (document.layers){\r\nif (ns_marquee.left>(actualwidth*(-1)+8))\r\n");
    out.write("ns_marquee.left-=copyspeed\r\nelse\r\nns_marquee.left=parseInt(marqueewidth)+8\r\n}\r\n}\r\n\r\nif (iedom||document.layers){\r\n\t\r\nwith (document){\r\n\t\r\ndocument.write('");
    out.write("<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">");
    out.write("<td>')\r\nif (iedom){\r\nwrite('");
    out.write("<div style=\"position:relative;width:'+marqueewidth+';height:'+marqueeheight+';overflow:hidden\">')\r\nwrite('");
    out.write("<div style=\"position:absolute;width:'+marqueewidth+';height:'+marqueeheight+';background-color:'+marqueebgcolor+'\" onMouseover=\"copyspeed=pausespeed\" onMouseout=\"copyspeed=marqueespeed\">')\r\nwrite('");
    out.write("<div id=\"iemarquee\" style=\"position:absolute;left:0px;top:0px\">");
    out.write("</div>')\r\nwrite('");
    out.write("</div>");
    out.write("</div>')\r\n}\r\nelse if (document.layers){\r\nwrite('");
    out.write("<ilayer width='+marqueewidth+' height='+marqueeheight+' name=\"ns_marquee\" bgColor='+marqueebgcolor+'>')\r\nwrite('");
    out.write("<layer name=\"ns_marquee2\" left=0 top=0 onMouseover=\"copyspeed=pausespeed\" onMouseout=\"copyspeed=marqueespeed\">");
    out.write("</layer>')\r\nwrite('");
    out.write("</ilayer>')\r\n}\r\ndocument.write('");
    out.write("</td>");
    out.write("</table>')\r\n}\r\n}\r\n\r\n");
    out.write("</script>\r\n\r\n");
    out.write("</font>\r\n\r\n");
    out.write("</tr>\r\n ");
    out.write("</table>\r\n\r\n");
    out.write("</body>\r\n");
    out.write("</html>\r\n");
    } catch (Throwable t) {
    out = jspxout;
    if (out != null && out.getBufferSize() != 0)
    out.clearBuffer();
    if (pageContext != null) pageContext.handlePageException(t);
    } finally {
    if (_jspxFactory != null) _jspxFactory.releasePageContext(pageContext);
    //portalpage_html_jsp.java//
    package org.apache.jsp;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import javax.servlet.jsp.*;
    import org.apache.jasper.runtime.*;
    import java.util.List;
    import java.util.Iterator;
    import java.util.Date;
    import java.text.DateFormat;
    import com.hp.ov.portal.core.Profile;
    import com.hp.ov.portal.util.NameAndTitle;
    import com.hp.ov.portal.util.Pair;
    import com.hp.ov.portal.util.PortalIDs;
    import java.util.List;
    import java.util.Iterator;
    import com.hp.ov.portal.util.OVResourceBundle;
    import com.hp.ov.portal.core.Profile;
    import com.hp.ov.portal.core.AdminBean;
    import com.hp.ov.portal.util.NameAndTitle;
    import com.hp.ov.portal.util.PortalIDs;
    public class portalpage_html_jsp extends HttpJspBase {
    The following imports must be made in any jsp which includes this page
    via: <%@ include file="common.jsp" %>
    import="java.util.List,
    java.util.Iterator,
              com.hp.ov.portal.core.Profile,
    com.hp.ov.portal.util.NameAndTitle,
    com.hp.ov.portal.util.OVResourceBundle,
              com.hp.ov.portal.util.PortalIDs"
    final static String portalTitle = "HP OpenView Web Console";
    // The following are for the toolbar buttons
    final static String toolbarOptsLabel = "Options";
    final static String toolbarOptsImg = "/OvSipDocs/C/images/framework/opt_icon.gif";
    final static String toolbarAdminLabel = "Admin";
    final static String toolbarAdminImg = "/OvSipDocs/C/images/framework/opt_icon.gif";
    final static String toolbarHomeLabel = "Home";
    final static String toolbarHomeImg = "/OvSipDocs/C/images/framework/opt_icon.gif";
    final static String toolbarLogoutLabel = "Logout";
    final static String toolbarLogoutImg = "/OvSipDocs/C/images/framework/logout_icon.gif";
    final static String toolbarHelpLabel = "Help";
    final static String toolbarHelpImg = "/OvSipDocs/C/images/framework/hlp_icon.gif";
    final static String toolbarOKLabel = "OK";
    final static String toolbarOKImg = null;
    final static String toolbarCancelLabel = "Cancel";
    final static String toolbarCancelImg = null;
    final static String toolbarCloseLabel = "Close";
    final static String toolbarCloseImg = null;
    final static String toolbarApplyLabel = "Apply";
    final static String toolbarApplyImg = null;
    final static String toolbarResetLabel = "Reset";
    final static String toolbarResetImg = null;
    // These are the strings and URLs for the module titlebar area
    final static String moduleEditImg = "/OvSipDocs/C/images/framework/edit.gif";
    final static String moduleEditTxt = "Edit";
    final static String moduleHelpImg = "/OvSipDocs/C/images/framework/help.gif";
    final static String moduleHelpTxt = "Help";
    final static String moduleDetachImg = "/OvSipDocs/C/images/framework/detach.gif";
    final static String moduleDetachTxt = "Detach";
    final static String moduleDeleteImg = "/OvSipDocs/C/images/framework/x.gif";
    final static String moduleDeleteTxt = "Remove";
    final static String moduleDeleteMsg = "Are you sure you want to remove this module? This can not be undone.";
    final static String moduleRollUpTxt = "Roll Up";
    final static String moduleRollDnTxt = "Roll Down";
    final static String moduleRollUpImg = "/OvSipDocs/C/images/framework/rolledup.gif";
    final static String moduleRollDnImg = "/OvSipDocs/C/images/framework/rolleddn.gif";
    private String getLocalizedString(Profile profile, String name, String text)
    HttpServletRequest r

    Hi
    This is a repeated post, posted twice before.
    Thread 1, Thread 2
    I have the followings suggestions for you:
    1. Please post your requirement in the body of the message and not in the 'subject line'.
    2. Please do not open multiple threads for the same query.
    3. Since you have already posted this on the Job Openings forum, please do not repeat this here. You will definetly get a response to your job post in the other forum.

Maybe you are looking for

  • Java windows slip under menu bar, how to move?

    Hi, I have accidently dragged some Java windows beneath the (transparent) menu bar. Safari browser windows do not slip under the menu bar, but those created by a Java application can slide beneath it, up to the edge of the screen...just far enough to

  • How to add photos to iPad and iPhone from my Mac?

    I have an iPad 2 and an iPhone 4. I have downloaded and installed the new OS for them, and I run iTunes 11.0.1 on my Mac. I can no longer find a way to sync photos from my Mac to either device. Why no photos tab on 11.0.1?

  • MacBook Pro Will Not Restart & Other Issues

    Ever since "upgrading" (I use that term loosely) to Lion, I have seen a slew of issues on my MacBook Pro. Now I recognize that my hardware may be outdated (I have a late 2007 MacBook Pro), but that should not mean that I should be encountering all of

  • Adobe Anchor Service CS4 Error 1612. The installation source for this product is not available.

    Hi, I've been trying to install CS4 Design Premium, except that I got this message: Adobe Anchor Service CS4 Error: Error 1612. The installation source for this product is not available. Verify that the source exists and that you can access it. What

  • Problem printing old photoshop files in CS6

    Hi, Can someone advise, we have Adobe CS6, and when printing already created file in Photoshop we get a error: Problem signature: Problem Event Name:                        APPCRASH Application Name:                             Photoshop.exe Applicat