Java-70 Rename modules in Spring Security modules

This commit is contained in:
mikr 2020-08-15 20:25:37 +02:00
parent 7784219a2e
commit 1d0488b576
60 changed files with 3 additions and 147 deletions

View File

@ -35,8 +35,7 @@
<module>spring-security-rest</module>
<module>spring-security-rest-basic-auth</module>
<module>spring-security-rest-custom</module>
<module>spring-security-sso</module>
<module>spring-security-stormpath</module>
<module>spring-security-oauth2-sso</module>
<module>spring-security-thymeleaf</module>
<module>spring-security-x509</module>
<module>spring-security-kotlin-dsl</module>

View File

@ -3,9 +3,9 @@
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>spring-security-sso</artifactId>
<artifactId>spring-security-oauth2-sso</artifactId>
<version>1.0.0-SNAPSHOT</version>
<name>spring-security-sso</name>
<name>spring-security-oauth2-sso</name>
<packaging>pom</packaging>
<parent>

View File

@ -1,7 +0,0 @@
## Spring Security Stormpath
This module contains articles about Spring Security with Stormpath
### Relevant articles
- [Spring Security with Stormpath](https://www.baeldung.com/spring-security-stormpath)

View File

@ -1,68 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<artifactId>spring-security-stormpath</artifactId>
<version>1.0-SNAPSHOT</version>
<name>spring-security-stormpath</name>
<packaging>war</packaging>
<url>http://maven.apache.org</url>
<developers>
<developer>
<email>abhinabkanrar@gmail.com</email>
<name>Abhinab Kanrar</name>
<url>https://github.com/AbhinabKanrar</url>
<id>abhinabkanrar</id>
</developer>
</developers>
<parent>
<groupId>com.baeldung</groupId>
<artifactId>parent-boot-1</artifactId>
<version>0.0.1-SNAPSHOT</version>
<relativePath>../../parent-boot-1</relativePath>
</parent>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>com.stormpath.spring</groupId>
<artifactId>stormpath-default-spring-boot-starter</artifactId>
<version>${stormpath-spring.version}</version>
</dependency>
</dependencies>
<build>
<finalName>spring-security-stormpath</finalName>
<resources>
<resource>
<directory>src/main/resources</directory>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<addResources>true</addResources>
</configuration>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<properties>
<stormpath-spring.version>1.5.4</stormpath-spring.version>
</properties>
</project>

View File

@ -1,25 +0,0 @@
/**
*
*/
package com.baeldung;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
/**
* @author abhinab
*
*/
@SpringBootApplication
public class Application implements CommandLineRunner {
@Override
public void run(String... args) throws Exception {
}
public static void main(String[] args) {
SpringApplication.run(Application.class, args);
}
}

View File

@ -1,24 +0,0 @@
/**
*
*/
package com.baeldung.security;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.config.annotation.web.builders.HttpSecurity;
import org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter;
import static com.stormpath.spring.config.StormpathWebSecurityConfigurer.stormpath;
/**
* @author abhinab
*
*/
@Configuration
public class SecurityConfiguration extends WebSecurityConfigurerAdapter {
@Override
protected void configure(HttpSecurity http) throws Exception {
http.apply(stormpath());
}
}

View File

@ -1,6 +0,0 @@
security.basic.enabled = false
stormpath.web.stormpathFilter.order = 0
stormpath.client.apiKey.id = 668HU0EOZQ7F4MT53ND2HSGBA
stormpath.client.apiKey.secret = RPTaYX07csTJR0AMKjM462KRdiP6q037kBWoDrBC3DI

View File

@ -1,13 +0,0 @@
<?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>
<root level="INFO">
<appender-ref ref="STDOUT" />
</root>
</configuration>