Merge pull request #6025 from amit2103/BAEL-11402
[BAEL-11402] - Moved articles out of core-java (part 3)
This commit is contained in:
		
						commit
						9053ecd128
					
				| @ -35,3 +35,5 @@ | |||||||
| - [Guide to Java OutputStream](https://www.baeldung.com/java-outputstream) | - [Guide to Java OutputStream](https://www.baeldung.com/java-outputstream) | ||||||
| - [Reading a CSV File into an Array](https://www.baeldung.com/java-csv-file-array) | - [Reading a CSV File into an Array](https://www.baeldung.com/java-csv-file-array) | ||||||
| - [Guide to BufferedReader](https://www.baeldung.com/java-buffered-reader) | - [Guide to BufferedReader](https://www.baeldung.com/java-buffered-reader) | ||||||
|  | - [How to Get the File Extension of a File in Java](http://www.baeldung.com/java-file-extension) | ||||||
|  | - [Getting a File’s Mime Type in Java](http://www.baeldung.com/java-file-mime-type) | ||||||
| @ -160,6 +160,17 @@ | |||||||
|             <version>${opencsv.version}</version> |             <version>${opencsv.version}</version> | ||||||
|             <scope>test</scope> |             <scope>test</scope> | ||||||
|         </dependency> |         </dependency> | ||||||
|  |         <!-- Mime Type Resolution Libraries --> | ||||||
|  |         <dependency> | ||||||
|  |             <groupId>org.apache.tika</groupId> | ||||||
|  |             <artifactId>tika-core</artifactId> | ||||||
|  |             <version>${tika.version}</version> | ||||||
|  |         </dependency> | ||||||
|  |         <dependency> | ||||||
|  |             <groupId>net.sf.jmimemagic</groupId> | ||||||
|  |             <artifactId>jmimemagic</artifactId> | ||||||
|  |             <version>${jmime-magic.version}</version> | ||||||
|  |         </dependency> | ||||||
|     </dependencies> |     </dependencies> | ||||||
| 
 | 
 | ||||||
|     <build> |     <build> | ||||||
| @ -264,6 +275,9 @@ | |||||||
|         <esapi.version>2.1.0.1</esapi.version> |         <esapi.version>2.1.0.1</esapi.version> | ||||||
|         <jmh-generator-annprocess.version>1.19</jmh-generator-annprocess.version> |         <jmh-generator-annprocess.version>1.19</jmh-generator-annprocess.version> | ||||||
|         <async-http-client.version>2.4.5</async-http-client.version> |         <async-http-client.version>2.4.5</async-http-client.version> | ||||||
|  |         <!-- Mime Type Libraries --> | ||||||
|  |         <tika.version>1.18</tika.version> | ||||||
|  |         <jmime-magic.version>0.1.5</jmime-magic.version> | ||||||
|     </properties> |     </properties> | ||||||
| 
 | 
 | ||||||
| </project> | </project> | ||||||
| Before Width: | Height: | Size: 54 KiB After Width: | Height: | Size: 54 KiB | 
							
								
								
									
										11
									
								
								core-java-security/README.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								core-java-security/README.md
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,11 @@ | |||||||
|  | ## Core Java Security  | ||||||
|  | 
 | ||||||
|  | ### Relevant Articles:  | ||||||
|  | - [MD5 Hashing in Java](http://www.baeldung.com/java-md5) | ||||||
|  | - [Guide to the Cipher Class](http://www.baeldung.com/java-cipher-class) | ||||||
|  | - [Introduction to SSL in Java](http://www.baeldung.com/java-ssl) | ||||||
|  | - [Java KeyStore API](http://www.baeldung.com/java-keystore) | ||||||
|  | - [Encrypting and Decrypting Files in Java](http://www.baeldung.com/java-cipher-input-output-stream) | ||||||
|  | - [Hashing a Password in Java](https://www.baeldung.com/java-password-hashing) | ||||||
|  | - [SSL Handshake Failures](https://www.baeldung.com/java-ssl-handshake-failures) | ||||||
|  | - [SHA-256 Hashing in Java](https://www.baeldung.com/sha-256-hashing-java) | ||||||
							
								
								
									
										55
									
								
								core-java-security/pom.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										55
									
								
								core-java-security/pom.xml
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,55 @@ | |||||||
|  | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||||||
|  |          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||||||
|  |     <modelVersion>4.0.0</modelVersion> | ||||||
|  |     <groupId>com.baeldung</groupId> | ||||||
|  |     <artifactId>core-java-security</artifactId> | ||||||
|  |     <version>0.1.0-SNAPSHOT</version> | ||||||
|  |     <packaging>jar</packaging> | ||||||
|  |     <name>core-java-security</name> | ||||||
|  | 
 | ||||||
|  |     <parent> | ||||||
|  |         <groupId>com.baeldung</groupId> | ||||||
|  |         <artifactId>parent-java</artifactId> | ||||||
|  |         <version>0.0.1-SNAPSHOT</version> | ||||||
|  |         <relativePath>../parent-java</relativePath> | ||||||
|  |     </parent> | ||||||
|  | 
 | ||||||
|  |     <dependencies> | ||||||
|  |         <dependency> | ||||||
|  |             <groupId>org.apache.commons</groupId> | ||||||
|  |             <artifactId>commons-lang3</artifactId> | ||||||
|  |             <version>${commons-lang3.version}</version> | ||||||
|  |         </dependency> | ||||||
|  |         <!-- test scoped --> | ||||||
|  |         <dependency> | ||||||
|  |             <groupId>org.assertj</groupId> | ||||||
|  |             <artifactId>assertj-core</artifactId> | ||||||
|  |             <version>${assertj-core.version}</version> | ||||||
|  |             <scope>test</scope> | ||||||
|  |         </dependency> | ||||||
|  | 
 | ||||||
|  |         <dependency> | ||||||
|  |             <groupId>commons-codec</groupId> | ||||||
|  |             <artifactId>commons-codec</artifactId> | ||||||
|  |             <version>${commons-codec.version}</version> | ||||||
|  |         </dependency> | ||||||
|  |         <dependency> | ||||||
|  |             <groupId>org.bouncycastle</groupId> | ||||||
|  |             <artifactId>bcprov-jdk15on</artifactId> | ||||||
|  |             <version>${bouncycastle.version}</version> | ||||||
|  |         </dependency> | ||||||
|  |     </dependencies> | ||||||
|  | 
 | ||||||
|  |     <properties> | ||||||
|  | 
 | ||||||
|  |         <!-- util --> | ||||||
|  |         <commons-lang3.version>3.8.1</commons-lang3.version> | ||||||
|  |         <bouncycastle.version>1.55</bouncycastle.version> | ||||||
|  |         <commons-codec.version>1.10</commons-codec.version> | ||||||
|  | 
 | ||||||
|  |         <!-- testing --> | ||||||
|  |         <assertj-core.version>3.10.0</assertj-core.version> | ||||||
|  |        | ||||||
|  |     </properties> | ||||||
|  | 
 | ||||||
|  | </project> | ||||||
							
								
								
									
										19
									
								
								core-java-security/src/main/resources/logback.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								core-java-security/src/main/resources/logback.xml
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,19 @@ | |||||||
|  | <?xml version="1.0" encoding="UTF-8"?> | ||||||
|  | <configuration> | ||||||
|  |     <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> | ||||||
|  |         <encoder> | ||||||
|  |             <pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n | ||||||
|  |             </pattern> | ||||||
|  |         </encoder> | ||||||
|  |     </appender> | ||||||
|  | 
 | ||||||
|  |     <logger name="org.springframework" level="WARN" /> | ||||||
|  |     <logger name="org.springframework.transaction" level="WARN" /> | ||||||
|  | 
 | ||||||
|  |     <!-- in order to debug some marshalling issues, this needs to be TRACE --> | ||||||
|  |     <logger name="org.springframework.web.servlet.mvc" level="WARN" /> | ||||||
|  | 
 | ||||||
|  |     <root level="INFO"> | ||||||
|  |         <appender-ref ref="STDOUT" /> | ||||||
|  |     </root> | ||||||
|  | </configuration> | ||||||
| @ -5,7 +5,6 @@ | |||||||
| ### Relevant Articles:  | ### Relevant Articles:  | ||||||
| - [Java Timer](http://www.baeldung.com/java-timer-and-timertask) | - [Java Timer](http://www.baeldung.com/java-timer-and-timertask) | ||||||
| - [How to Run a Shell Command in Java](http://www.baeldung.com/run-shell-command-in-java) | - [How to Run a Shell Command in Java](http://www.baeldung.com/run-shell-command-in-java) | ||||||
| - [MD5 Hashing in Java](http://www.baeldung.com/java-md5) |  | ||||||
| - [How to Print Screen in Java](http://www.baeldung.com/print-screen-in-java) | - [How to Print Screen in Java](http://www.baeldung.com/print-screen-in-java) | ||||||
| - [A Guide To Java Regular Expressions API](http://www.baeldung.com/regular-expressions-java) | - [A Guide To Java Regular Expressions API](http://www.baeldung.com/regular-expressions-java) | ||||||
| - [Getting Started with Java Properties](http://www.baeldung.com/java-properties) | - [Getting Started with Java Properties](http://www.baeldung.com/java-properties) | ||||||
| @ -24,7 +23,6 @@ | |||||||
| - [Creating a Java Compiler Plugin](http://www.baeldung.com/java-build-compiler-plugin) | - [Creating a Java Compiler Plugin](http://www.baeldung.com/java-build-compiler-plugin) | ||||||
| - [Quick Guide to Java Stack](http://www.baeldung.com/java-stack) | - [Quick Guide to Java Stack](http://www.baeldung.com/java-stack) | ||||||
| - [Guide to java.util.Formatter](http://www.baeldung.com/java-string-formatter) | - [Guide to java.util.Formatter](http://www.baeldung.com/java-string-formatter) | ||||||
| - [Guide to the Cipher Class](http://www.baeldung.com/java-cipher-class) |  | ||||||
| - [Compiling Java *.class Files with javac](http://www.baeldung.com/javac) | - [Compiling Java *.class Files with javac](http://www.baeldung.com/javac) | ||||||
| - [A Guide to Iterator in Java](http://www.baeldung.com/java-iterator) | - [A Guide to Iterator in Java](http://www.baeldung.com/java-iterator) | ||||||
| - [Introduction to Javadoc](http://www.baeldung.com/javadoc) | - [Introduction to Javadoc](http://www.baeldung.com/javadoc) | ||||||
| @ -35,27 +33,20 @@ | |||||||
| - [What is the serialVersionUID?](http://www.baeldung.com/java-serial-version-uid) | - [What is the serialVersionUID?](http://www.baeldung.com/java-serial-version-uid) | ||||||
| - [A Guide to the ResourceBundle](http://www.baeldung.com/java-resourcebundle) | - [A Guide to the ResourceBundle](http://www.baeldung.com/java-resourcebundle) | ||||||
| - [Class Loaders in Java](http://www.baeldung.com/java-classloaders) | - [Class Loaders in Java](http://www.baeldung.com/java-classloaders) | ||||||
| - [Introduction to SSL in Java](http://www.baeldung.com/java-ssl) |  | ||||||
| - [Java KeyStore API](http://www.baeldung.com/java-keystore) |  | ||||||
| - [Double-Checked Locking with Singleton](http://www.baeldung.com/java-singleton-double-checked-locking) | - [Double-Checked Locking with Singleton](http://www.baeldung.com/java-singleton-double-checked-locking) | ||||||
| - [Guide to Java Clock Class](http://www.baeldung.com/java-clock) | - [Guide to Java Clock Class](http://www.baeldung.com/java-clock) | ||||||
| - [Importance of Main Manifest Attribute in a Self-Executing JAR](http://www.baeldung.com/java-jar-executable-manifest-main-class) | - [Importance of Main Manifest Attribute in a Self-Executing JAR](http://www.baeldung.com/java-jar-executable-manifest-main-class) | ||||||
| - [How to Get the File Extension of a File in Java](http://www.baeldung.com/java-file-extension) |  | ||||||
| - [Java Global Exception Handler](http://www.baeldung.com/java-global-exception-handler) | - [Java Global Exception Handler](http://www.baeldung.com/java-global-exception-handler) | ||||||
| - [Encrypting and Decrypting Files in Java](http://www.baeldung.com/java-cipher-input-output-stream) |  | ||||||
| - [How to Get the Size of an Object in Java](http://www.baeldung.com/java-size-of-object) | - [How to Get the Size of an Object in Java](http://www.baeldung.com/java-size-of-object) | ||||||
| - [Guide to Java Instrumentation](http://www.baeldung.com/java-instrumentation) | - [Guide to Java Instrumentation](http://www.baeldung.com/java-instrumentation) | ||||||
| - [Getting a File’s Mime Type in Java](http://www.baeldung.com/java-file-mime-type) |  | ||||||
| - [Common Java Exceptions](http://www.baeldung.com/java-common-exceptions) | - [Common Java Exceptions](http://www.baeldung.com/java-common-exceptions) | ||||||
| - [Throw Exception in Optional in Java 8](https://www.baeldung.com/java-optional-throw-exception) | - [Throw Exception in Optional in Java 8](https://www.baeldung.com/java-optional-throw-exception) | ||||||
| - [Add a Character to a String at a Given Position](https://www.baeldung.com/java-add-character-to-string) | - [Add a Character to a String at a Given Position](https://www.baeldung.com/java-add-character-to-string) | ||||||
| - [Calculating the nth Root in Java](https://www.baeldung.com/java-nth-root) | - [Calculating the nth Root in Java](https://www.baeldung.com/java-nth-root) | ||||||
| - [Convert Double to String, Removing Decimal Places](https://www.baeldung.com/java-double-to-string) | - [Convert Double to String, Removing Decimal Places](https://www.baeldung.com/java-double-to-string) | ||||||
| - [ZoneOffset in Java](https://www.baeldung.com/java-zone-offset) | - [ZoneOffset in Java](https://www.baeldung.com/java-zone-offset) | ||||||
| - [Hashing a Password in Java](https://www.baeldung.com/java-password-hashing) |  | ||||||
| - [Merging java.util.Properties Objects](https://www.baeldung.com/java-merging-properties) | - [Merging java.util.Properties Objects](https://www.baeldung.com/java-merging-properties) | ||||||
| - [A Guide to SimpleDateFormat](https://www.baeldung.com/java-simple-date-format) | - [A Guide to SimpleDateFormat](https://www.baeldung.com/java-simple-date-format) | ||||||
| - [SSL Handshake Failures](https://www.baeldung.com/java-ssl-handshake-failures) |  | ||||||
| - [Changing the Order in a Sum Operation Can Produce Different Results?](https://www.baeldung.com/java-floating-point-sum-order) | - [Changing the Order in a Sum Operation Can Produce Different Results?](https://www.baeldung.com/java-floating-point-sum-order) | ||||||
| - [Java – Try with Resources](https://www.baeldung.com/java-try-with-resources) | - [Java – Try with Resources](https://www.baeldung.com/java-try-with-resources) | ||||||
| - [Abstract Classes in Java](https://www.baeldung.com/java-abstract-class) | - [Abstract Classes in Java](https://www.baeldung.com/java-abstract-class) | ||||||
|  | |||||||
| @ -24,11 +24,6 @@ | |||||||
|             <artifactId>commons-lang3</artifactId> |             <artifactId>commons-lang3</artifactId> | ||||||
|             <version>${commons-lang3.version}</version> |             <version>${commons-lang3.version}</version> | ||||||
|         </dependency> |         </dependency> | ||||||
|         <dependency> |  | ||||||
|             <groupId>org.bouncycastle</groupId> |  | ||||||
|             <artifactId>bcprov-jdk15on</artifactId> |  | ||||||
|             <version>${bouncycastle.version}</version> |  | ||||||
|         </dependency> |  | ||||||
|         <dependency> |         <dependency> | ||||||
|             <groupId>org.unix4j</groupId> |             <groupId>org.unix4j</groupId> | ||||||
|             <artifactId>unix4j-command</artifactId> |             <artifactId>unix4j-command</artifactId> | ||||||
| @ -75,12 +70,6 @@ | |||||||
|             <version>${assertj-core.version}</version> |             <version>${assertj-core.version}</version> | ||||||
|             <scope>test</scope> |             <scope>test</scope> | ||||||
|         </dependency> |         </dependency> | ||||||
| 
 |  | ||||||
|         <dependency> |  | ||||||
|             <groupId>commons-codec</groupId> |  | ||||||
|             <artifactId>commons-codec</artifactId> |  | ||||||
|             <version>${commons-codec.version}</version> |  | ||||||
|         </dependency> |  | ||||||
|         <dependency> |         <dependency> | ||||||
|             <groupId>org.javamoney</groupId> |             <groupId>org.javamoney</groupId> | ||||||
|             <artifactId>moneta</artifactId> |             <artifactId>moneta</artifactId> | ||||||
| @ -126,17 +115,6 @@ | |||||||
|             <artifactId>h2</artifactId> |             <artifactId>h2</artifactId> | ||||||
|             <version>${h2database.version}</version> |             <version>${h2database.version}</version> | ||||||
|         </dependency> |         </dependency> | ||||||
|         <!-- Mime Type Resolution Libraries --> |  | ||||||
|         <dependency> |  | ||||||
|             <groupId>org.apache.tika</groupId> |  | ||||||
|             <artifactId>tika-core</artifactId> |  | ||||||
|             <version>${tika.version}</version> |  | ||||||
|         </dependency> |  | ||||||
|         <dependency> |  | ||||||
|             <groupId>net.sf.jmimemagic</groupId> |  | ||||||
|             <artifactId>jmimemagic</artifactId> |  | ||||||
|             <version>${jmime-magic.version}</version> |  | ||||||
|         </dependency> |  | ||||||
|         <!-- instrumentation --> |         <!-- instrumentation --> | ||||||
|         <dependency> |         <dependency> | ||||||
|             <groupId>org.javassist</groupId> |             <groupId>org.javassist</groupId> | ||||||
| @ -477,8 +455,6 @@ | |||||||
| 
 | 
 | ||||||
|         <!-- util --> |         <!-- util --> | ||||||
|         <commons-lang3.version>3.5</commons-lang3.version> |         <commons-lang3.version>3.5</commons-lang3.version> | ||||||
|         <bouncycastle.version>1.55</bouncycastle.version> |  | ||||||
|         <commons-codec.version>1.10</commons-codec.version> |  | ||||||
|         <commons-io.version>2.5</commons-io.version> |         <commons-io.version>2.5</commons-io.version> | ||||||
|         <commons-math3.version>3.6.1</commons-math3.version> |         <commons-math3.version>3.6.1</commons-math3.version> | ||||||
|         <decimal4j.version>1.0.3</decimal4j.version> |         <decimal4j.version>1.0.3</decimal4j.version> | ||||||
| @ -509,9 +485,6 @@ | |||||||
|         <spring-boot-maven-plugin.version>2.0.3.RELEASE</spring-boot-maven-plugin.version> |         <spring-boot-maven-plugin.version>2.0.3.RELEASE</spring-boot-maven-plugin.version> | ||||||
|         <exec-maven-plugin.version>1.6.0</exec-maven-plugin.version> |         <exec-maven-plugin.version>1.6.0</exec-maven-plugin.version> | ||||||
|         <icu4j.version>61.1</icu4j.version> |         <icu4j.version>61.1</icu4j.version> | ||||||
|         <!-- Mime Type Libraries --> |  | ||||||
|         <tika.version>1.18</tika.version> |  | ||||||
|         <jmime-magic.version>0.1.5</jmime-magic.version> |  | ||||||
|         <!-- instrumentation --> |         <!-- instrumentation --> | ||||||
|         <javaassist.version>3.21.0-GA</javaassist.version> |         <javaassist.version>3.21.0-GA</javaassist.version> | ||||||
|          |          | ||||||
|  | |||||||
| @ -18,4 +18,3 @@ | |||||||
| - [Hamcrest Text Matchers](http://www.baeldung.com/hamcrest-text-matchers) | - [Hamcrest Text Matchers](http://www.baeldung.com/hamcrest-text-matchers) | ||||||
| - [Quick Guide to the Guava RateLimiter](http://www.baeldung.com/guava-rate-limiter) | - [Quick Guide to the Guava RateLimiter](http://www.baeldung.com/guava-rate-limiter) | ||||||
| - [Hamcrest File Matchers](https://www.baeldung.com/hamcrest-file-matchers) | - [Hamcrest File Matchers](https://www.baeldung.com/hamcrest-file-matchers) | ||||||
| - [SHA-256 Hashing in Java](https://www.baeldung.com/sha-256-hashing-java) |  | ||||||
|  | |||||||
							
								
								
									
										2
									
								
								pom.xml
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								pom.xml
									
									
									
									
									
								
							| @ -383,6 +383,7 @@ | |||||||
|                 <module>core-java-concurrency-basic</module> |                 <module>core-java-concurrency-basic</module> | ||||||
|                 <module>core-java-concurrency-collections</module> |                 <module>core-java-concurrency-collections</module> | ||||||
|                 <module>core-java-io</module> |                 <module>core-java-io</module> | ||||||
|  |                 <module>core-java-security</module> | ||||||
|                 <module>core-java-lang-syntax</module> |                 <module>core-java-lang-syntax</module> | ||||||
|                 <module>core-java-lang</module> |                 <module>core-java-lang</module> | ||||||
|                 <module>core-java-lang-oop</module> |                 <module>core-java-lang-oop</module> | ||||||
| @ -1095,6 +1096,7 @@ | |||||||
|                 <module>core-java-concurrency-basic</module> |                 <module>core-java-concurrency-basic</module> | ||||||
|                 <module>core-java-concurrency-collections</module> |                 <module>core-java-concurrency-collections</module> | ||||||
|                 <module>core-java-io</module> |                 <module>core-java-io</module> | ||||||
|  |                 <module>core-java-security</module> | ||||||
|                 <module>core-java-lang-syntax</module> |                 <module>core-java-lang-syntax</module> | ||||||
|                 <module>core-java-lang</module> |                 <module>core-java-lang</module> | ||||||
|                 <module>core-java-lang-oop</module> |                 <module>core-java-lang-oop</module> | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user