Change Password with spaces not working

Hi,
I have configured password policy in OIM as Minimum length as 8
Min Numeric characters 6
Min Uppercase Characters 1
Special Character Minimum 1
Disallow last passwords 12
Now at the time of changing password it is accepting spaces in password and when we trying to log in with that password [password having spaces] it is not accepting and we are not able to log in with taht user
Please reply soon.
Thanks

Any updates??

Similar Messages

  • Runtime.exec with spaces not working EVEN using String[]!!

    Hi everyone,
    I need to start the rmi registry from some code,and i need to pass it the classpath of two jars when initialising it. My problem is that the paths I set aren't taken when they contain a space.
    Here's the code:
    <code>
    String rmiRegistryCommandLine[] = new String[] {
    + System.getProperty("java.home")
    + "\\bin\\rmiregistry.exe\"",
    "-J-Djava.class.path=\""+System.getProperty("user.dir")+"\\MyJar.jar\"",
    "1099"};
                                            Runtime.getRuntime().exec(rmiRegistryCommandLine);
    </code>
    I know that Runtime.exec(String) tokenizes the input, which is why I'm not using it, but Runtime.exec(String[]) isn't supposed to tokenize the input. System.getProperty("user.dir") can contain a space, so I put quotes around that, but I need the -J-Djava.class.path in the same string. I tried breaking it up into two more separate strings but it didn't even run for normal non-space paths then. I am sure that if the whole -J-Dblah....upto MyJar.jar was in quotes then it would work, but I need the classpath in quotes separately as it could contain a space.
    Can anyone help me get this working?

    Ya, that's fine but the command line I want to pass is:
    d:\j2sdk1.4.0\bin\rmiregistry.exe -J-Djava.class.path=d:\my dir with spaces\MyJar.jar;d:\my more dir with spaces\MyJar2.jar 1099
    If I say
    arg[0]="d:\\j2sdk1.4.0\\bin\rmiregistry.exe";, that's finebut arg[1] is the problem
    if I say
    arg[1]="-J-Djava.class.path=d:\\my dir with spaces\MyJar.jar; d:\\my more dir with spaces\\MyJar2.jar";, then it definitely won't work on 9X machines and probably not on NT.
    if I break up arg[1] into:
    arg[1]="-J-Djava.class.path=";
    arg[2]="d:\\my dir with spaces\\MyJar.jar";
    arg[3]=";";
    arg[4]="d:\\my more dir with spaces\\MyJar2.jar";I'll need to put quotes around the two individual two class paths or else it won't work.
    I find though that if I put the classpath as follows
    d:\"my dir with spaces"\MyJar.jar then it seems to work.
    I think a regular expression function to search for any directory with spacees and then put quotes around it and reinsert it into the path would be the solution.

  • Changing password using forms_ddl not working

    All,
    I am building a custom logon screen that is similar to Metalink Document 30860.1. The form works fine until it encounters error "ORA-28001 password expired". When this occurs the user is moved to a different block (CHNG_PSSWRD) to change their password.
    In the OK button on this block I use the forms_ddl command to alter the user's password, then logout and log back in using the new password. This is where the application fails. The forms_ddl built-in returns form_faliure=false however, the password does not change and when the code attempts to logon the user back on the form encounters error ORA:1017. I can verify this by logging into SQL*PLUS, the password is still expired.
    Here is the relevant code:
    When-Button-Pressed (Item Level, on LOGON_BLOCK.BUTTON_CONNECT)
    DECLARE
         v_connectResults varchar2(20);
    BEGIN
         v_connectResults := connect_to;
    IF v_connectResults = 'YES' THEN
    leave(TRUE);
    END IF;
    :global.logon_tries := TO_NUMBER(:global.logon_tries) - 1;
    IF TO_NUMBER(:global.logon_tries) = '0' THEN
    leave(FALSE);
    END IF;
    IF v_connectResults = 'EXPIRED_PASSWORD' THEN
         msg_popup(dbms_error_text,'E',FALSE);
    go_block('CHNG_PSSWRD');
    END IF;
    END;
    FUNCTION connect_to RETURN VARCHAR2 IS
    BEGIN
    IF :logon_block.username IS NULL THEN
    BELL;
    END IF;
    LOGON(:logon_block.username,
    :logon_block.password||'@'||:logon_block.connect, FALSE);
    IF FORM_SUCCESS THEN
    RETURN 'YES';
    ELSIF dbms_error_code = -28001 then
         RETURN 'EXPIRED_PASSWORD';
    ELSE
         msg_popup(dbms_error_text,'E',FALSE);
    RETURN 'NO';
    END IF;
    END;
    PROCEDURE leave(p_status BOOLEAN DEFAULT TRUE) IS
    BEGIN
    IF p_status THEN
    :global.logged_on := 'TRUE';
    ELSE
    :global.logged_on := 'FALSE';
    END IF;
    EXIT_FORM;
    END;
    This procedure is called by the OK button on CHNG_PSSWRD block
    PROCEDURE change_password (p_passWrd in varchar2)
    IS
    v_un varchar2(60) := get_application_property(username);
    v_cs varchar2(60):= get_application_property(connect_string);
    statement varchar2(100);
    begin
    -- build the alter user statement for changing the password
    statement := 'alter user ' ||v_un ||' identified by ' || p_passWrd;
    -- print the contents of statement & connect string for testing purposes
    msg_popup(statement || ' connect string: ' || v_cs,'I',FALSE);
         -- execute the alter user statement
    forms_ddl(statement);
    -- if RDBMS does not accept password, display database error message
    if FORM_FAILURE then
         msg_popup(DBMS_ERROR_TEXT,'E',TRUE);
    else
         -- password was accepted, log user back in with new password
         logout;
         if FORM_FAILURE then
              msg_popup(DBMS_ERROR_TEXT,'F',TRUE);
         end if;
         logon(v_un,p_passWrd ||'@'||v_cs,FALSE);
         -- Display error message if login fails
         if FORM_FAILURE then
              msg_popup(DBMS_ERROR_TEXT,'F',TRUE);
         else
         msg_popup('Your Password has been changed.','I',True);
         end if;
    end if;
    end;
    This code executes on the form that runs the custom logon form
    On-Logon (Form Level)
    CALL_FORM('co_f_logon', NO_HIDE);
    IF :global.logged_on != 'TRUE' THEN
    RAISE FORM_TRIGGER_FAILURE;
    END IF;
    What am I doing wrong?
    thanks for you help in advance
    Jim C

    This approach may not be the safest, as having a special account able to change other users passwords can bring important security considerations.
    For example, suppose the user and password of that special account are "hard coded" in your application. That means you will not be able to change that password often. So, it will bee too easy to use a brute-force attac, to guess this password. After that, you could simply change the password of any user you want, and impersonate it. Of course, there are many other considerations to think of, but I'm sure you get the idea by now.
    A much better approach could be to write a little program that receives username, old password, new password and connection as parameters, and uses the Oracle OCI API to change the password. Then you could simply call this little program from your application when needed, providing the right parameters, to do the trick.
    I found a good sample of this in metalink note 52718.1, Handling Expired Passwords from within Forms (V4.5/5.0)
    In this note, you'll find a little pro-c code to do just that. There is also another note (124970.1) with a little more complicated sample made in Java.
    (you may need to select All Sources on metalink to find it, as they have been archived and are no longer presented if you search only the knowledge base).
    hope this helps.
    Eng. Gabriel Rosales Aymerich, M.Sc.
    Senior DBA
    Mercado de Valores de Costa Rica

  • How to save bloger password in firefox 3.6.6 ? common ways at internet such as changing nsLoginManager.js is not working because the notepad cant save the new file.

    how to save bloger password in firefox 3.6.6 ?
    common ways at internet such as changing nsLoginManager.js is not working because the notepad cant save the new file.
    == URL of affected sites ==
    http://blogger.com

    Some sites like PayPal, Yahoo, Windows Live and bank sites use ''autocomplete="off"'' to prevent Firefox from saving the name and the password.
    If a site uses ''autocomplete="off"'' then look at this article for a bookmarklet to remove that autocomplete attribute.
    http://kb.mozillazine.org/User_name_and_password_not_remembered (bookmarklet)
    http://kb.mozillazine.org/Password_Manager
    See also http://en.wikipedia.org/wiki/Bookmarklet

  • I got locked out and changed the password. it did not work and now its disabled for 60 minutes. I dont use itunes, or icloud. how can I get in and why wont it work.

    I am locked out of my iphone. I changed the password and it still wont work. I changed it again and it is now disabled. I do not use itunes, icloud. How can I get into my iphone? I have changed my password and its not working. how can I start over?

    Follow the instructions in this support document. http://support.apple.com/kb/ht1212
    Without a backup, the use of iTunes or the use of iCloud, your only choice is to restore the device as new to remove the passcode.

  • Prime Infrastructure SSH password with space

    Hi,
    We have Prime Infrastructure 1.2 installed and now starting to populate the inventory with the devices list.
    However, it seems like the system does not accept password with space character inside.
    Anyone knows the fix / workaround to make this work?
    Thanks.
    Johannes

    Hi ,
    As Per my understanding there is No workaround ,you can try special characters ,however SPACES are Not allowed
    Thanks
    Afroz

  • I am going crazy changing passwords that do not get recognized by the different services when it is time to use them, until I am asked to change the password again, until the next time I need to use it and it does not get recognized again. Is there any fi

    I am going crazy changing passwords that do not get recognized by the different services when it is time to use them, until I am asked to change the password again, starting the vicious cycle again: i need to use the password, it does not get recognized three times, then the system asks me to change it again, and again, and I am stuck!! Is there any fix for this "glitch?

    The first thing I would suggest is for you to go to the folder containing your catalog, using your system browser. There will be a folder that has the extension .lrdata. Delete that folder, and then try to start Lightroom. If that doesn't work, replace your catalog with your most recent backup.

  • HT1414 my password lock is not working after my last upgrade

    I just upgraded my iPad and now my password lock is not working.

    Hi krburke,
    Welcome to the Support Communities!
    The article below may be able to help you with this.
    iOS: Forgotten passcode or device disabled after entering wrong passcode
    http://support.apple.com/kb/ht1212
    I hope this information helps ....
    - Judy

  • Applications associated with workstations not working

    Hello,
    I have onld zen 7.x, on netware.
    Applications associated with workstations not working or appearing in one container. Not sure if it every worked. Apps work fine with users.
    I am in a bind, since I need to get the app out in the workstation space.
    It maybe rights or simple install error with the ZEN from the begining.
    thanks for any help or ideas.. Yes I know I need to get to Zen 11.
    Phil

    PhilJannusch,
    > Applications associated with workstations not working or appearing in
    > one container. Not sure if it every worked. Apps work fine with users.
    >
    > I am in a bind, since I need to get the app out in the workstation
    > space.
    Please tell us more as "not working" can mean a lot of things. So:
    Are they user or workstation associated?
    Are those for whick they do not work (users or workstations) all in the
    same container?
    In what way do they not work?
    Any errors?
    Anders Gustafsson (NKP)
    The Aaland Islands (N60 E20)
    Have an idea for a product enhancement? Please visit:
    http://www.novell.com/rms

  • HT5463 I changed  password but can not use new password on phone. Why?

    I changed  password but can not use new password on phone. Why?

    Start with the Settings app
    Settings > iTunes and App Store > tap on your Apple ID and then tap on Sign Out
    Then sign in with your correct Apple ID and password.

  • Flexible Space not working

    Flexible Space not working, with firefox v1.5 pictured here..
    http://img444.imageshack.us/img444/6527/firefoxv15skin.png
    You see i have a big space FF icons and google search, by adding one flexible space. I cannot seem to get this to do the same with firefox v3. Will have to add x10's or more of flexible spaces to be the same. Have tried to resize the flexible space with v3 noting to grab to resize.
    Anyone know of a sollution how to do this, to be like that in the picture (url link above) ?

    Actually it doesn't really matter if you'd come back, or not. It's just that you've wasted everyone else's time. Here's a couple of links, when downgrading and/or installing a different/two version/s:
    * [http://ftp://ftp.mozilla.org/pub/firefox/releases/ Firefox FTP, all versions download].
    * [http://forums.mozillazine.org/viewtopic.php?f=23&t=2249039 Installing multiple different versions of Firefox], mozillaZine.
    * [[Installing a previous version of Firefox]], downgrading (not very useful).
    * [[Updating Firefox]], upgrading (also not useful, but like the article above: it's got a couple of links that could be -somewhat- helpful :))

  • Norton password manager does not work on 8. How do I return to a previous version?

    when I updated to firefox 8, Norton password manager does not work. How can I return to a previous version. I am surprised that you introduced an update missing this.

    Norton needs to be updated.
    http://community.norton.com/t5/Norton-360/Firefox-8-Support-for-Norton-Toolbar/td-p/581640

  • Itunes is not working on my mac. I'm trying to redeem a gift card and everytime I enter my password it does not work.  Also, when I try and browse songs, everything is blank

    HELP!
    Itunes is not working on my mac. I'm trying to redeem a gift card and everytime I enter my password it does not work.  Also, when I try and browse songs, everything is blank

    It's been a while but it should work on a Mac because Macs can read Windows formatted devices. Otherwise, you can perform a restore operation to return it to the Mac format. If you go to support.apple.com/manuals/ you can find a copy of the user manual for the model you have in which this is all explained.

  • I cant open my ipad after i turned on the voice in accessibility i have a passcode and i tried to enter my password but it not working. help me please

    i cant open my ipad after i turned on the voice in accessibility i have a passcode and i tried to enter my password but it not working. help me please..
    i updated my ipad in ios 6

    Turn off VoiceOver
    1. Press the Home button
    2. Tap Settings.
    3. Then double-tap Settings.
    4. Tap General.
    5. Then double-tap General.
    6. Use three fingers on the screen to scroll to Accessibility
    7. Tap Accessibility.
    8. Then double-tap Accessibility
    9. Tap VoiceOver
    10. Then double-tap VoiceOver.
    11. Tap "On" next to VoiceOver
    12. Then double-tap "On" to turn it off.

  • Change Password link is not showing up in MyAccount Page

    Change Password link is not showing up in MyAccount Page, eventhough the line
    <class name="PasswordPortalSetting"/> is not commented out in DisplayPortalSettings.xml
    We are using custom Auth source and not using plumtree Auth source, Is this could be a reason?
    Any help is appreciated.

    I'm seeing the same thing as Simon, I changed the iOS device name in both places on an iOS device and the name in the Intune console is still "iPhone" which is really unhelpful as I'm sure you can imagine.  Is there some other place
    that we should be going to rename devices so they are more easily identifiable in the Intune console?
    Thanks!

Maybe you are looking for

  • Unable to load Canon MP160 printer driver

    I've had the hardest time using my Canon MP160 printer on my iMac (Mac OS 10.5). In fact, I'm not able to print at all. I have the printer connected via USB. It always has been. However, it only stopped working recently. I downloaded the drivers for

  • Logging in from different forests

    Hello Community     In a situation where 2 forests exists in a Windows 2008 Server environment, there is Domain1 in forest1 and Domain2 in forest2.     A one-way trust is established between forest1 and forest2.     Forest1 has 8 domain controllers a

  • Itunes update always fails during download - it gets to the last 3 mb or so and hangs until I cancel it.  Any idea how to fix?

    iTunes fails to update.  During download, it gets to last (presunambly) package and hangs at last 3 Mb.  I have left it for days, it won't complete. Any idea how to fix?

  • Query based on a test input box

    query based on a test input box hi i have this html input box and i want to output a query based on what i put in the input box. what should i do now. thanks <form id="form1" name="form1" method="post" action=""> <label>enter id <input type="text" na

  • Flash crashed on publish

    Ok, this is an odd one: I have Flash CS3 and was editing a file. I'd published it loads of times and then came back to it. As soon as I tried to publish it, flash crashed. I'm now left with a version of Flash where I can create a new file and publish