Password comparision

Hi Friends,
I have five passwords  in my ztable.
Now my requirement is to validate  password, if i enter a password ,then it should not accept the previous five passwords which are in my ztable.
i tried with concatenation, but it is not working properly.
whether I need to compare each password independently or is there any other way.
Could any one plase help me with piece of code.
Thanks in advance.
Regads,
kumar.

Hi,
U can use
SELECT *
        FORM ztable
        WHERE PASS = <NEW_PASS>.
IF sy-subrc = 0.
  MESSAGE 'Password already Present.' type 'E'.
ENDIF

Similar Messages

  • Using mySQL Password encryption function

    hi there,
    I am using mySQL's password encryption function to store passwords
    safely in a tabe. The problem is when I retreive the username and password, because the password in encrypted, it won't match the password entered in a JSP page. Is there any way I can decrypt it to its original form so I can do a equal match comparision.
    thanks
    mani

    For Eg. you can compare the following way...
    Here,
    userdb - table name
    pwd - Column in table (password encrypted field)
    'userpassword' - user entered value....
    theSql = "SELECT PASSWORD('userpassword'), pwd FROM userdb
    rs = statement.executeQuery(theSql);
    if (rs.next())
    String strPswdEnter=rs.getString(1);
    String strPswdData=rs.getString(2);
    if (strPswdEnter.equalsIgnoreCase(strPswdData))
    bPasswordCorrect=true;
    Regards,
    Chandramohan V

  • Automatically connected to protected Wi-Fi without password on iOS 7.1

    I'm looking for a straight answer to what might have occured.
    Today, I brought my iPad to work. This is a Wi-Fi only iPad Air with Siri enblaed and iOS 7.1 installed on it. Now, this iPad has never left my house, and it's never been connected to any other Wi-Fi network than the one in my house. I have an iPhone, also with Siri enabled and running iOS 7.1, too, which is always connected to the network at work.
    Now, I had just collected my iPad from my bad, switched it on, took a photo just in range of the Wi-Fi network at work, and just as I'm about to go in to the Wi-Fi settings to enter the password for the Wi-Fi network we use at work, all of the sudden, I'm connected to the very same network!
    This baffles my mind beyond comparision, and maybe I'm just slow, but is there such a feature that connects your other devices using the same Apple ID to the same network, without ever having been connected to it, and without having to enter the password for the password protected network!?
    At any rate, fact remains: I have never, ever, connected my iPad to any other network than the one in my house (which doesn't even have a password). Shortly after having swtiched it on, I was about to go to the settings and enter the password for the network we use, and all of the sudden I see that I'm already connected to that network, and I don't even have to enter the password.
    The base station at work is an old AirPort Extreme and the base station in my house is a generic modem/router, but I also have an AirPort Express that extends the network in my house. Surely, this shouldn't matter one bit. None of these two networks have even remotely similar names, and only the network at work uses a password.
    Can someone please enlighten me of what's going on?
    P.S. I made sure to check I could use the Wi-Fi network at work, and I could. Without a shadow of doubt, all I did was switch my iPad on, go to settings and all of the sudden I was connected and using the network.

    Hello manav10572,
    It sounds like your Wi-Fi and cellular connections acting erractically casuing your iPhone to have issues. I recommend starting by resetting your network settings:
    iOS: Troubleshooting Wi-Fi networks and connections
    http://support.apple.com/kb/TS1398
    Reset network settings by tapping Settings > General > Reset > Reset
    Then close all the running apps:
    iOS: Force an app to close
    http://support.apple.com/kb/ht5137
    Double-click the Home button.
    Swipe left or right until you have located the app you wish to close.
    Swipe the app up to close it.
    When you have done that and restart the phone and test the Wi-Fi, and cellular connections again:
    iOS: Turning off and on (restarting) and resetting
    http://support.apple.com/kb/ht1430
    Thank you for using Apple Support Communities.
    All the very best,
    Sterling

  • Finance comparision reports

    Hi ! Needed your kind help in running comparision reports in finance module...
    I tried runing the balance sheet comparion between two companies being in same server and having same chart of accounts.
    when trying to choose other company it is throwing error 'Wrong user name and password' even if the pwds are given correctly..
    have any one opened the comparision report?
    Kindly help..
    Thanks,:0)

    [Hai Check this SAP notes|https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/smb_searchnotes/display.htm?note_langu=E&note_numm=0001244096]

  • Default Encrypted  Password

    Dear All,
    i want to insert encrypted Password of 'password' string into table user_dtl column PASSWORD .
    How can i insert Encripted password into table.
    Thanks

    Hi Vedant,
    See the CUSTOM_HASH function that is installed with sample application in the APEX.
    Here is the code for it:
    create or replace function custom_hash (p_username in varchar2, p_password in varchar2)
    return varchar2
    is
      l_password varchar2(4000);
      l_salt varchar2(4000) := 'XFSPL28ZTWEWWM6FHWMK68AG5NQVLU';
    begin
    -- This function should be wrapped, as the hash algorithm is exposed here.
    -- You can change the value of l_salt or the method of which to call the
    -- DBMS_OBFUSCATOIN toolkit, but you much reset all of your passwords
    -- if you choose to do this.
    l_password := utl_raw.cast_to_raw(dbms_obfuscation_toolkit.md5
      (input_string => p_password || substr(l_salt,10,13) || p_username ||
        substr(l_salt, 4,10)));
    return l_password;
    end;
    i want to insert encrypted Password of 'password' string into table user_dtl column PASSWORD.The above function will give the encrypted password which can be inserted into USER_DTL as follows:
    INSERT INTO USER_DTL(USERNAME,PASSWORD) VALUES(:P1_USERNAME, CUSTOM_HASH(:P1_USERNAME,:P1_PASSWORD))Be sure that PASSWORD column in USER_DTL is of type VARCHAR2 and of adequate length as to accommodate the encrypted password.
    Hope it helps!
    Regards,
    Kiran

  • Installed adobe but password won't work to read on tablet

    Installed reader and adobe on new tablet, but adobe password will not work to let me read. I reset
    Password but that doesn't help

    A password protected PDF?  How did you reset it?
    What's the operating system on that tablet?

  • TS2446 My phone want let me download apps I put the password in then it's say billing options which tell me I have invalid security code

    My phone want let me download any apps when I put the password in it take me to billing option which tell me I have the wrong security code and that's the security code that was on the card on the account

    iTunes Store: My credit card's security code or zip code does not match my bank's records
    http://support.apple.com/kb/TS1646

  • HT4623 MY i phone 5 wont let me download apps etc it just keeps asking for my apple id password?

    Juat got my i phone 5 today and have opened an apple accout but it wont let me download apps etc just keeps asking for a password over and over again???

    Try This...
    Close All Open Apps... Sign Out of your Account...  Perform a Reset... Try again...
    Reset  ( No Data will be Lost )
    Press and hold the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears. Release the Buttons.
    http://support.apple.com/kb/ht1430

  • It seems when i try to login to Netflix it comes back with email id or password is incorrect (code 117), i can't find anything to fix this, help!!!

    I've tried everything, reset, unplug, even have it connected via Ethernet, always the same outcome!  I can login on our iMac with no problem!

    Finally someone who found the solution. I've been searching for the answer for a while, some people suggest resetting the Apple TV, reverting to the previous firmware, changing password to all numbers, you name it.
    The right answer is: make sure to have a password with both letters and numbers. Someone at Apple must have thought to override the password requirements of Netflix, without telling anyone else. They need better change management procedures!

  • SRM 5.0 - how to change default password?

    Hello,
    Am trying to install SRM 5.0 Oracle 10g as the DB. In the instllation doc of SRM 5.0 a default password is given to connect to the database and I see the encrypted password is in the jdbc properties. How can we change the default password? How do I get the encrypted value?
    Any help is appreciated.
    Thanks

    Propblem resovled, find the corresponding function group and screen, then change the translation.

  • SSL private key password

    Hello everyone,
    I'm trying to upgrade a WLS 6.1 SP2 with WLP 4.0 SP2 instance to WLS 7.0 SP2
    with WLP 7.0 SP2. Everythng is fine except for that we cannot use the same
    SSL certificate. By defaul the private key is not encrypted with password
    (SSL.KeyEncrypted = false by default, according to the documentations) in
    both WLS 6.1 and WLS 7.0. But running WLS 7.0 startup script results the
    following error:
    <Sep 17, 2003 5:06:40 PM HST> <Alert> <WebLogicServer> <000297>
    <Inconsistent se
    curity configuration, java.lang.Exception: Cannot read private key from file
    C:\
    bea7\user_projects\agencyPortal\portal_islandinsurance_com-key.der. Make
    sure pa
    ssword specified in environment property weblogic.management.pkpassword is
    valid
    .>
    java.lang.Exception: Cannot read private key from file
    C:\bea7\user_projects\age
    ncyPortal\portal_islandinsurance_com-key.der. Make sure password specified
    in en
    vironment property weblogic.management.pkpassword is valid.
    at
    weblogic.security.service.SSLManager.getServerPrivateKey(SSLManager.j
    ava:434)
    at weblogic.t3.srvr.SSLListenThread.<init>(SSLListenThread.java:153)
    at weblogic.t3.srvr.SSLListenThread.<init>(SSLListenThread.java:122)
    at weblogic.t3.srvr.T3Srvr.initializeListenThreads(T3Srvr.java:1513)
    at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:852)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:295)
    at weblogic.Server.main(Server.java:32)
    Is this happening because the private key is actually encrypted with the
    password? It was working, although the KeyEncrypted is not set to true and
    the startup script for WLS 6.1 instance did have a line
    with -Dweblogic.management.pkpassword. Or could this error be result of
    something else? The physical machine the instances are located is the same
    and IP address and the DNS entry hasn't been changed, either.
    Any insight will be greatly appreciated. Thanks!
    Makoto

    Thanks Tony - it worked!!
    "Tony" <TonyV> wrote in message news:[email protected]...
    It may be because the private key is both unprotected and in DER format.
    There are some things to try:
    1) Convert the private key file from a DER file to a PEM file and try
    that:
    a) Follow the for converting an unprotected private key at:
    http://e-docs.bea.com/wls/docs70/adminguide/utils.html#1143743
    b) Look at the resulting PEM file, it should look something like
    this:
    -----BEGIN RSA PRIVATE KEY-----
    -----END RSA PRIVATE KEY-----
    (Be sure there is no extra lines or whitespace after thefooter)
    >
    c) Change your configuration to point at the PEM file
    If that doesn work, then you can try protecting the key with apassword
    using
    the wlkeytool utility (It should be in the server/bin directory). The
    tool should prompt
    for a password to use to protect it:
    wlkeytool inputkey.pem outputkey.pem
    Then change your configuration to use the protected private key, andset
    the passwod to use.
    Tony
    "Makoto Suzuki" <[email protected]> wrote in message
    news:[email protected]...
    Hello everyone,
    I'm trying to upgrade a WLS 6.1 SP2 with WLP 4.0 SP2 instance to WLS 7.0SP2
    with WLP 7.0 SP2. Everythng is fine except for that we cannot use the
    same
    SSL certificate. By defaul the private key is not encrypted withpassword
    (SSL.KeyEncrypted = false by default, according to the documentations)in
    both WLS 6.1 and WLS 7.0. But running WLS 7.0 startup script resultsthe
    following error:
    <Sep 17, 2003 5:06:40 PM HST> <Alert> <WebLogicServer> <000297>
    <Inconsistent se
    curity configuration, java.lang.Exception: Cannot read private key fromfile
    C:\
    bea7\user_projects\agencyPortal\portal_islandinsurance_com-key.der. Make
    sure pa
    ssword specified in environment property weblogic.management.pkpassword
    is
    valid
    .>
    java.lang.Exception: Cannot read private key from file
    C:\bea7\user_projects\age
    ncyPortal\portal_islandinsurance_com-key.der. Make sure passwordspecified
    in en
    vironment property weblogic.management.pkpassword is valid.
    at
    weblogic.security.service.SSLManager.getServerPrivateKey(SSLManager.j
    ava:434)
    atweblogic.t3.srvr.SSLListenThread.<init>(SSLListenThread.java:153)
    atweblogic.t3.srvr.SSLListenThread.<init>(SSLListenThread.java:122)
    atweblogic.t3.srvr.T3Srvr.initializeListenThreads(T3Srvr.java:1513)
    at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:852)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:295)
    at weblogic.Server.main(Server.java:32)
    Is this happening because the private key is actually encrypted with the
    password? It was working, although the KeyEncrypted is not set to true
    and
    the startup script for WLS 6.1 instance did have a line
    with -Dweblogic.management.pkpassword. Or could this error be result of
    something else? The physical machine the instances are located is thesame
    and IP address and the DNS entry hasn't been changed, either.
    Any insight will be greatly appreciated. Thanks!
    Makoto

  • RBACx Encrypted Password Change Utility

    Hi all,
    In the OIA/SRM installation guide, there is a reference to a tool, to find out the password of rbacxservice.
    "Oracle Identity Analytics utilizes an encrypted password when communicating with the database.
    To change the default database password, use the RBACx Encrypted Password Change Utility"
    Could you please help me finding out this tool.
    Many thanks in advance.
    Warm regards,
    Manipradeep Sunku.

    The mentioned tool only encrypts the password so that you don't have to store a plain text password in the config file. It does not decrypt it. The default rbacxservice password is rbacxservice.
    The tool does not come with the OIA/SRM distribution so if you need it, you will need to contact support.

  • ACS 5.3 Default Backup Password

    When doing a backup on any of the ACS 5.x appliances by default the backup is encrypted with PGP. What password is used for that? Is it configurable?

    It is not configurable and that information wasnt made public. However, when you restore it should be able to decrypt it just fine.
    You can try opening a TAC case but when I was in TAC wasnt able to find that key either.
    Thanks,
    Tarik Admani
    *Please rate helpful posts*

  • How to change the default JET (JumpStart) password

    I am using JET (Jumpstart Enterprise Toolkit) to jumpstart my servers. The default password, boajrOmU7GFmY, is saved in a encrypted form in jumpstart.conf. I want to change it, how do I know the encrypted form of my new password?
    Tom

    Usage: orapwd file=<fname> password=<password> entries=<users>
    where
    file - name of password file (mand),
    password - password for SYS and INTERNAL (mand),
    entries - maximum number of distinct DBA and OPERs (opt),
    There are no spaces around the equal-to (=) character.

  • Forgot password to access my Airport Time Capsule, can't restore Time Machine backup

    It is stupid, I know, but after the first time I setup Time Machine in my Airport Time Capsule (6 months ago) i never had to use the password because it stayed stored in my Keychain.
    Anyway, couple days ago I had to format the hard drive of my MacBook Pro and I did it thinking that I had a complete data backup stored in my Airport Time Capsule (encrypted data). It was late when I realized that I did not have the password written/stored anywhere. Nothing to do about it, just move on and start all over again.
    I need to clean up my Airport Time Capsule and set it to factory default. I already accepted that I will lose all my data and it is okay. So far all I found was how to reset the wifi user/password but nothing about deleting stored data or reset to factory default without having the encrypted password. Can you please help me? Thanks in advance!  

    The encrypted data is not related to the Time Capsule.. that is purely Time Machine.
    Very sorry for you.. it is one big danger when you encrypt.
    Reset to factory.
    Factory reset universal
    Power off the TC.. ie pull the power cord or power off at the wall.. wait 10sec.. hold in the reset button.. be gentle.. power on again still holding in reset.. and keep holding it in for another 10sec. You may need some help as it is hard to both hold in reset and apply power. It will show success by rapidly blinking the front led. Release the reset.. and wait a couple of min for the TC to reset and come back with factory settings. If the front LED doesn’t blink rapidly you missed it and simply try again. The reset is fairly fragile in these.. press it so you feel it just click and no more.. I have seen people bend the lever or even break it. I use a toothpick as tool.
    N.B. None of your files on the hard disk of the TC are deleted.. this simply clears out the router settings of the TC.
    Wipe the hard disk. Open the airport utility go to the disk tab. Click on erase disk.
    Select just quick erase.. it just deletes the file table and is not secure but fine for your purposes.

Maybe you are looking for

  • Report output as an email attachment

    Hi , I am sending report output as email attachment by using 'mail recipient ' CLTR+ F7' option in alv list. But this is sending mail as pdf attachment. I want it as excel format. Is there any option to change type of attachment which sending mail?

  • Reading SDO_ELEM_INFO?!

    Hi I have following question: In an Oracle Spatial Database I have to get the values located in the SDO_ELEM_INFO array. Does anyone have an example SQL statement on how to get the data stored in this array? Eventually we have to load the data into J

  • Scroll Bar does not show using Mac OS X 10.10.1, Thunderbird 31.3.0

    I upgraded to Thunderbird 31.3.0, running Mac OS X 10.10.1. The scroll bars in both the inbox window and the message text window seem to have disappeared. There does not seem to be any support available on this.

  • Stop motion filter?

    Hey guys, I have a regular mpeg2 video which i want to look like stop motion.  I am a noob to Premiere and After Effects, so I have no idea how to do it.  Ive been playing for hours and not getting anywhere.  Is there a filter i dont know about (eith

  • Does AppleCare cover worn batteries?

    Hi, I have a 2010 MacBook Air with the full AppleCare Protection. The MacBook is working fine but the battery has started to wear out, this is not a factory defect or anything, it has just worn out over time (and yes, I do understand why and everythi