spaces instead of tabs in poms & json

This commit is contained in:
ch4mpy 2024-04-24 02:33:12 -10:00
parent f80faa08c8
commit bcd2fb94a4
9 changed files with 2583 additions and 2583 deletions

View File

@ -1,62 +1,62 @@
{ {
"realm": "baeldung", "realm": "baeldung",
"users": [ "users": [
{ {
"id": "bb83bd5b-b895-49aa-b62e-fde8ff8d5e64", "id": "bb83bd5b-b895-49aa-b62e-fde8ff8d5e64",
"username": "authorized", "username": "authorized",
"firstName": "authorized", "firstName": "authorized",
"lastName": "user", "lastName": "user",
"email": "authorized@baeldung.gg", "email": "authorized@baeldung.gg",
"emailVerified": true, "emailVerified": true,
"createdTimestamp": 1713615702990, "createdTimestamp": 1713615702990,
"enabled": true, "enabled": true,
"totp": false, "totp": false,
"credentials": [ "credentials": [
{ {
"id": "23d3b6ce-fa3c-4f6e-9b09-e7b3cefa00f6", "id": "23d3b6ce-fa3c-4f6e-9b09-e7b3cefa00f6",
"type": "password", "type": "password",
"userLabel": "My password", "userLabel": "My password",
"createdDate": 1713615715678, "createdDate": 1713615715678,
"secretData": "{\"value\":\"lCZEOiVbCynSkCWiWe67/5/PybB+Om5mhi6SynpGFPB+r2b+QEKNYsB7ibO2f1ur9UB2aMO7jfoBYQdTJMcHbQ==\",\"salt\":\"hrIbqMOt0L7PPEYh/PsLNQ==\",\"additionalParameters\":{}}", "secretData": "{\"value\":\"lCZEOiVbCynSkCWiWe67/5/PybB+Om5mhi6SynpGFPB+r2b+QEKNYsB7ibO2f1ur9UB2aMO7jfoBYQdTJMcHbQ==\",\"salt\":\"hrIbqMOt0L7PPEYh/PsLNQ==\",\"additionalParameters\":{}}",
"credentialData": "{\"hashIterations\":210000,\"algorithm\":\"pbkdf2-sha512\",\"additionalParameters\":{}}" "credentialData": "{\"hashIterations\":210000,\"algorithm\":\"pbkdf2-sha512\",\"additionalParameters\":{}}"
} }
], ],
"disableableCredentialTypes": [], "disableableCredentialTypes": [],
"requiredActions": [], "requiredActions": [],
"realmRoles": [ "realmRoles": [
"AUTHORIZED_PERSONNEL", "AUTHORIZED_PERSONNEL",
"default-roles-baeldung" "default-roles-baeldung"
], ],
"notBefore": 0, "notBefore": 0,
"groups": [] "groups": []
}, },
{ {
"id": "d205d854-547c-43cf-a02d-fd6c385b128b", "id": "d205d854-547c-43cf-a02d-fd6c385b128b",
"username": "forbidden", "username": "forbidden",
"firstName": "forbidden", "firstName": "forbidden",
"lastName": "user", "lastName": "user",
"email": "forbidden@baeldung.gg", "email": "forbidden@baeldung.gg",
"emailVerified": true, "emailVerified": true,
"createdTimestamp": 1713615781285, "createdTimestamp": 1713615781285,
"enabled": true, "enabled": true,
"totp": false, "totp": false,
"credentials": [ "credentials": [
{ {
"id": "2fa8244c-fba9-43d9-ab4d-80804ca26f6f", "id": "2fa8244c-fba9-43d9-ab4d-80804ca26f6f",
"type": "password", "type": "password",
"userLabel": "My password", "userLabel": "My password",
"createdDate": 1713615795357, "createdDate": 1713615795357,
"secretData": "{\"value\":\"sOUpOdi8yf31YbMEub+tAF7N55QHjrPjg48mO3/C1zGaAxLUYdLodf4upuy6w7eBuRrFaVa1m4mRe6wkWtmLIw==\",\"salt\":\"OMbZn6ojNyZdp6/k/72B/A==\",\"additionalParameters\":{}}", "secretData": "{\"value\":\"sOUpOdi8yf31YbMEub+tAF7N55QHjrPjg48mO3/C1zGaAxLUYdLodf4upuy6w7eBuRrFaVa1m4mRe6wkWtmLIw==\",\"salt\":\"OMbZn6ojNyZdp6/k/72B/A==\",\"additionalParameters\":{}}",
"credentialData": "{\"hashIterations\":210000,\"algorithm\":\"pbkdf2-sha512\",\"additionalParameters\":{}}" "credentialData": "{\"hashIterations\":210000,\"algorithm\":\"pbkdf2-sha512\",\"additionalParameters\":{}}"
} }
], ],
"disableableCredentialTypes": [], "disableableCredentialTypes": [],
"requiredActions": [], "requiredActions": [],
"realmRoles": [ "realmRoles": [
"default-roles-baeldung" "default-roles-baeldung"
], ],
"notBefore": 0, "notBefore": 0,
"groups": [] "groups": []
} }
] ]
} }

View File

@ -1,38 +1,38 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" <project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 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"> 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> <modelVersion>4.0.0</modelVersion>
<artifactId>spring-security-oauth2-testing</artifactId> <artifactId>spring-security-oauth2-testing</artifactId>
<name>spring-security-oauth2-testing</name> <name>spring-security-oauth2-testing</name>
<packaging>pom</packaging> <packaging>pom</packaging>
<description>spring-security 6 oauth testing sample project</description> <description>spring-security 6 oauth testing sample project</description>
<parent> <parent>
<groupId>com.baeldung</groupId> <groupId>com.baeldung</groupId>
<artifactId>parent-boot-3</artifactId> <artifactId>parent-boot-3</artifactId>
<version>0.0.1-SNAPSHOT</version> <version>0.0.1-SNAPSHOT</version>
<relativePath>../../parent-boot-3</relativePath> <relativePath>../../parent-boot-3</relativePath>
</parent> </parent>
<dependencyManagement> <dependencyManagement>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>com.c4-soft.springaddons</groupId> <groupId>com.c4-soft.springaddons</groupId>
<artifactId>spring-addons-oauth2-test</artifactId> <artifactId>spring-addons-oauth2-test</artifactId>
<version>${spring-addons.version}</version> <version>${spring-addons.version}</version>
</dependency> </dependency>
</dependencies> </dependencies>
</dependencyManagement> </dependencyManagement>
<modules> <modules>
<module>reactive-resource-server</module> <module>reactive-resource-server</module>
<module>servlet-resource-server</module> <module>servlet-resource-server</module>
</modules> </modules>
<properties> <properties>
<spring-addons.version>7.6.12</spring-addons.version> <spring-addons.version>7.6.12</spring-addons.version>
<maven.compiler.release>17</maven.compiler.release> <maven.compiler.release>17</maven.compiler.release>
</properties> </properties>
</project> </project>

View File

@ -1,61 +1,61 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" <project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>com.baeldung.spring-security-modules.testing</groupId> <groupId>com.baeldung.spring-security-modules.testing</groupId>
<artifactId>reactive-resource-server</artifactId> <artifactId>reactive-resource-server</artifactId>
<name>reactive-resource-server</name> <name>reactive-resource-server</name>
<description>Demo project for Spring Boot reactive resource-server</description> <description>Demo project for Spring Boot reactive resource-server</description>
<parent> <parent>
<groupId>com.baeldung</groupId> <groupId>com.baeldung</groupId>
<artifactId>spring-security-oauth2-testing</artifactId> <artifactId>spring-security-oauth2-testing</artifactId>
<version>0.0.1-SNAPSHOT</version> <version>0.0.1-SNAPSHOT</version>
<relativePath>..</relativePath> <relativePath>..</relativePath>
</parent> </parent>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-oauth2-resource-server</artifactId> <artifactId>spring-boot-starter-oauth2-resource-server</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-webflux</artifactId> <artifactId>spring-boot-starter-webflux</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.projectlombok</groupId> <groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId> <artifactId>lombok</artifactId>
<optional>true</optional> <optional>true</optional>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId> <artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.c4-soft.springaddons</groupId> <groupId>com.c4-soft.springaddons</groupId>
<artifactId>spring-addons-oauth2-test</artifactId> <artifactId>spring-addons-oauth2-test</artifactId>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
</dependencies> </dependencies>
<build> <build>
<plugins> <plugins>
<plugin> <plugin>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId> <artifactId>spring-boot-maven-plugin</artifactId>
<configuration> <configuration>
<excludes> <excludes>
<exclude> <exclude>
<groupId>org.projectlombok</groupId> <groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId> <artifactId>lombok</artifactId>
</exclude> </exclude>
</excludes> </excludes>
</configuration> </configuration>
</plugin> </plugin>
</plugins> </plugins>
</build> </build>
</project> </project>

View File

@ -1,15 +1,15 @@
{ {
"iss": "https://localhost:8443/realms/master", "iss": "https://localhost:8443/realms/master",
"sub": "281c4558-550c-413b-9972-2d2e5bde6b9b", "sub": "281c4558-550c-413b-9972-2d2e5bde6b9b",
"iat": 1695992542, "iat": 1695992542,
"exp": 1695992642, "exp": 1695992642,
"preferred_username": "ch4mpy", "preferred_username": "ch4mpy",
"realm_access": { "realm_access": {
"roles": [ "roles": [
"admin", "admin",
"ROLE_AUTHORIZED_PERSONNEL" "ROLE_AUTHORIZED_PERSONNEL"
] ]
}, },
"email": "ch4mp@c4-soft.com", "email": "ch4mp@c4-soft.com",
"scope": "openid email" "scope": "openid email"
} }

View File

@ -1,15 +1,15 @@
{ {
"iss": "https://localhost:8443/realms/master", "iss": "https://localhost:8443/realms/master",
"sub": "2d2e5bde6b9b-550c-413b-9972-281c4558", "sub": "2d2e5bde6b9b-550c-413b-9972-281c4558",
"iat": 1695992551, "iat": 1695992551,
"exp": 1695992651, "exp": 1695992651,
"preferred_username": "tonton-pirate", "preferred_username": "tonton-pirate",
"realm_access": { "realm_access": {
"roles": [ "roles": [
"uncle", "uncle",
"PIRATE" "PIRATE"
] ]
}, },
"email": "tonton-pirate@c4-soft.com", "email": "tonton-pirate@c4-soft.com",
"scope": "openid email" "scope": "openid email"
} }

View File

@ -1,61 +1,61 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" <project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>com.baeldung.spring-security-modules.testing</groupId> <groupId>com.baeldung.spring-security-modules.testing</groupId>
<artifactId>servlet-resource-server</artifactId> <artifactId>servlet-resource-server</artifactId>
<name>servlet-resource-server</name> <name>servlet-resource-server</name>
<description>Demo project for Spring Boot servlet resource-server</description> <description>Demo project for Spring Boot servlet resource-server</description>
<parent> <parent>
<groupId>com.baeldung</groupId> <groupId>com.baeldung</groupId>
<artifactId>spring-security-oauth2-testing</artifactId> <artifactId>spring-security-oauth2-testing</artifactId>
<version>0.0.1-SNAPSHOT</version> <version>0.0.1-SNAPSHOT</version>
<relativePath>..</relativePath> <relativePath>..</relativePath>
</parent> </parent>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-oauth2-resource-server</artifactId> <artifactId>spring-boot-starter-oauth2-resource-server</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId> <artifactId>spring-boot-starter-web</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.projectlombok</groupId> <groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId> <artifactId>lombok</artifactId>
<optional>true</optional> <optional>true</optional>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId> <artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.c4-soft.springaddons</groupId> <groupId>com.c4-soft.springaddons</groupId>
<artifactId>spring-addons-oauth2-test</artifactId> <artifactId>spring-addons-oauth2-test</artifactId>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
</dependencies> </dependencies>
<build> <build>
<plugins> <plugins>
<plugin> <plugin>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId> <artifactId>spring-boot-maven-plugin</artifactId>
<configuration> <configuration>
<excludes> <excludes>
<exclude> <exclude>
<groupId>org.projectlombok</groupId> <groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId> <artifactId>lombok</artifactId>
</exclude> </exclude>
</excludes> </excludes>
</configuration> </configuration>
</plugin> </plugin>
</plugins> </plugins>
</build> </build>
</project> </project>

View File

@ -1,15 +1,15 @@
{ {
"iss": "https://localhost:8443/realms/master", "iss": "https://localhost:8443/realms/master",
"sub": "281c4558-550c-413b-9972-2d2e5bde6b9b", "sub": "281c4558-550c-413b-9972-2d2e5bde6b9b",
"iat": 1695992542, "iat": 1695992542,
"exp": 1695992642, "exp": 1695992642,
"preferred_username": "ch4mpy", "preferred_username": "ch4mpy",
"realm_access": { "realm_access": {
"roles": [ "roles": [
"admin", "admin",
"ROLE_AUTHORIZED_PERSONNEL" "ROLE_AUTHORIZED_PERSONNEL"
] ]
}, },
"email": "ch4mp@c4-soft.com", "email": "ch4mp@c4-soft.com",
"scope": "openid email" "scope": "openid email"
} }

View File

@ -1,15 +1,15 @@
{ {
"iss": "https://localhost:8443/realms/master", "iss": "https://localhost:8443/realms/master",
"sub": "2d2e5bde6b9b-550c-413b-9972-281c4558", "sub": "2d2e5bde6b9b-550c-413b-9972-281c4558",
"iat": 1695992551, "iat": 1695992551,
"exp": 1695992651, "exp": 1695992651,
"preferred_username": "tonton-pirate", "preferred_username": "tonton-pirate",
"realm_access": { "realm_access": {
"roles": [ "roles": [
"uncle", "uncle",
"PIRATE" "PIRATE"
] ]
}, },
"email": "tonton-pirate@c4-soft.com", "email": "tonton-pirate@c4-soft.com",
"scope": "openid email" "scope": "openid email"
} }