Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

how the ume setter methods works

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

Former Member
2 REPLIES 2

Former Member

0 Kudos

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