01-10-2007 9:33 AM
Hi ,
I am using the UME Engine API of SAP Netweaver.
There are API's provide for the ume configuration like in the interface
ISecurityPolicy.
The following is mnetioned in the html guide:
"
UME4 Security Policy Description: Security Policy settings. Note: It is not possible to change the current security policy settings with the setter methods at runtime. If you want to change these settings, change the configuration and restart the server. "
Now i wrote the following code:
Here the initial password expire days is 99999
=======================================================
System.out.println( " Getting password expiry days " + remote.getPasswordExpiredDays());
System.out.println( " Setting password expiry days " );
remote.setPasswordExpiredDays(800) ;
System.out.println( " Getting password expiry days " + remote.getPasswordExpiredDays());
==================================================
Now the output was as follows:
Getting password expiry days 99999
Setting password expiry days
Getting password expiry days 800
Now the api shows the reflected changes.
Now i restarted the server.
Again i went into the VisualAdmin tool.
The old values are still present
i.e. Password expire days is 99999
I wanted to know how this setter api's work..
OR
Is it that we can change this ume security vlaues only from Visual Admin Tool
Regards
Manoj
01-10-2007 4:16 PM
Hi,
For more info. Go through the following link
http://help.sap.com/saphelp_nw2004s/helpdata/en/81/0e0f61b566dc44bbb4055b3ccd25be/frameset.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/26/49596e94f3db4199b409d9524888e2/frameset.htm
If you need more info let me know.
Cheers
Soma
01-10-2007 4:16 PM
Hi,
For more info. Go through the following link
http://help.sap.com/saphelp_nw2004s/helpdata/en/81/0e0f61b566dc44bbb4055b3ccd25be/frameset.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/26/49596e94f3db4199b409d9524888e2/frameset.htm
If you need more info let me know.
Cheers
Soma
01-11-2007 6:11 AM
Hi Soma,
Thanks for the response.
The links were very helpful for me.
But my doubt is still not cleared.
Whats the purpose of UME Setter Java API's.
As it is mentioned in the api document of IsecurityPolicy that if we change any values of the password policy ,then we need to restart the server.
So whats the use if i am writing a progarm and change the values programatically.
Because it would not be reflected.
My main question is should we use the setter api in our program
Does it really serve the purpose .
Regards
Manoj