Need Class file of Reset Password in Logon par??

Hi,
I'm working on Forgot Password functionality in Logon par... I want to send customized mail to user once he click on Submit button of the Forgot Password application.
Can anybody help me to find that..Which class file is being called in Logon par once user enter e-mail id in the text box and click on Submit button..
I need to change the logic in this class to meet my requirements.
Thanks a lot!!!
-Vikas

hi,
first step is to select right par file.
name of par file is :com.sap.portal.support.logon.par
upload this PAR file to NWDS.
code for Login page is present in the JSP-umLogonPage.jsp
path for JSP file is
dist\PORTAL-INF\umLogonPage.jsp
regards,
jayesh talreja

Similar Messages

  • Alternatives to needing class file during deserialization?

    Hi,
    I'm trying to find a way of deserializing an object without requiring its class file (eg, class A) to be present. In that case the JVM instance that's deserializing an instance of class A wouldn't need to worry about needing to access the class A from its classpath (file "A.class") or from any other source (such as a custom classloader loading class A's bytecodes over the network) in order to deserialize an instance of class A, except when the source is the serialization stream itself -- all data needed for serialization would be contained only within the serialization stream.
    I believe this should be doable by first serializing an instance of class java.lang.Class that represents class A (since java.lang.Class instances are serializable), and then serializing the instance of class A, as explained below. This technique isn't working, and I'm wondering if anyone knows why, and if there are other known techniques for accomplishing the same objective.
    I start out with these classes as a test that serialization is working:
    The class whose instance I'm serializing/deserializing:
    class A implements java.io.Serializable {
         public int x = 5;
    }Serialization code:
    import java.io.*;
    class Serialize {
         public static void main(String[] args) throws Exception {
              FileOutputStream fos = new FileOutputStream("a.ser");
              ObjectOutput out = new ObjectOutputStream(fos);
              A aRef = new A();
              out.writeObject(aRef);
              out.flush();
              out.close();
    }Deserialization code:
    import java.io.*;
    class Deserialize {
         public static void main(String[] args) throws Exception {
              FileInputStream fis = new FileInputStream("a.ser");
              ObjectInput in = new ObjectInputStream(fis);
              A aRef = (A)in.readObject();
              in.close();
              System.out.println(aRef.x); //expect 5
    }Here's what I do:
    (1) javac A.java Serialize.java Deserialize.java
    (2) java Serialize
    (3) java Deserialize
    This works fine, and prints "5" as expected.
    Now that I know that this base case works, I next try to serialize an instance of class java.lang.Class into the stream. This instance will represent class A, and can be obtained by specifying the literal "A.class" in the source code as shown below. Then I serialize an instance of class A as before. I'll then repeat step (1) and (2), erase the "A.class" file, and then do step 3. Here's the new code:
    The class whose instance I'm serializing/deserializing (same as before):
    class A implements java.io.Serializable {
         public int x = 5;
    }Serialization code:
    import java.io.*;
    class Serialize {
         public static void main(String[] args) throws Exception {
              FileOutputStream fos = new FileOutputStream("a.ser");
              ObjectOutput out = new ObjectOutputStream(fos);
              Class clazz = A.class;
              out.writeObject(clazz);
              A aRef = new A();
              out.writeObject(aRef);
              out.flush();
              out.close();
    }Deserialization code:
    import java.io.*;
    class Deserialize {
         public static void main(String[] args) throws Exception {
              FileInputStream fis = new FileInputStream("a.ser");
              ObjectInput in = new ObjectInputStream(fis);
              Class clazz = (Class)in.readObject(); //shouldn't this cause class A to be loaded?
              A aRef = (A)in.readObject();
              in.close();
              System.out.println(aRef.x); //expect "5"
              System.out.println(clazz); //expect "class A"
    }And now the revised steps:
    (1) javac A.java Serialize.java Deserialize.java
    (2) java Serialize
    *(3) Delete the "A.class" file because it shouldn't be needed since we're now serializing an instance of class Class that should fully represent class A.*
    (4) java Deserialize
    Bam... exception thrown at step 4:
    Exception in thread "main" java.lang.ClassNotFoundException: A
            at java.net.URLClassLoader$1.run(Unknown Source)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClassInternal(Unknown Source)
            at java.lang.Class.forName0(Native Method)
            at java.lang.Class.forName(Unknown Source)
            at java.io.ObjectInputStream.resolveClass(Unknown Source)
            at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)
            at java.io.ObjectInputStream.readClassDesc(Unknown Source)
            at java.io.ObjectInputStream.readClass(Unknown Source)
            at java.io.ObjectInputStream.readObject0(Unknown Source)
            at java.io.ObjectInputStream.readObject(Unknown Source)
            at Deserialize.main(Deserialize.java:6)Why is a ClassNotFoundException thrown? Class A is already loaded automatically after the instance of class Class is deserialized, isn't it? It's possible that an instance of class Class doesn't store method bytecodes -- I'm not sure about that. But even so, I purposefully did not include any methods in class A -- I just made the data member public (bad form, but this is just a test).
    Any ideas why this isn't working, or a way(s) to accomplish the goal?
    Thanks,
    Will

    serializing java.lang.Class instance does not really write the content of the class file in to the stream. It only write a class descriptor. At the read end it will try to locate the class file locally and validate the class file with the information in the descriptor.
    You need to have mechanism to send the data of the class file itself in to the stream before sending the instance.
    take a look at the annotateClass and resolveClass methods in ObjectOutputStream and ObjectInputStream

  • Need to download com.sap.portal.runtime.logon.par

    hello friends
    we need to chang the look and feel of the portal display pages and for that purpose we need com.sap.portal.runtime.logon.par file
    can you all help us as to where we can find this par file so that we can download this file.
    we have still not installed the portal platform,we'll be doing that in the following week.
    Thnaking you,
    Anurag.

    Hi Anurag,
    This post will explain the steps involved for each element.
    No.      Portal Login page related questions
    1.      What is the associated par file for portal login Page ?
    2.      How to import the PAR file into Netweaver Developer Studio?
    3.      What are the different pages and their associated files in logon.par?
    4.      How to change text seen in the logon page ?  
    5.      What is authschemes.xml file? Do we need to change this file also ?
    6.      How to remove standard links like support, Register ...?
    7.      How to change or add new images ?
    8.      How to change only the branding image displayed in the logon screen of the Portal ?
    1. What is the associated par file for portal login Page?
    Answer : The par file related to login page of Netweaver Portal is com.sap.portal.runtime.logon.par. This is the standard
    logon component containing the code and resources used by the logon screens is shipped in a portal archive (PAR) file named com.sap.portal.runtime.logon.par.
    2. How to import the PAR file into Netweaver Developer Studio?
    Answer :   - Select File>Import .
    - Choose the option PAR file. Select Next and a popup window appears.
    - Select File>Import .
    - Choose the option PAR file. Select Next and a popup window appears.
    - In the window you have 3 text fields:
    The location of the par file,
    Project name (same as new par file name, preferably) and
    location for project to be saved
    3. What are the different pages and their associated files in logon.par?
    Answer :
    Logon page : umLogonPage.jsp
    Problem page : umLogonProblemPage.jsp
    Help (PW reset) page  : umHelpPage.jsp
    Reset Password : umResetPasswordPage.jsp
    Change Password Page: changePasswordPage.jsp
    Certificate Logon : umLogonCertPage.jsp
    4. How to change text seen in the logon page ?  
    The text seen on the logon page is not in the JSP page, but in properties files which are called by tags like the
    Welcome text : <%=logonLocale.get("xtit_WELCOME")%>
    In order to change "Welcome" to "Welcome to MyTravel" you have to :
               - Unzip the file umelogonbase.jar which you can find under dist\PORTAL-INF\lib
               - Find the file "logonLabels_" which contains your language;
                                           e.g. logonLabels_de.properties for german language,  *_en for English etc.,
    The default is in the file logonLabels.properties .
    - Find the key which is used in the tag and change the text after the equal sign.
    - Save the changed file and create a updated JAR file using a zip program. The file needs to be named exactly umelogonbase.jar
    - Put the JAR file back to location - dist\PORTAL-INF\lib
    You are done on this now.
    5. What is authschemes.xml file ? Do we need to change this file also ?
    Changing the Authschemes.xml file is required only if you want to change com.sap.portal.runtime.logon.par.bak file and point it to different par file. This is more for anonymous logon with named anonymous users and using anonymous as the authentication scheme. The anonymous users are not issued a SAP logon ticket.
    6. How to remove standard links like support, Register ...?
    The standard links are controlled with the UM settings
           - ume.logon.logon_help
    - ume.logon.selfreg
    You could also just comment out the lines if you want to hide.
    7. How to change or add new images ?
    To exchange the two images, which are by default on the logon page, do the following steps:
                          a. Copy the image(s) you want to use in your project in the the folder dist/layout
                          b. Find the < img src=""   > you want to work on in the umBotArea.txt
    Change the src attribute in the img tag to src="<%=webpath + "layout/myPic.gif" %>". The webpath is already defined in the file logon_proxy.txt and ready to use. In the Netweaver portal 6.0 SP9 and higher you have 2 images on the right side.
    8. How to change only the branding image displayed in the logon screen of the Portal ?
    If you want to change only the branding image displayed in the logon screen, you can configure this using the user management property ume.logon.branding_image
    Hope this helps the community in the launch of this ver 1.0, future versions could contain more changes and updations covering all other aspects of Netweaver Portal

  • How do i download  com.sap.portal.runtime.logon.par.bak

    I need to download com.sap.portal.runtime.logon.par.bak
    From what i understand, If you have the System administration privilege then you can download the par file from "System Administration"==>"Support"==>"Support Desk"==>"Portal Runtime"==>"Browse deployment"==>"ROOT"==>"WEB-INF"==>"deployment"==>"pcd"
    I was able to navigate this way. However, i cannot find this logon.par under this directory structure.
    In help.sap.com, i was told to Navigate to <J2EE_Engine_Instance>\j2ee\cluster\server<X>\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\deployment\pcd .There you can find com.sap.portal.runtime.logon.par.bak.
    How is this different from the earlier navigation? I don't know how to do this?  How exactly do i navigate this way?

    Sandeep
      I am sure that in the follwoing path, u can find the
    com.sap.portal.runtime.logon.par.bak
    <b><J2EE_Engine_Instance>\j2ee\cluster\server<X>\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\deployment\pcd</b>
    MAke a copy of the PAR and u can Pull it into the NetStudio !!!!
    Thanks
    Kay

  • Logon Par - redirect to new JSP

    Hi,
    I've to change the portal logon page.
    My requirement is to redirect the logon page to test.jsp page.
    from umLogonPage.jsp i'm trying to redirect to test.jsp in form method.
    <FORM name="logonForm" method="post" action=test.jsp>
    but the URL is not proper.
    How can i pass the absolute URL for this.
    Thanks and Regards
    Puneet

    Puneeth,
    Its possible to  redirect to a JSP page from portal logon Screen.
    There are several ways of doing this:-
    1. Create a separate portal component (JSP Dynpage) and set the authscheme property is anonymous (because you are calling a portal component from outside) ie.
    <property name="AuthScheme" value="anonymous" />
    You can follow this method If JSP componentu2019s functionality is Independent than any login functionality.
    2. You can modify the SAPMLogonLogic.java file which contains flow logic of all jsp files. The SAPMLogonLogic file is present umelogonbase.jar.
    The umelogonbase.jar is under lib folder of the logon par file. Just extract the logon par file and navigate to PORTAL-INF -> lib to get the umelogonbase.jar
    Ram

  • My MBP didn't recognise my password, started it in safe mode, I can see my files, but I don't know what to do next, as the image of reset password isn't selectable. I just moved from PC. Need help please...

    My MBP didn't recognise my password, started it in safe mode, I can see my files, but I don't know what to do next, as the image of reset password isn't selectable. I just moved from PC. Need help please...

    Safe mode is not what you want in this case. Reboot to recovery mode - hold down cmd-R as the Mac reboots. Go past the language-selection screen, click the Utilities menu, then Terminal. Type:
    resetpassword
    Followed by the return key, and follow the prompts. Reboot normally when done.
    Matt

  • I have an imac 2009 the disk drive is damaged and I have lost the passwords I need to reset passwords I tried booting with a macosx disk from an external hard drive but did not read the drive how else can I reset password ?

    I have an imac 2009 the disk drive is damaged and I have lost the passwords I need to reset passwords I tried booting with a macosx disk from an external hard drive but did not read the drive how else can I reset password ?
    I have a 2012 mac book pro can I use that to connect with firewire and load osx that way? and how woudl I do that?
    Thanks so much!

    To what password are you referring? Do you mean your user account's admin password? Or do you mean the master password for File Vault or do you mean a Firmware Password?
    For an admin password:
    Forgot Your Account Password
    For Snow Leopard and earlier
         Mac OS X 10.6- If you forget your administrator password
    For Lion/Mountain Lion
        Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
         When the menubar appears select Terminal from the Utilities menu.
         Enter resetpassword at the prompt and press RETURN. Follow
         instructions in the dialog window that will appear.
         Or see Reset a Mac OS X 10.7 Lion Password and
         OS X Lion- Apple ID can be used to reset your user account password.
    If you cannot do the above then try this:
      1. Boot to Safe Mode by restarting and after the chime press and hold down the COMMAND-S keys until a black screen with white type appears.
      2. At the prompt, type the following commands pressing return after each command line:
         /sbin/fsck -yf
         If you do not receive a "Filesystem OK" message then repeat this command until
         you do.  If after seven tries you still do not receive a "Filesystem OK" message,
         then the system is corrupted and needs to be reinstalled.
         mount -uw /
         cd /private/var/db/netinfo
         mv local.nidb local.old
         rm ../.AppleSetupDone
         shutdown -r now
    The second-to-last command above will cause OS X to think that the operating system is newly installed, and when the new owner starts up the computer it will send him/her to the startup wizard where he/she can start a new user without reinstalling.
    This last method does not actually change a password. It simply removes the user accounts and lets you create an initial admin account as if the computer were new out of the box.
    How to reset the OS X password without a startup CD:
    Reboot into Single-user Mode. Enter the following and press RETURN after each command line
       1. Type fsck -fy
       2. Type mount -uw /
       3. Type passwd <username>
    I have never tried this method myself.

  • EP6 - Logon Problems self reset password configuration

    Hi,
    We activated the Logon Problems?Get Support link to enable the users to reset their own password and we found that the first name and last name are optional fields (see the link http://help.sap.com/saphelp_nw2004s/helpdata/en/45/7e6313d8780dece10000000a11466f/content.htm ), but
    1) We have no idea where to configure to hide these two fields and only show the USER ID and Email.
    2) We also like to know how to turn off the option Other Logon Problems.
    Thanks in advance.
    Best Regards,
    Swee Tiong
    British American Tobacco
    EP Support Team.

    Hi,
      The link you have mentioned is for EP7.0 but you are using EP6.0. For EP6.0, you can do this in 2 ways. Using Direct editing or changing logon par. The options you have mentioned need to be done by customizing logon page. For doing this, you can take a copy of the logon par, rename and import into studio. Now apply your changes. Open UmLogonPage.jsp. Search for the corresponding tag and start editing. I think this way, you can hide firstname, lastname and also remove 'Other logon problem' link. Once it is changed, run it from portalapp.xml -> Run. Check the output and then go for replacing the original logon in authschemes.xml.
    Regards,
    Harini S

  • I cant remember my password to logon to my mac, how can i change it with out needing the old one?

    i cant remember my password to logon to my mac, how can i change it with out needing the old one?

    http://support.apple.com/kb/HT1274

  • TS1543 my mac wont stop at single user it continues to root, how can i get to single user to enter info needed to reset password

    I my mac wont recognise my password, i have tried to reset password using single user but my mac wont stop at single user it just continues to root, how do i get it to stop at single user so i can add info needed to reset password?

    Are your sure that wasn't a Verbose boot (Cmd-V) you were trying? That would go on to a regular boot.
    Try a PRAM Reset, then try the single user, Cmd-S, at the startup chime. For the PRAM Reset, hold down Option - Cmd - P - R all together until it chimes a total of three times, then let go to finish booting.

  • I cannot seem to edit PDF files on Adobe Acrobat as it says the files are protected and I need to enter a Permissions Password?

    I cannot seem to edit PDF files on Adobe Acrobat as it says the files are protected and I need to enter a Permissions Password?

    If the files have a permissions password, you need to know it, and remove security, before you can edit the files. That is correct.

  • I need to send an email where the recipient opens the PDF file with a password,   can anybody help me and show me how to do that

    Hello,  I am trying to send an email where the recipient opens the PDF file with a password,   can anybody show me how to do that

    Hi surez,
    To password protect a PDF file, you need to use Acrobat. If you don't have Acrobat, you can try it for free for 30 days. See www.adobe.com/products/acrobat.html for more information.
    In Acrobat, you choose File > Properties when the document is open, and then click the Security tab to set up a password.
    Please let us know how it goes.
    Best,
    Sara

  • How to hide the password in .class file?

    Hi All,
    I try to use a Connect.java file to connect to MySQL. The URL is similar to the following:
    "jdbc:mysql://192.168.1.1/database?user=name&password=123456"
    When I compile the .java file to a .class file, I can still see the full URL line in the machine codes of the Connect.class file.
    How to avoid exposing the password in the line?
    Thank you.
    Anthony Pong

    1) Use obfuscate option in your Java compiler
    2) There is Jakarta tool BCEL - which can be used for
    obfuscation, etcObfuscation tools don't obfuscate single literal string contents, which is the problem here.
    You'll have to make sure that your string doesn't appear as a single string anywhere. One technique is to break up your password into pieces, and scatter the declarations around, and join them up in the code to construct your password.
    (Oh yeah, and don't call your variables "static private final String passwordPiece1="foo";" either :-), or use an obfuscation tool to hide these variable names).

  • Can't get email, need to reset password?

    Need to reset password for email, how do I do this

    Go to Settings > Mail, Contacts, Calendars
    Find your account and change its password there.

  • Need a simple network accessibility for RMI class files.

    I am trying to get an RMI server working and need a way to make the class files network accessible. The link: http://java.sun.com/javase/technologies/core/basic/rmi/class-server.zip does seem to have the server anymore. Anyone know where to get a copy of it?
    Is there a way to do this with Jini?
    Can oc4j be used?

    I am trying to get an RMI server working and need a way to make the class files network accessible. The link: http://java.sun.com/javase/technologies/core/basic/rmi/class-server.zip does seem to have the server anymore. Anyone know where to get a copy of it?
    Not much point really. That class file server only served .class files, not even JARs.
    Is there a way to do this with Jini?No.
    Can oc4j be used?Not by itself.
    Anything that will serve HTTP requests will do. Such as an HTTP server. Such as the one built into the JDK for example.

Maybe you are looking for