diff options
author | Olivier Lamy <olamy@apache.org> | 2013-02-18 20:31:47 +0000 |
---|---|---|
committer | Olivier Lamy <olamy@apache.org> | 2013-02-18 20:31:47 +0000 |
commit | a20c40977674b97cb5bbf4caa2f2534be170e156 (patch) | |
tree | 8c8e18674c094e46bb1bed530ac07b46f7d76835 | |
parent | af232e9cf02577c634327c5ab6fc1f2d7c8082b2 (diff) | |
download | archiva-a20c40977674b97cb5bbf4caa2f2534be170e156.tar.gz archiva-a20c40977674b97cb5bbf4caa2f2534be170e156.zip |
align method names with bean name
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1447478 13f79535-47bb-0310-9956-ffa450edef68
2 files changed, 6 insertions, 8 deletions
diff --git a/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/services/RedbackRuntimeConfigurationService.java b/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/services/RedbackRuntimeConfigurationService.java index e18a49170..7cd0bea24 100644 --- a/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/services/RedbackRuntimeConfigurationService.java +++ b/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/services/RedbackRuntimeConfigurationService.java @@ -22,7 +22,7 @@ import org.apache.archiva.admin.model.beans.RedbackRuntimeConfiguration; import org.apache.archiva.admin.model.beans.LdapConfiguration; import org.apache.archiva.redback.authorization.RedbackAuthorization; import org.apache.archiva.rest.api.model.RBACManagerImplementationInformation; -import org.apache.archiva.rest.api.model.RedbackImplementationInformations; +import org.apache.archiva.rest.api.model.RedbackImplementationsInformations; import org.apache.archiva.rest.api.model.UserManagerImplementationInformation; import org.apache.archiva.security.common.ArchivaRoleConstants; @@ -72,11 +72,11 @@ public interface RedbackRuntimeConfigurationService throws ArchivaRestServiceException; - @Path("redbackImplementationInformations") + @Path("redbackImplementationsInformations") @GET @Produces({ MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML }) @RedbackAuthorization(permissions = ArchivaRoleConstants.OPERATION_MANAGE_CONFIGURATION) - RedbackImplementationInformations getRedbackImplementationInformations() + RedbackImplementationsInformations getRedbackImplementationsInformations() throws ArchivaRestServiceException; @Path( "checkLdapConnection" ) diff --git a/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/main/java/org/apache/archiva/rest/services/DefaultRedbackRuntimeConfigurationService.java b/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/main/java/org/apache/archiva/rest/services/DefaultRedbackRuntimeConfigurationService.java index a104f390a..0545452e7 100644 --- a/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/main/java/org/apache/archiva/rest/services/DefaultRedbackRuntimeConfigurationService.java +++ b/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/main/java/org/apache/archiva/rest/services/DefaultRedbackRuntimeConfigurationService.java @@ -19,7 +19,6 @@ package org.apache.archiva.rest.services; */ import org.apache.archiva.admin.model.RepositoryAdminException; -import org.apache.archiva.admin.model.beans.PropertyEntry; import org.apache.archiva.admin.model.beans.RedbackRuntimeConfiguration; import org.apache.archiva.admin.model.beans.LdapConfiguration; import org.apache.archiva.admin.model.runtime.RedbackRuntimeConfigurationAdmin; @@ -36,7 +35,7 @@ import org.apache.archiva.redback.policy.PasswordRule; import org.apache.archiva.redback.rbac.RBACManager; import org.apache.archiva.redback.users.UserManager; import org.apache.archiva.rest.api.model.RBACManagerImplementationInformation; -import org.apache.archiva.rest.api.model.RedbackImplementationInformations; +import org.apache.archiva.rest.api.model.RedbackImplementationsInformations; import org.apache.archiva.rest.api.model.UserManagerImplementationInformation; import org.apache.archiva.rest.api.services.ArchivaRestServiceException; import org.apache.archiva.rest.api.services.RedbackRuntimeConfigurationService; @@ -51,7 +50,6 @@ import javax.naming.InvalidNameException; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; -import java.util.Comparator; import java.util.List; import java.util.Map; import java.util.Properties; @@ -231,10 +229,10 @@ public class DefaultRedbackRuntimeConfigurationService return informations; } - public RedbackImplementationInformations getRedbackImplementationInformations() + public RedbackImplementationsInformations getRedbackImplementationsInformations() throws ArchivaRestServiceException { - return new RedbackImplementationInformations( getUserManagerImplementationInformations(), + return new RedbackImplementationsInformations( getUserManagerImplementationInformations(), getRbacManagerImplementationInformations() ); } |