-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[GEOS-8824] Factoring out a single user authentication converter
- Loading branch information
Showing
11 changed files
with
90 additions
and
154 deletions.
There are no files selected for viewing
19 changes: 0 additions & 19 deletions
19
...ode/src/main/java/org/geoserver/security/oauth2/services/GeoNodeAccessTokenConverter.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
...security/oauth2-geonode/src/test/java/org/geoserver/security/oauth2/SpringWiringTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
/* | ||
* (c) 2018 Open Source Geospatial Foundation - all rights reserved | ||
* This code is licensed under the GPL 2.0 license, available at the root | ||
* application directory. | ||
* | ||
*/ | ||
|
||
/* | ||
* (c) 2018 Open Source Geospatial Foundation - all rights reserved | ||
* This code is licensed under the GPL 2.0 license, available at the root | ||
* application directory. | ||
* | ||
*/ | ||
|
||
package org.geoserver.security.oauth2; | ||
|
||
import org.geoserver.data.test.SystemTestData; | ||
import org.geoserver.test.GeoServerSystemTestSupport; | ||
import org.junit.Test; | ||
|
||
public class SpringWiringTest extends GeoServerSystemTestSupport { | ||
|
||
@Override | ||
protected void setUpTestData(SystemTestData testData) throws Exception { | ||
// no test data to setup, this is a smoke test | ||
} | ||
|
||
@Test | ||
public void testStartup() { | ||
// nothing to do, just checks the beans are properly wired | ||
} | ||
} |
19 changes: 0 additions & 19 deletions
19
...thub/src/main/java/org/geoserver/security/oauth2/services/GitHubAccessTokenConverter.java
This file was deleted.
Oops, something went wrong.
48 changes: 0 additions & 48 deletions
48
...c/main/java/org/geoserver/security/oauth2/services/GitHubUserAuthenticationConverter.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
.../security/oauth2-github/src/test/java/org/geoserver/security/oauth2/SpringWiringTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
/* | ||
* (c) 2018 Open Source Geospatial Foundation - all rights reserved | ||
* This code is licensed under the GPL 2.0 license, available at the root | ||
* application directory. | ||
* | ||
*/ | ||
|
||
/* | ||
* (c) 2018 Open Source Geospatial Foundation - all rights reserved | ||
* This code is licensed under the GPL 2.0 license, available at the root | ||
* application directory. | ||
* | ||
*/ | ||
|
||
package org.geoserver.security.oauth2; | ||
|
||
import org.geoserver.data.test.SystemTestData; | ||
import org.geoserver.test.GeoServerSystemTestSupport; | ||
import org.junit.Test; | ||
|
||
public class SpringWiringTest extends GeoServerSystemTestSupport { | ||
|
||
@Override | ||
protected void setUpTestData(SystemTestData testData) throws Exception { | ||
// no test data to setup, this is a smoke test | ||
} | ||
|
||
@Test | ||
public void testStartup() { | ||
// nothing to do, just checks the beans are properly wired | ||
} | ||
} |
39 changes: 0 additions & 39 deletions
39
...c/main/java/org/geoserver/security/oauth2/services/GoogleUserAuthenticationConverter.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
.../security/oauth2-google/src/test/java/org/geoserver/security/oauth2/SpringWiringTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
/* | ||
* (c) 2018 Open Source Geospatial Foundation - all rights reserved | ||
* This code is licensed under the GPL 2.0 license, available at the root | ||
* application directory. | ||
* | ||
*/ | ||
|
||
package org.geoserver.security.oauth2; | ||
|
||
import org.geoserver.data.test.SystemTestData; | ||
import org.geoserver.test.GeoServerSystemTestSupport; | ||
import org.junit.Test; | ||
|
||
public class SpringWiringTest extends GeoServerSystemTestSupport { | ||
|
||
@Override | ||
protected void setUpTestData(SystemTestData testData) throws Exception { | ||
// no test data to setup, this is a smoke test | ||
} | ||
|
||
@Test | ||
public void testStartup() { | ||
// nothing to do, just checks the beans are properly wired | ||
} | ||
} |
File renamed without changes.