Information Disclosure by Test, Old and Backup Files OWASP Information disclosure by test, old and backup files that are not required for the application. This is one of the security vulnerability with info risk. We need to remove the unwanted test files. old files and backup files. Backup files and test files keep outside fo […]
Tag: Java
How to compare two lists equal in java
How to compare two lists equal in java How to compare two lists either equal or not by using list equal method in java. If two lists are equal then it will true else it will return false. List following the index order and comparing the data. String type List following Case Sensitive. So be […]
JSON File to Java Example
JSON File to Java Example In this article, I am going to show how to parse the JSON file to java object. Suppose we have a JSON file and we need to parse the JSON data into java object to perform the operations Pre-Requisites Java 1.8 Google JSON Eclipse IDE Maven In the eclipse create […]
Java SFTP Connection Shell Script Execute
Java SFTP Connection Shell Script Execute In this article, I am going to explain how to connect the SFTP server from Java API, how transfer files from the local system to remote SFTP server and how to execute remote shell scripts from java? Pre-Requisites Java 1.8 JSch.jar Eclipse IDE Maven SftpShellChannel.java To get SFTP […]
Java SFTP Connection Files Transfer
Java SFTP Connection Files Transfer In this article, I am going to show SFTP connection with java, transfer files from the local system to the remote system. Here we are going to using the JSch library to connect SFTP/STP server. Pre-Requisites Java 1.8 JSch.jar Eclipse IDE Maven SftpChannel.java We need to get SFTP server […]
How to send a mail using java Office365 SMTP server
How to send a mail using java Office365 SMTP server In this article, I am going to show How to send a mail using java Office365 SMTP server, Office365 SMTP server details and how to connect Office365 from java Pre-Requisites java 1.8 Eclipse Java Mail API Office365 Connection Properties String USERNAME = “[email protected]”; String PASSWORD […]
How to decode Id Token in java
How to decode Id Token in java Id Token generated by the authorization server which contains the user information and authorization server details. Here I am sharing the java example program to decode the Id Token. Pre-Requisites java 1.8 Eclipse Create java maven project in eclipse the add the following pom.xml and java file into […]
How to Send Email Using Java Gmail SMTP Without SSL
How to import jar as a project in eclipse
How to install Java De-Compiler
How to install Java De-Compiler Java decompiler is very important to decompile the .class file into a .java file which is plain text file. So In this article, I am going to show how to install Java De-Compiler in windows and Linux/Unix systems. There are 2 ways to install java -decompiler in the systems JD-GUI […]