@since 1.5 is now @since 2.0

git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1324841 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2012-04-11 16:16:57 +00:00
parent 5d696d5de2
commit 17800b2d55
7 changed files with 17 additions and 17 deletions

View File

@ -49,7 +49,7 @@ import java.util.Properties;
/** /**
* @author Olivier Lamy * @author Olivier Lamy
* @since 1.5 * @since 2.0
*/ */
@Service( "AdminAutoCreateCheck" ) @Service( "AdminAutoCreateCheck" )
public class AdminAutoCreateCheck public class AdminAutoCreateCheck

View File

@ -25,7 +25,7 @@ import java.util.Collection;
/** /**
* @author Olivier Lamy * @author Olivier Lamy
* @since 1.5 * @since 2.0
*/ */
@XmlRootElement( name = "applicationRole" ) @XmlRootElement( name = "applicationRole" )
public class ApplicationRoles public class ApplicationRoles

View File

@ -24,7 +24,7 @@ import java.util.List;
/** /**
* @author Olivier Lamy * @author Olivier Lamy
* @since 1.5 * @since 2.0
*/ */
@XmlRootElement( name = "roleTemplate" ) @XmlRootElement( name = "roleTemplate" )
public class RoleTemplate public class RoleTemplate

View File

@ -64,7 +64,7 @@ public class User
/** /**
* for roles update only <b>not return on user read</b> * for roles update only <b>not return on user read</b>
* *
* @since 1.5 * @since 2.0
*/ */
private List<String> assignedRoles; private List<String> assignedRoles;

View File

@ -224,7 +224,7 @@ public interface RoleManagementService
@Produces( { MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML, MediaType.TEXT_PLAIN } ) @Produces( { MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML, MediaType.TEXT_PLAIN } )
@RedbackAuthorization( permissions = RedbackRoleConstants.USER_MANAGEMENT_RBAC_ADMIN_OPERATION ) @RedbackAuthorization( permissions = RedbackRoleConstants.USER_MANAGEMENT_RBAC_ADMIN_OPERATION )
/** /**
* @since 1.5 * @since 2.0
*/ */
List<Role> getAllRoles() List<Role> getAllRoles()
throws RedbackServiceException; throws RedbackServiceException;
@ -234,7 +234,7 @@ public interface RoleManagementService
@Produces( { MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML, MediaType.TEXT_PLAIN } ) @Produces( { MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML, MediaType.TEXT_PLAIN } )
@RedbackAuthorization( permissions = RedbackRoleConstants.USER_MANAGEMENT_RBAC_ADMIN_OPERATION ) @RedbackAuthorization( permissions = RedbackRoleConstants.USER_MANAGEMENT_RBAC_ADMIN_OPERATION )
/** /**
* @since 1.5 * @since 2.0
*/ */
List<Role> getDetailedAllRoles() List<Role> getDetailedAllRoles()
throws RedbackServiceException; throws RedbackServiceException;
@ -245,7 +245,7 @@ public interface RoleManagementService
@Produces( { MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML, MediaType.TEXT_PLAIN } ) @Produces( { MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML, MediaType.TEXT_PLAIN } )
@RedbackAuthorization( permissions = RedbackRoleConstants.USER_MANAGEMENT_RBAC_ADMIN_OPERATION ) @RedbackAuthorization( permissions = RedbackRoleConstants.USER_MANAGEMENT_RBAC_ADMIN_OPERATION )
/** /**
* @since 1.5 * @since 2.0
*/ */
List<Application> getApplications( @PathParam( "username" ) String username ) List<Application> getApplications( @PathParam( "username" ) String username )
throws RedbackServiceException; throws RedbackServiceException;
@ -256,7 +256,7 @@ public interface RoleManagementService
@Produces( { MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML, MediaType.TEXT_PLAIN } ) @Produces( { MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML, MediaType.TEXT_PLAIN } )
@RedbackAuthorization( permissions = RedbackRoleConstants.USER_MANAGEMENT_RBAC_ADMIN_OPERATION ) @RedbackAuthorization( permissions = RedbackRoleConstants.USER_MANAGEMENT_RBAC_ADMIN_OPERATION )
/** /**
* @since 1.5 * @since 2.0
*/ */
Role getRole( @PathParam( "roleName" ) String roleName ) Role getRole( @PathParam( "roleName" ) String roleName )
throws RedbackServiceException; throws RedbackServiceException;
@ -266,7 +266,7 @@ public interface RoleManagementService
@Produces( { MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML, MediaType.TEXT_PLAIN } ) @Produces( { MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML, MediaType.TEXT_PLAIN } )
@RedbackAuthorization( permissions = RedbackRoleConstants.USER_MANAGEMENT_RBAC_ADMIN_OPERATION ) @RedbackAuthorization( permissions = RedbackRoleConstants.USER_MANAGEMENT_RBAC_ADMIN_OPERATION )
/** /**
* @since 1.5 * @since 2.0
*/ */
Boolean updateRoleDescription( @QueryParam( "roleName" ) String roleName, Boolean updateRoleDescription( @QueryParam( "roleName" ) String roleName,
@QueryParam( "roleDescription" ) String description ) @QueryParam( "roleDescription" ) String description )
@ -279,7 +279,7 @@ public interface RoleManagementService
@RedbackAuthorization( permissions = RedbackRoleConstants.USER_MANAGEMENT_RBAC_ADMIN_OPERATION ) @RedbackAuthorization( permissions = RedbackRoleConstants.USER_MANAGEMENT_RBAC_ADMIN_OPERATION )
/** /**
* update users assigned to a role * update users assigned to a role
* @since 1.5 * @since 2.0
*/ */
Boolean updateRoleUsers( Role role ) Boolean updateRoleUsers( Role role )
throws RedbackServiceException; throws RedbackServiceException;
@ -289,7 +289,7 @@ public interface RoleManagementService
@Produces( { MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML } ) @Produces( { MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML } )
@RedbackAuthorization( permissions = RedbackRoleConstants.USER_MANAGEMENT_RBAC_ADMIN_OPERATION ) @RedbackAuthorization( permissions = RedbackRoleConstants.USER_MANAGEMENT_RBAC_ADMIN_OPERATION )
/** /**
* @since 1.5 * @since 2.0
*/ */
List<ApplicationRoles> getApplicationRoles( @PathParam( "username" ) String username ) List<ApplicationRoles> getApplicationRoles( @PathParam( "username" ) String username )
throws RedbackServiceException; throws RedbackServiceException;
@ -301,7 +301,7 @@ public interface RoleManagementService
@RedbackAuthorization( permissions = RedbackRoleConstants.USER_MANAGEMENT_RBAC_ADMIN_OPERATION ) @RedbackAuthorization( permissions = RedbackRoleConstants.USER_MANAGEMENT_RBAC_ADMIN_OPERATION )
/** /**
* update roles assigned to a user * update roles assigned to a user
* @since 1.5 * @since 2.0
*/ */
Boolean updateUserRoles( User user ) Boolean updateUserRoles( User user )
throws RedbackServiceException; throws RedbackServiceException;

View File

@ -101,7 +101,7 @@ public interface UserService
@Produces( { MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML, MediaType.TEXT_PLAIN } ) @Produces( { MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML, MediaType.TEXT_PLAIN } )
@RedbackAuthorization( permissions = RedbackRoleConstants.USER_MANAGEMENT_USER_EDIT_OPERATION ) @RedbackAuthorization( permissions = RedbackRoleConstants.USER_MANAGEMENT_USER_EDIT_OPERATION )
/** /**
* @since 1.5 * @since 2.0
*/ */
Boolean lockUser( @PathParam( "username" ) String username ) Boolean lockUser( @PathParam( "username" ) String username )
throws RedbackServiceException; throws RedbackServiceException;
@ -111,7 +111,7 @@ public interface UserService
@Produces( { MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML, MediaType.TEXT_PLAIN } ) @Produces( { MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML, MediaType.TEXT_PLAIN } )
@RedbackAuthorization( permissions = RedbackRoleConstants.USER_MANAGEMENT_USER_EDIT_OPERATION ) @RedbackAuthorization( permissions = RedbackRoleConstants.USER_MANAGEMENT_USER_EDIT_OPERATION )
/** /**
* @since 1.5 * @since 2.0
*/ */
Boolean unlockUser( @PathParam( "username" ) String username ) Boolean unlockUser( @PathParam( "username" ) String username )
throws RedbackServiceException; throws RedbackServiceException;
@ -122,7 +122,7 @@ public interface UserService
@Produces( { MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML, MediaType.TEXT_PLAIN } ) @Produces( { MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML, MediaType.TEXT_PLAIN } )
@RedbackAuthorization( permissions = RedbackRoleConstants.USER_MANAGEMENT_USER_EDIT_OPERATION ) @RedbackAuthorization( permissions = RedbackRoleConstants.USER_MANAGEMENT_USER_EDIT_OPERATION )
/** /**
* @since 1.5 * @since 2.0
*/ */
Boolean passwordChangeRequired( @PathParam( "username" ) String username ) Boolean passwordChangeRequired( @PathParam( "username" ) String username )
throws RedbackServiceException; throws RedbackServiceException;
@ -132,7 +132,7 @@ public interface UserService
@Produces( { MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML, MediaType.TEXT_PLAIN } ) @Produces( { MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML, MediaType.TEXT_PLAIN } )
@RedbackAuthorization( permissions = RedbackRoleConstants.USER_MANAGEMENT_USER_EDIT_OPERATION ) @RedbackAuthorization( permissions = RedbackRoleConstants.USER_MANAGEMENT_USER_EDIT_OPERATION )
/** /**
* @since 1.5 * @since 2.0
*/ */
Boolean passwordChangeNotRequired( @PathParam( "username" ) String username ) Boolean passwordChangeNotRequired( @PathParam( "username" ) String username )
throws RedbackServiceException; throws RedbackServiceException;

View File

@ -30,7 +30,7 @@ import javax.inject.Inject;
* to setup some ObjectMapper configuration * to setup some ObjectMapper configuration
* *
* @author Olivier Lamy * @author Olivier Lamy
* @since 1.5 * @since 2.0
*/ */
@Service("redbackJacksonJsonConfigurator") @Service("redbackJacksonJsonConfigurator")
public class JacksonJsonConfigurator public class JacksonJsonConfigurator