Form for password changing. code problem

hi dears,
i am using forms6i. i was making a form for password changing purpose. i've written this code this is successfully compiled but it is not changing the password. wil u plz tell me where is the problem.
declare
     v_user varchar2(50);
     v_oldpassword varchar2(50);
     v_var2 varchar2(50);
     v_leng number(3);
begin
     v_oldpassword := get_application_property(password);
     v_user:=user;
     v_var2:=upper(:password_old);
     if v_var2<>v_oldpassword then
     message ('Old Password Is Not Correct...');
     message ('Old Password Is Not Correct...');
     raise form_trigger_failure;
     end if;
     if :password1<>:password2 then
          message ('Typed Passwords Are Not The Same...');
          message ('Typed Passwords Are Not The Same...');
          raise form_trigger_failure;
     end if;
     v_leng:=length(:password2);
     if :password1=:password2 and v_leng<=3 then
     message ('Password Must Have Four Characters...');
     message ('Password Must Have Four Characters...');
          raise form_trigger_failure;
     end if;
     if v_var2=v_oldpassword and :password1=:password2 then
     FORMS_DDL('alter user ' || v_user || ' identified by ' ||:password.password2);
     message ('Password Is Changed... Please Restart The Oracle Applications...');
     end if;
end;
COMMIT;
LOGOUT;
thanks

Hi dear,
Please use this code to change your password:
declare
v_user varchar2(50);
v_oldpassword varchar2(50);
v_var2 varchar2(50);
v_leng number(3);
begin
v_oldpassword := get_application_property(password);
v_user:=user;
v_var2:=upper(:password_old);
v_leng:=length(:password2);
if v_var2 != v_oldpassword then
message ('Old Password Is Not Correct...');
message ('Old Password Is Not Correct...');
raise form_trigger_failure;
elsif
:password1 != :password2 then
message ('Typed Passwords Are Not The Same...');
message ('Typed Passwords Are Not The Same...');
raise form_trigger_failure;
elsif
:password1=:password2 and nvl(v_leng,0) <=3 then
message ('Password Must Have Four Characters...');
message ('Password Must Have Four Characters...');
raise form_trigger_failure;
elsif
v_var2 = v_oldpassword and :password1 = :password2 then
FORMS_DDL('alter user ' || v_user || ' identified by ' ||:password.password2);
message ('Password Is Changed... Please Restart The Oracle Applications...');
end if;
end;

Similar Messages

  • Event ID for Password Change

    Hi 
    thanks in advance
    I have a task to find out the event ID for password change
    I am using domain account, when i change my account password by doing Alt+Ctrl+Del (change password)
    what is the event ID will be generated on DC.
    As as, when i do password change from webportals, like OWA
    On which DC event will be found (I have 24 DC's across the World)
    Regards
    Rajesh
    Rajesh Nagapuri

     event
    ID 4723 and 4724
    This event is logged as a failure if the new password fails to meet the password policy.
    This event is logged both for local SAM accounts and domain accounts.
    You will also see one or more event ID 4738s informing you of the same information.

  • Notification for password change in SU01

    Hai geeks,
             Could any one give me the idea for catching password change in SU01. I have to use it to send notification to concerned person.
    Regards,
    Kumar.

    Hi Kumarshankar,
    I think you can achieve this using WORKFLOW. In SU01 there is an option to enter email ID , I believe.
    Try exploring more about the options in SU01, you may find an option to achieve requirement.
    Regards
    Abhii

  • API for password change

    I want to add user and change password for that user.
    I am not finding any API for doing that.
    Is there any API for user addition and password change?

    You want to add a user to the system or to a user application? If it's to the system then you need root priviledges. You can assess and manipulate (to a certain extent) the username and password files on the system using the nispasswd and passwd commands. If you have some user applcation for which you want to create users and passwords then you can use the NIS (Network Information name Service) system. Type man nis for lots of information.

  • Error List for Password Changes via IDXML

    Maybe I missed this in the documentation or in this forum, but I'm looking for error messages related to password changes via IDXML. I thought they were in the configuration for the identity server, but a file search didn't turn them up. Anyone have a suggestion or know where they are listed?

    Hi Mark,
    Can't help you off the top of my head. This has to be a message catalog on the file system as there is no such data in the LDAP config data.
    Did you do your search with a good tool (err. not with the lame windows search feature)? I'd search /oblix/lang on both OIS and WebPass installs for the string in question.
    Mark

  • Bulk Admin for Password Changes

    I need a way to bulk change all Callmanager users to individually unique passwords for each user. It appears the only password change option is to use a single password for all accounts.
    My only working option seems to be to delete all of the users, then reimport them with the unique passwords in the .CSV file. Before doing so I wanted to see if anyone had any ideas.

    For being sincere, I would say that yours is best option and the one documented, havent tried any other.
    http://www.ciscotaccc.com/kaidara-advisor/voice/showcase?case=K12634971

  • Copied an existing Oracle 6i Form and made change and problems when compiling.

    I copied an existing Oracle 6i Form and made numerous changes to the form. The biggest change I made was taking on of the existing data blocks and I renamed it and also removed some of the items within the data block. After the additional changes to the form to make it look like I wanted it to, I tried to compile the form.
    When trying to compile the form I received an error that it could not resolve item reference. The item it is talking about was one within the data block that we renamed and hence after renaming the data block we removed this item.
    I have check via search for sql and plsql code to see if I could find this item it was referencing, no luck.
    Does anyone have and idea of where this item may exist so we can remove it.
    Please let me know.

    Could it be one of the properties on another item that is referencing the missing item? e.g. the Synchronize with Item property.
    Save your form to a text file and do a text search.
    Regards,
    Robin Zimmermann
    Forms Product Management

  • Token for password changing is wrong

    Hello,
    I have problem with my grandma account. She forgot her password. I've tried to reset the password. Skype send token on her e-mail. When I use prepared link with token or type token itself it still says that token is not recognized. What can i do to change password for her account.

    firstly, request for a new password token again.  Then if it still doesn't work, try opening the link using another web browswer (example:  internet explorer, chrome, firefox, safari, etc).  Also be sure to open the link before it expires (within 6 hours as far as I remember).
    In if case the suggestion above still don't work, you need to contact customer support. They may ask you to answer some verification questions to prove that your grandma indeed own that account, before they can assist you in resetting your password - Just open the link pasted below to see the instructions on how to get in touch with customer service -
    https://support.skype.com/en/faq/FA1170/how-can-i-contact-skype-customer-service
    IF YOU FOUND OUR POST USEFUL THEN PLEASE GIVE "KUDOS". IF IT HELPED TO FIX YOUR ISSUE PLEASE MARK IT AS A "SOLUTION" TO HELP OTHERS. THANKS!
    ALTERNATIVE SKYPE DOWNLOAD LINKS | HOW TO RECORD SKYPE VIDEO CALLS | HOW TO HANDLE SUSPICIOS CALLS AND MESSAGES

  • Logout/logon for password change

    Hello,
    We have an old 6i form in which we allowed the user to change his/her password and the form then did a logout followed by a login with the new credentials. This seem to fail on 9i/10g, however. Have any new rules been enforced regarding this?
    Thanks in advance,
    -Nik

    Nicklas,
    the default Forms behavior is to show a logon screen to renew the expired password in case the used one isn't valid anymore.
    The online help doen't describe how to re-new passwords because this is nothing Forms provides natively. All that Forms provides is a logon built-in and a logout built-in.
    I did a test in SQL*PLUS with
    alter user Scott identified by tiger2;
    to change the user password while being connected. Though I changed the password, the session still was active and I did not have to re-authenticate. I guess the same is true from Forms. If e.g you can a database program unit that executes this command then you shouldn't have to logout/logon in Forms. The next time you connect you have to use the new user password though.
    One reason to use the password expiry and have Forms re-newing the password is if you use Single Sign-On in Forms10g, because in this case Forms also updates teh RAD entry in OID.
    Frank

  • Blank window when internet accounts asks for password change

    I'm on OSX Yosemite and I've got a gmail account that I've just changed the password to. I keep getting a pop up from system prefs to change my password. Clicking on the pop up takes me to internet accounts, but another window pops up and its blank. I managed to change my password for the account on the mail app, but now I'm trying to send an email and the pop up is back and I have no idea how else to change my password.
    Here's a screen shot of the screen.

    When I go to internet accounts and click on the account, the pop up just comes up again. How do I change the password without the pop up? Clicking details only has name and description.

  • Why email sent for password change "sent successfully" but never arrives

    I am frustrated beyond measure! I need to sign in to Firefox, Mozilla, or Thunderbird but it won't accept my password and when an email is sent to [email protected] to reset password it never arrives.
    Note: This started after I could no longer click on any link in my email and access website/link. If I type in or copy link address and paste into my google browser it can't find it and says it is not a correct address.
    This just started 4-5 days ago.
    I receive other emails and have checked settings, filters, restarted Thunderbird, Firefox, run diagnostics to no avail.
    Please help. Thank you. Patricia

    ok, I am confused, but I think no more than you.
    Thunderbird stores your passwords, it does not allocate them or reissue them. Mozilla have no idea what your mail accounts or passwords are.
    You can apparently log into this site (your posting here), and this site is what any password reset mails would be about if they come from Mozilla.
    I strongly suggest you log into your web mail at delextreme.com and look in the trash, spam. junk and any other folders your mail provider may ave stuck them into. Password reset emails regularly go to spam or trash. Mail providers just do what they like.
    Notre that is you click a link and chrome can not find the link it is not a problem with your mail client. It may however be a problem with your anti virus (modifying the links to protect you from yourself) or a DNS issue preventing the sites from resolving. (contact with your isp may well be required to fix that)
    .

  • Two check forms for same company code

    Hi
    We are using  two different house banks with in same company code. And we will issue checks from both banks depending on need. However check formats of both banks are different.
    Question is how to set up different check formats as we can enter only one check form in FBZP by company code.
    Any help in this regard really appreciated.
    thanks

    closed myself

  • Licensing cost for Password Change Notification Service?

    We are win2008R2.
    Is there a separate software and licensing cost for PCNS?
    Do i need to purchase FIM 2010 to have PCNS or Is it a standalone product?
    Can PCNS sync passwords between two AD forests? (eg ForestA\samUser1  <-> ForestB\samUser1)
    Thanks,
    Navgup

    On Sat, 8 Feb 2014 06:22:06 +0000, Navgup wrote:
    Is there a separate software and licensing cost for PCNS?
    Do i need to purchase FIM 2010 to have PCNS or Is it a standalone product?
    All components of FIM require at least a server license. If you are not
    using the portal you do not need CALs but you always need a server license.
    Can PCNS sync passwords between two AD forests? (eg ForestA\samUser1  <-> ForestB\samUser1)
    Yes.
    Paul Adare - FIM CM MVP
    answering machine: "you've reached an imaginary number.
    please rotate your phone 90 degrees and try again."

  • Redirect to sspr for password changes

    * Groupwise 2012 webaccess
    * webacc.cfg --> User.Access.security=false
    Can i set a redirection to our password servlet url when a user login is expired?
    Now a blank page is showing

    pbijnen,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://www.novell.com/support and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://forums.novell.com/faq.php
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Forums Team
    http://forums.novell.com

  • Trying to purchase Turbo Tax on itunes and it keeps asking for password, changed it verified it worked but still doing it???HELP

    HELP ITunes will not allow download charged app

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
    View ▹ Show Log List
    from the menu bar.
    Click the Clear Display icon in the toolbar. Then try the action that you're having trouble with again. Select any messages that appear in the Console window. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message (command-V).
    When posting a log extract, be selective. In most cases, a few dozen lines are more than enough.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Important: Some private information, such as your name, may appear in the log. Anonymize before posting.

Maybe you are looking for

  • Window location for .terminal file

    Hi, I have a custom .terminal file that opens a terminal window to a specific number of columns and rows, and runs a command. Although I can cause plain ol' Terminal to open at the top left of the screen by moving it there, then closing it, my custom

  • EBS currency translation not "posting date"

    Hello, We implemented EBS ealier this year.  The currency translation date on the FF_5 postings is taking the "document date" and not the "posting date" when determining which currency exchange rate to use.  This is only an issue for a couple days at

  • Moving LR files to an external drive

    I know this has been answered a zillion times, but help me out. My internal drive is filling up and I want to move some of my LR files to an external drive. How do I move them? Do I need to reindex? How do I do that? thanks

  • Change logs for Order

    How to capture the change logs for the order.

  • V$session help

    Hi All, I Queried v$session it showned many inactive session. SID SERIAL# USERNAME MACHINE STATUS 172 131 CLOSINGCOST KAVNIYA\KTS-WS-HP-02 INACTIVE 173 1817 CLOSINGCOST KAVNIYA\KTS-WS-HP-05 INACTIVE 174 487 CLOSINGCOST KAVNIYA\KTS-WS-HP-02 INACTIVE 1