Using Jackrabbit User Manager programmatically for changing passwords and getting user data.

I am trying to do a change password request using the Jackrabbit User Manager with the REST URL /system/userManager/user/<username>.changePassword.json.  The problem I am having is that this request requires an oldPwd form param in the request.  The issue is that when I am trying to do this request it is in response to the user selecting "Forgot Password" so our logic has created a random password which we then email to the user so they can use that the next time they want to login.  We need to change that user's password in CRX so they can log in using it next time.  Since they haven't logged in there is no session, NOT the problem.  THE PROBLEMS, I don't know 1. how to use the userManager to get that user's old password, since /system/userManager/user/<username>.json doesn't appear to return the password and 2. if I could get the old password it most certainly will be encoded, some how, so I will need some decoding algorithm to pass it through in order to get the actual password to set as the oldPwd form param to my change password request.  Please let me know if you require any further explanation.  Any assistance would be greatly appreciated.  Thank you, in advance, for your assistance.
Sincerely,
Mike Sucena
[email protected]

Hi Mike,
msucena wrote:
Justin:
Does your response mean that until version 2.1.2 of Jackrabbit User Manager is released I cannot change the password without knowing the old password?
No. It means that this feature is not available in version 2.1.0 of the Sling Jackrabbit User Manager bundle. It was added after that release. You have a number of options:
Build the bundle from source.
Use one of the SNAPSHOT bundles available from the Apache Snapshots repository.
Use the release which is being voted upon now (https://repository.apache.org/content/repositories/orgapachesling-175/org/apache/sling/org .apache.sling.jcr.jackrabbit.usermanager/2.2.0/). (Note - we decided to use 2.2.0 as the version number rather than 2.1.2 as originally planned due to the scope of this release).
Write a different servlet which performs the same actions.
Meaning that being able to use either the credentials of the "Admin" user or using the credentials of a member of the "UserAdmin" group is not supported in the current released version 2.1.0?
Correct. It was added after the 2.1.0 release.
  If I currently need the old password is there any Sling REST - Jackrabbit API call I can use in order to get the old password since using /system/userManager/user/<username>.json doesn't appear to return the password?
-Mike
The plain text password is not stored. And this should be considered a good thing.
If you have questions about the development process we follow in Sling (or at Apache as a whole), by all means ask on the Sling users mailing list. It is reasonably well-established and we love to talk about it.

Similar Messages

  • Hi! I've been using Goldmine contact management software for many years and syncing with Companion Link successfully, then ITunes to the IPhone. Suddenly, my IPhone is not recognized and won't sync. I see a message telling me to dock the phone? Any ideas?

    Hi! I've been using Goldmine contact management software for many years and syncing with Companion Link successfully, then ITunes to the IPhone. Suddenly, my IPhone is not recognized and won't sync. I see a message telling me to dock the phone? Any ideas? Thanks for any assist!

    Hi Ken,
    Dennis here from westport. I too am a goldmine user for many years and would love to know how you sync.
    I am looking at a product called wmobile, but may be problematic on my current system.
    thanks for any help...

  • WAAS Central Manager - Procedure for changing FQDN and ip address

    Software version 4.1.1c
    I have the need to change my waas central manager hostname, doamin name and ip settings. What is the proper procedure to do this in order to keep the cm synchronized with the waes. I seem to have them out of sync now. Do you deregister all the waes first, change and reboot the cm, then register them again?

    Hi,
    check SAP note 8307 Changing host name on R/3 host: What do you do?

  • I have tried to change my User id which is an email address I no longer want to use. Now I am constantly getting requests from icloud and Apple ID for my password and cant get into my icloud account.

    I have tried to change my User id which is an email address I no longer want to use. Now I am constantly getting requests from icloud and Apple ID for my password and cant get into my icloud account.

    To change the iCloud ID you have to go to Settings>iCloud, tap Delete Account, provide the password for the old ID when prompted to turn off Find My iPhone, then sign back in with the ID you wish to use.  If you don't know the password for your old ID, or if it isn't accepted, go to https://appleid.apple.com, click Manage my Apple ID and sign in with your current iCloud ID.  Click edit next to the primary email account, change it back to your old email address and save the change.  Then edit the name of the account to change it back to your old email address.  You can now use your current password to turn off Find My iPhone on your device, even though it prompts you for the password for your old account ID. Then save any photo stream photos that you wish to keep to your camera roll.  When finished go to Settings>iCloud, tap Delete Account and choose Delete from My iDevice when prompted (your iCloud data will still be in iCloud).  Next, go back to https://appleid.apple.com and change your primary email address and iCloud ID name back to the way it was.  Now you can go to Settings>iCloud and sign in with your current iCloud ID and password.

  • My AppStore id is my apple id n password which is good when purchasing. But when I am updating from update option it ask for a password. The user id I see there is not mine, it's different. How do I change that to my apple Id? Please help me resolve .....

    My AppStore id is my apple id n password which is good when purchasing. But when I am updating from update option it ask for a password. The user id I see there is not mine, it's different. How do I change that to my apple Id? Please help me resolve  this issue. I have tried resetting it but nothing... Either I'm doing something wrong or....

    I believe the issue is with the Apple ID that was used to purchase the App. If you download an App that was purchased under a different Appple ID then all updates will also be linked to the original purchaser's Apple ID. Your Apple ID is the the same ID as your iTunes, iCloud, etc. Some folks use different ID for the different Apple sites. No need for that One ID for all Apple Sites, and if someone else buys an App using their ID and they(you) download that App onto your device and that App requires an update it will ask for the purchasers Apple ID. This happens a lot when folks sell their iPad or give it to someone else and leave some purchased(free) Apps on the iOS device. You cannot change the original ID the App was purchased under. A suggestion would be if someone else has an App that you like but do not want to pay for use their ID or in the future have them gift the App to you.

  • I have an apple ID which I use to sign into icloud for my iPad and iPhone.But when I use the same ID for setting up iCloud on my Macbook it says INCORRECT ID or password, try again. I tried changing my passwords but it does not work for the macbook.

    I have an apple ID which I use to sign into icloud for my iPad and iPhone.But when I use the same ID for setting up iCloud on my Macbook it says INCORRECT ID or password, try again. I tried changing my passwords several times but it does not work for the macbook.

    You will have to provide the correct password to delete the existing account, if you have tried but are not getting the password reset email, contact Apple for assistance by going to https://expresslane.apple.com, then click More Products and Services>Apple ID>Other Apple ID Topics>Lost or forgotten Apple ID password.

  • When I purchase my iPad I was working for McDonald's and my user ID was my McDonald's email address , I donot work for them now. I need to change my iPad user ID and I don't remember my password for the old user ID

    When I purchae my iPad, my user ID was set up as my email address, now I am not working for the company and my user ID is not working. I need to change my iPad user ID

    You could go to settings/itunes & app store, tap on the ID and then log out.  Tap on create new ID and do that and then log in with that ID.  You would need to turn off  imessage and facetime and turn them back on and activate them with the new ID.  You will need to delete the icloud account save any contents to the device and create a new account.  Remember that all purchases are linked to the old ID and can only be updated etc with that ID

  • How can I give an user the right to change passwords

    I'm still absolute server beginner, so I have to ask here.
    How can I give users the right to change passwords or to view calendars?
    I didn't find it, yet.
    I've found an option to change rights, when I click on the user with two fingers (right mouse button). But all options in this menue are grey.

    Hi Holger,
    These are two fundamentally different issues. I'll try to address them each. For both you will need to have OpenDirectory set up (see the Users Next Steps list in the Server app). Once that is done. Additionally you will need the Server Admin Tools 10.7. Once you have them installed, you can specify the OpenDirectory password requirements for users
    User Passwords in OpenDirectory
    On the server, open Server Admin app.
    Connect to you server, then click on the OpenDirectory service.
    Click on the Settings icon.
    Click on the Policies tab.
    Click on the Passwords sub-tab, and you can set all the criteria for password requirements here.
    Resetting Passwords
    Users must log in as network users on the client computer.
    Once logged in, to change the password, open System Preferences.
    Click on Users & Groups.
    The user icon will be a silhouette with stars in the background. This means it is a network user. Click on the Password tab at the top.
    Click the Change Password ... button to change the password.
    Calendars in iCal are much like RSS feeds: users need to subscribe to them, like we discussed in our other posting. Network users will automatically be given a network iCal calendar, and will be automatically subscribed to it. However, if you want to automatically add subscribed calendars to network user's accounts, you will need to use ProfileManager.
    On the server, open Server app.
    Click on the Profile Manager menu item.
    Make sure that iCal service is running (green indicator next to it). Click on the "Include configuration for services: ...". Make sure the iCal icon is listed there.
    Click the "Sign configuration profiles" checkbox.
    Turn Profile Manager on.
    Once Profile Manager has loaded (the gear at the bottom right will no longer be spinning), go ahead and click the Open Profile Manager link.
    Log into Profile Manager as your directory admin user.
    Click on the Groups menu item to give all users of a specific group access to the wiki calendar. This is best if you have a wiki for a group and want to share that calendar. Use the Everyone group to add this calendar for all users.
    Click on Users to give access to only specific users.
    Edit the profile for the group(s) or user(s) you selected by highlighting that group and clicking the edit button.
    Scroll down and select the CalDav item on the left.
    Click configure. Here you will need to enter the specific details for that callendar based on the subscription details you get when subscribing to the calendar via the wiki.
    After all that you still need to configure each client computer to be set up for profile management, which really is a topic of its own. I recommend the following tutorials:
    Installing OS X Lion Server
    OS X Lion Server Administration Tool Tour
    Setting Up Profile Manager on OS X Lion Server
    Using Profile Manager on OS X Lion Server
    Hope this helps, good luck!
    ~Mike

  • Hi. How can I delete my icloud account on my iPhone? I don't have that email address I was using anymore. I tried deleting it but it is asking for the password and I don't remember it.

    Hi, How can I delete my icloud account on my iphone? I don't have that email address I was using before anymore and I already tried deleting the account but it is asking for the password and I don't remember it.

    Hi ale.vica,
    You need to go to Manage your Apple ID, https://appleid.apple.com/cgi-bin/WebObjects/MyAppleId.woa/, and sign in with your current Apple ID and password and do the following:
    1.     Edit your current Apple ID and change it back to the ID which is displaying for your iCloud account. You do not need to verify it - this is only a temporary change
    2.     Go into Settings>iCloud on your device and delete the iCloud account. Use your current password when your are prompted for a password
    3.     Once the old iCloud account is deleted, go back into Manage your Apple ID and change your ID back to the current one
    4.     Go back to Settings>iCloud and sign on with your current ID and password
    That should take care of your issue!
    Cheers,
    GB

  • Jython having issue importing weblogic modules for changing passwords

    I am trying to import some WLST modules into a Jython script as outline in the documentation at http://e-docs.bea.com/wls/docs92/config_scripting/config_WLS.html#wp1019971
    The strange thing is that it says it is a WLST script, but it appears to be a Jython script. I tried performing this import using WLST interactive mode, but this did not work.
    I am passing the passwords as encrypted strings while using the encrypt() function
    Here is the script:
    import sys
    from weblogic.management.security.authentication import UserPasswordEditorMBean
    #To be invoked by java -cp /usr/local/bea/wlserver_10.0/common/lib/jython.jar org.python.util.jython
    #usage: wlst.sh ResetWLPassword.py <current_pass> <user> <new_pass> <adminServerURL>
    #{3DES}/asdfadsf== -
    #{3DES}asdfafdsadsf== -
    myPass = sys.argv[1]
    myUser = sys.argv[2]
    newPass = sys.argv[3]
    adminServerURL = sys.argv[4]
    #Connect
    try:
    connect('weblogic',myPass,adminServerURL)
    except:
    print "Could not connect using supplied credentials"
    dumpStack()
    try:
    print "Changing password ..."
    atnr=cmo.getSecurityConfiguration().getDefaultRealm().lookupAuthenticationProvider("DefaultAuthenticator")
    atnr.changeUserPassword(myUser,myuser,newPass)
    print "Changed password successfully"
    except:
    print "Password change failed"
    dumpStack()
    I am receiving the following error message:
    java -cp /usr/local/bea/wlserver_10.0/common/lib/jython.jar org.python.util.jython /tmp/ResetWLPassword.py "{3DES}/adsfadsfadsf==" weblogic "{3DES}asdfadsfasd== " t3://localhost:7003
    sys-package-mgr: can't create package cache dir, '/usr/local/bea/wlserver_10.0/common/lib/cachedir/packages'
    Traceback (innermost last):
    File "/tmp/ResetWLPassword.py", line 2, in ?
    ImportError: No module named management

    blumo wrote:
    You are calling org.python.util.jython again instead of weblogic.WLST like I advised in my first post. Invoke WLST (not jython) and pass your values in cleartext. Like I said in my previous post, I was able to execute your script without issue when calling WLST and passing cleartext values (I did have to modify one line to due a bug in your script -- see my prior posts).This seems to work in terms of getting the code to run, but there is still a problem with passing the arguments to the changeUserPassword() method.
    I entered the sequence of commands in the script manually into WLST and it works without issue. It even works without the import, which is strange that Oracle includes it in their documentation.
    I am going to post the code here, perhaps there is something wrong syntax-wise with the way I am authenticating, but I can't put my finger on it.
    import sys
    from weblogic.management.security.authentication import UserPasswordEditorMBean
    myPass = sys.argv[1]
    myUser = sys.argv[2]
    newPass = sys.argv[3]
    adminServerURL = sys.argv[4]
    #Connect
    try:
    connect(myUser,myPass,adminServerURL)
    except:
    print "Could not connect using supplied credentials"
    dumpStack()
    try:
    print "Changing password ..."
    atnr=cmo.getSecurityConfiguration().getDefaultRealm().lookupAuthenticationProvider("DefaultAuthenticator")
    #atnr.changeUserPassword('weblogic','weblogic','12345678')
    atnr.changeUserPassword(myUser,myPass,newPass)
    print "Changed password successfully"
    except:
    print "Password change failed"
    dumpStack()
    throws:
    Connecting to t3://localhost:7003 with userid weblogic ...
    This Exception occurred at Mon Feb 23 11:50:18 PST 2009.
    javax.naming.AuthenticationException [Root exception is java.lang.SecurityException: User: weblogic, failed to be authenticated.]
         at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:42)
         at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLInitialContextFactoryDelegate.java:773)
         at weblogic.jndi.WLInitialContextFactoryDelegate.pushSubject(WLInitialContextFactoryDelegate.java:670)
         at weblogic.jndi.WLInitialContextFactoryDelegate.newContext(WLInitialContextFactoryDelegate.java:466)
         at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:373)
         at weblogic.jndi.Environment.getContext(Environment.java:307)
         at weblogic.jndi.Environment.getContext(Environment.java:277)
         at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:117)
         at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
         at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
         at javax.naming.InitialContext.init(InitialContext.java:223)
         at javax.naming.InitialContext.<init>(InitialContext.java:197)
         at weblogic.management.scripting.WLSTHelper.populateInitialContext(WLSTHelper.java:498)
         at weblogic.management.scripting.WLSTHelper.initDeprecatedConnection(WLSTHelper.java:551)
         at weblogic.management.scripting.WLSTHelper.initConnections(WLSTHelper.java:303)
         at weblogic.management.scripting.WLSTHelper.connect(WLSTHelper.java:201)
         at weblogic.management.scripting.WLScriptContext.connect(WLScriptContext.java:60)
         at weblogic.management.scripting.utils.WLSTUtil.initializeOnlineWLST(WLSTUtil.java:121)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:160)
         at org.python.core.PyMethod.__call__(PyMethod.java:96)
         at org.python.core.PyObject.__call__(PyObject.java:248)
         at org.python.core.PyObject.invoke(PyObject.java:2016)
         at org.python.pycode._pyx6.connect$1(<iostream>:16)
         at org.python.pycode._pyx6.call_function(<iostream>)
         at org.python.core.PyTableCode.call(PyTableCode.java:208)
         at org.python.core.PyTableCode.call(PyTableCode.java:404)
         at org.python.core.PyTableCode.call(PyTableCode.java:287)
         at org.python.core.PyFunction.__call__(PyFunction.java:179)
         at org.python.pycode._pyx18.f$0(/tmp/ResetWLPassword.py:20)
         at org.python.pycode._pyx18.call_function(/tmp/ResetWLPassword.py)
         at org.python.core.PyTableCode.call(PyTableCode.java:208)
         at org.python.core.PyCode.call(PyCode.java:14)
         at org.python.core.Py.runCode(Py.java:1135)
         at org.python.util.PythonInterpreter.execfile(PythonInterpreter.java:167)
         at weblogic.management.scripting.WLST.main(WLST.java:106)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at weblogic.WLST.main(WLST.java:29)
    Caused by: java.lang.SecurityException: User: weblogic, failed to be authenticated.
         at weblogic.common.internal.RMIBootServiceImpl.authenticate(RMIBootServiceImpl.java:116)
         at weblogic.common.internal.RMIBootServiceImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:479)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(Unknown Source)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:475)
         at weblogic.rmi.internal.BasicServerRef.access$300(BasicServerRef.java:59)
         at weblogic.rmi.internal.BasicServerRef$BasicExecuteRequest.run(BasicServerRef.java:1016)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
    Could not connect using supplied credentials
    Changing password ...
    Password change failed

  • Changing passwords of oracle users

    Dear all
    I wander is there any problem if changing password of oracle users SAPOWNER, system,sys . (I guess command for that is brconnect -u system/<password> -f chpass -o <sapowner> -p <password>
    ). What about sys and system. (I hope that after changing passwords the system will be functional)
    Which user is used when "sqlplus / as sysdba"
    thank you in advance

    Hello Jan,
    I wander is there any problem if changing password of oracle users SAPOWNER, system,sys
    Well we already discussed the SAPOWNER here: http://forums.sdn.sap.com/message.jspa?messageID=10814500#10814500
    If you change the password of SYSTEM or SYS there will be no problem at all. These users/password combination is not used in a SAP environment unless you explicitly specify the SYSTEM user and password in some BR*Tools calls like brconnect. If you just use the "/" default approach, the OS authentication mechanism (OSDBA) is used - so no issue there at all.
    @Orkun:
    This is not a user, but a role. So when you connect to the database by using "/as sysdba" you will be able to connect to the system by sysdba role not by a user.
    If you use this apporach you are connected with the user SYS - so you are using a user for sure (and btw. you can only logon with SYS by using SYSDBA role). The only difference between "sqlplus / as sysdba" and "sqlplus SYS as sysdba" is, that you are using the specified OSDBA group with the first approach (so no password is required).
    shell> pwd
    /oracle/<SID>/11202/rdbms/lib
    shell> grep dba config.s
    #  SS_DBA_GRP defines the UNIX group ID for sqldba adminstrative access.
            .rename H.16.ss_dba_grp{TC},"ss_dba_grp"
            .globl  ss_dba_grp{RW}
    T.16.ss_dba_grp:
            .tc     H.16.ss_dba_grp{TC},ss_dba_grp{RW}
            .csect  ss_dba_grp{RW}, 3
    # End   csect   ss_dba_grp{RW}
            .string "dba"
    shell> sqlplus / as sysdba
    SQL> SELECT sys_context('USERENV', 'SESSION_USER') FROM DUAL;
    SYS_CONTEXT('USERENV','SESSION_USER')
    SYS
    shell> sqlplus SYS as SYSDBA
    Enter password:
    SQL> SELECT sys_context('USERENV', 'SESSION_USER') FROM DUAL;
    SYS_CONTEXT('USERENV','SESSION_USER')
    SYS
    Regards
    Stefan

  • Change PAssword of  multiple Users

    Hi All,
             I want to Change the password of a user  without asking me dialog box.
    Actullay i used BAPI_USER_CHANGE FM to change the password.
    After exectuing the FM when i logon once again it is asking me for new password and repeat password in dialog box.
    But my requirement is when i give username and will give new password and thepassword should change without asking me anything in the dialog box.Is there any FM o change like that .
    This is very urgent can anybodyu help me out Please.
    I will reward points.
    Thanks

    Hi Swapna,
    When you change the password SAP will once again ask you for the new password. Not sure if there is any alternative.
    Regards,
    Atish

  • R/3 Users of Type system Change Passwords

    Hi,
    I have the following scenario, I have users from R/3 that can access portals, but i don't want them to access from dialog in R/3. I created them of type user "B" as "system users".
    How can i change the passwords of them in portals, like a service for "changing passwords" or "forgot passwords"?
    Should i created them as other type? But the others types can access dialog?
    regards,
         Cesar Felce

    Hi GLM,
        I don't want to disable the passwords, i just want them to be able to change their passwords from the portal.
        Let me explain my scenario again, I have many students that have a R/3 user account, but they only use sap from a WD4A applications so thay can update personal data and so on. The thing is thay they are users in R/3 of type system, because i don't want them to be able to enter form SAPGUI, but they can't change their passwords.
      Student -> enter portals -> change password.
      Student -> enter SAPGUI -> can't access. 
      We have the single sign on.
      thanks for the help,
          Cesar Felce

  • Communication user is not requested change password

    Hi
    We have set a general rule, that users must change password every 90 days (login/password_expiration_time). We have now had a communication user in the system for more than 5 months, and the password is still not expired.
    How can this be? Shouldn't communication users be forced to change the password?
    In table USR02 I can see a field XUPWDSTATE - "Password Change Mandatory / Optional (See Domain XUPWDSTATE)", but I can't find any documentation on this field. The values are 0,1,254,255. Does anybody know what these values mean and how/when they are set.
    Thank you for your help.
    Regards, Morten

    >
    Morten Ellgaard wrote:
    > Hi
    >
    > We have set a general rule, that users must change password every 90 days (login/password_expiration_time). We have now had a communication user in the system for more than 5 months, and the password is still not expired.
    >
    > How can this be? Shouldn't communication users be forced to change the password?
    >
    > In table USR02 I can see a field XUPWDSTATE - "Password Change Mandatory / Optional (See Domain XUPWDSTATE)", but I can't find any documentation on this field. The values are 0,1,254,255. Does anybody know what these values mean and how/when they are set.
    >
    > Thank you for your help.
    >
    > Regards, Morten
    Well, that's a common misunderstanding:
    accounts of type "COMMUNICATION user" are subject of password expiration - however the password change requirement is not enforced (since the server cannot interact with the user). Actually that's not mainly caused by the user type but by the communication protocol being used: RFC and HTTP allow both, interactive and non-interactive system usage. Only the DIAG protocol (used by SAPGUI) ensures that an interaction with the user is possible - and in this case the system is enforcing a password change (when required).
    Note 622464 provides an overview on the user types and the ability / requirement to change passwords (and other impacts).
    Side-remark: modifying the USR02 field would not have any impact on the password change handling (beside the fact that such direct table manipulations are risky and strongly discouraged).
    As reported by other SDN community members (and stated in note 320991, quite at the end) there are some profile parameters that will cause RFC and HTTP based logon to fail for passwords which are expired / initial. Setting those profile parameters will result in a downwards-incompatible system behavior - for this reason the default setting is "off".
    Indeed, if you intend to use "technical accounts" for (automated) system-to-system communication, then kindly use the user type "SYSTEM". In that case, the password is neither "expired" nor "initial" - no password change is required nor can it be performed by the SYSTEM user itself. Only an user administrator can set a new password (in systems as of NWAS 7.0: even a downwards-compatible one - despite the password policy, see notes referenced by note 622464).

  • Com.sap.db.jdbc.exceptions.JDBCDriverException:user is forced to change password

    Hi all
    I am trying to connect hana using jdbc code
    here is my code
              Class.forName("com.sap.db.jdbc.Driver");
                String url = "jdbc:sap://host:30015/?";
                String user = "Mujadid";
                String password = "Cloud123";
                System.out.println("try to connect to HANA !");
                Connection cn = java.sql.DriverManager.getConnection(url, user, password);
                System.out.println("Connection to HANA successful!");
                ResultSet rs = cn.createStatement().executeQuery("select * from _SYS_STATISTICS.STATISTICS_ALERTS");
                rs.next();
                System.out.println(rs.getString(1));
    I am facing following exception
    com.sap.db.jdbc.exceptions.JDBCDriverException: SAP DBTech JDBC: [414]: user is forced to change password: alter password required for user MUJADID
      at com.sap.db.jdbc.exceptions.SQLExceptionSapDB.createException(SQLExceptionSapDB.java:345)
    Any suggestion?

    Hi Mathan!
    now above error is esolved
    But i m facing following error when i try to read connections table from live2 schema
    com.sap.db.jdbc.exceptions.JDBCDriverException: SAP DBTech JDBC: [259] (at 20): invalid table name:  Could not find table/view CONNECTIONS in schema LIVE2
    and this table exist in LIVE2 schema
    Any suggestion?

Maybe you are looking for

  • Creating a share in 10.5 and connecting  with XP or Vista - My Experience

    Here was my situation. Client has a machine now running 10.5 on it that is sharing an external drive on the network for other mac users in the office to use as well as 3 Windows machines. I tested with an xp machine as well as a vista machine. The pr

  • How to set up an clasic TS-desktop with Windows 2012 (R2)?

    Hi, How to set up an clasic TS-desktop with Windows 2012 (R2)? Witch Roles and Features do I need, RD Session Host, RD Connection Broker, RD Licensing? /SaiTech

  • How to change highlight color in Preview quickly?

    I do a lot of reading and annotating of PDFs using Preview. While I love just about everything about this program, my only complaint (if it could be called that) is that I can't figure out a quick way to cycle through the highlight colors without usi

  • IPhone 4 won't install new apps.

    Will only update old apps. When I select to install and enter my iTunes password, it flickers and goes from "installing" back to "free" or "buy". I've tried restoring and that did not help. This problem began after installing iOS 6.

  • Activate design manager (sandbox) solution using power shell - SP2013

    Hi All, I have a  design manager (sandbox) solution and deployed in site collection. I am trying to upload the new version using power shell. Uninstall-SPUserSolution , Remove-SPUserSolution, Add-SPUserSolution and finally doing Install-SPUserSolutio