Changes to Indexserver.ini File for Password Policy in SAP HANA

SAP ABAP Expert
Updated on 30-Jul-2019 22:30:21

335 Views

It is recommended that password policy should be configured using Security editor of SAP HANA Studio however this can also be done by editing indexserver.ini file.Note that direct changes to the indexserver.ini file cannot be audited.

Call JavaScript Function on Form Submit

mkotla
Updated on 30-Jul-2019 22:30:21

16K+ Views

The onsubmit event occurs when you try to submit a form. You can put your form validation against this event type. The following example shows how to use onsubmit. Here we are calling a validate() function before submitting a form data to the webserver. If validate() function returns true, the form will be submitted, otherwise it will not submit the data.     The HTML code snippet. …

Java String contains() Method Example

Manikanth Mani
Updated on 30-Jul-2019 22:30:21

156 Views

The contains() method of the String class returns true if and only if this string contains the specified sequence of char values.Example Live Demoimport java.lang.*; public class StringDemo {    public static void main(String[] args) {       String str1 = "tutorials point", str2 = "http://";       CharSequence cs1 = "int";             //string contains the specified sequence of char values       boolean retval = str1.contains(cs1);       System.out.println("Method returns : " + retval);             //string does not contain the specified sequence of char value       retval = str2.contains("_");       System.out.println("Methods returns: " + retval);    } }OutputMethod returns : true Methods returns: false

Why Can't Static Method Be Abstract in Java

radhakrishna
Updated on 30-Jul-2019 22:30:21

2K+ Views

A static method belongs to class not to object instance thus it cannot be overridden or implemented in a child class. So there is no use of making a static method as abstract.

Password Policy Parameter in Multi-Container System in SAP HANA

SAP ABAP Expert
Updated on 30-Jul-2019 22:30:21

236 Views

In SAP HANA, password policy parameters for the system database of a multiple-container system are maintained in the namesever.ini file and not the indexserver.ini file.

System View to Maintain Password Parameter in SAP HANA

SAP ABAP Expert
Updated on 30-Jul-2019 22:30:21

342 Views

The system view M_PASSWORD_POLICY contains the parameters and their current values.

Stop an Infinite Loop Safely in Python

Pythonista
Updated on 30-Jul-2019 22:30:21

444 Views

Infinite loop is the one that doesn't stop on its own. It happens when the looping condition continues to remain true forever. In such a case, the loop must be forcibly stopped by pressing ctrl-C to generate keyboard interrupt

Convert List to int in Java

Sreemaha
Updated on 30-Jul-2019 22:30:21

974 Views

You can simply iterate through list and fill the array as shown below −import java.util.ArrayList; import java.util.List; public class Tester {    public static void main(String[] args) {       List list = new ArrayList();       list.add(new Integer(1));       list.add(new Integer(2));       list.add(new Integer(3));       list.add(new Integer(4));       int[] array = new int[list.size()];       for(int i=0;i

Show a Foreach Loop Using a Flow Chart in JavaScript

Srinivas Gorla
Updated on 30-Jul-2019 22:30:21

1K+ Views

The following shows foreach loop using flow chart:

Difference Between Declaring a Variable Before or In a Java Loop

Giri Raju
Updated on 30-Jul-2019 22:30:21

136 Views

Performance wise, there is hardly any difference. But it is good to keep a variable local to the scope it is used. So declaring a variable inside Java loop is generally preferred.

Advertisements