-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #73 from groldan/plain-spring-conditional-on-acl-e…
…nabled Centralize plain Spring configuration for the GeoServer Plugin in gs-acl-client-plugin
- Loading branch information
Showing
18 changed files
with
311 additions
and
106 deletions.
There are no files selected for viewing
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
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
19 changes: 0 additions & 19 deletions
19
src/plugin/accessmanager/src/main/resources/applicationContext.xml
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
19 changes: 0 additions & 19 deletions
19
src/plugin/client/src/main/resources/applicationContext.xml
This file was deleted.
Oops, something went wrong.
19 changes: 0 additions & 19 deletions
19
src/plugin/config/src/main/resources/applicationContext.xml
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
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
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
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
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
...ain/java/org/geoserver/acl/plugin/config/accessmanager/AclAccessManagerConfiguration.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) 2023 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.acl.plugin.config.accessmanager; | ||
|
||
import org.geoserver.acl.plugin.accessmanager.ACLResourceAccessManager; | ||
import org.geoserver.acl.plugin.config.configmanager.AclConfigurationManagerConfiguration; | ||
import org.geoserver.acl.plugin.config.domain.client.ApiClientAclDomainServicesConfiguration; | ||
import org.geoserver.security.ResourceAccessManager; | ||
import org.springframework.context.annotation.Configuration; | ||
import org.springframework.context.annotation.Import; | ||
|
||
/** | ||
* {@link Configuration @Configuration} for the GeoServer Access Control List {@link | ||
* ACLResourceAccessManager}. | ||
* | ||
* <p>{@link ACLResourceAccessManager} implements GeoServer {@link ResourceAccessManager} by | ||
* delegating resource access requests to the GeoServer ACL service. | ||
* | ||
* @since 1.0 | ||
* @see AclConfigurationManagerConfiguration | ||
* @see ApiClientAclDomainServicesConfiguration | ||
* @see AccessManagerSpringConfig | ||
*/ | ||
@Configuration | ||
@Import({ // | ||
AclConfigurationManagerConfiguration.class, // | ||
ApiClientAclDomainServicesConfiguration.class, // | ||
AccessManagerSpringConfig.class | ||
}) | ||
public class AclAccessManagerConfiguration {} |
Oops, something went wrong.