@Produces( { MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML, MediaType.TEXT_PLAIN } )
@RedbackAuthorization( permissions = RedbackRoleConstants.USER_MANAGEMENT_RBAC_ADMIN_OPERATION )
/**
- * @since 1.5
+ * @since 2.0
*/
List<Role> getAllRoles()
throws RedbackServiceException;
@Produces( { MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML, MediaType.TEXT_PLAIN } )
@RedbackAuthorization( permissions = RedbackRoleConstants.USER_MANAGEMENT_RBAC_ADMIN_OPERATION )
/**
- * @since 1.5
+ * @since 2.0
*/
List<Role> getDetailedAllRoles()
throws RedbackServiceException;
@Produces( { MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML, MediaType.TEXT_PLAIN } )
@RedbackAuthorization( permissions = RedbackRoleConstants.USER_MANAGEMENT_RBAC_ADMIN_OPERATION )
/**
- * @since 1.5
+ * @since 2.0
*/
List<Application> getApplications( @PathParam( "username" ) String username )
throws RedbackServiceException;
@Produces( { MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML, MediaType.TEXT_PLAIN } )
@RedbackAuthorization( permissions = RedbackRoleConstants.USER_MANAGEMENT_RBAC_ADMIN_OPERATION )
/**
- * @since 1.5
+ * @since 2.0
*/
Role getRole( @PathParam( "roleName" ) String roleName )
throws RedbackServiceException;
@Produces( { MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML, MediaType.TEXT_PLAIN } )
@RedbackAuthorization( permissions = RedbackRoleConstants.USER_MANAGEMENT_RBAC_ADMIN_OPERATION )
/**
- * @since 1.5
+ * @since 2.0
*/
Boolean updateRoleDescription( @QueryParam( "roleName" ) String roleName,
@QueryParam( "roleDescription" ) String description )
@RedbackAuthorization( permissions = RedbackRoleConstants.USER_MANAGEMENT_RBAC_ADMIN_OPERATION )
/**
* update users assigned to a role
- * @since 1.5
+ * @since 2.0
*/
Boolean updateRoleUsers( Role role )
throws RedbackServiceException;
@Produces( { MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML } )
@RedbackAuthorization( permissions = RedbackRoleConstants.USER_MANAGEMENT_RBAC_ADMIN_OPERATION )
/**
- * @since 1.5
+ * @since 2.0
*/
List<ApplicationRoles> getApplicationRoles( @PathParam( "username" ) String username )
throws RedbackServiceException;
@RedbackAuthorization( permissions = RedbackRoleConstants.USER_MANAGEMENT_RBAC_ADMIN_OPERATION )
/**
* update roles assigned to a user
- * @since 1.5
+ * @since 2.0
*/
Boolean updateUserRoles( User user )
throws RedbackServiceException;
@Produces( { MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML, MediaType.TEXT_PLAIN } )
@RedbackAuthorization( permissions = RedbackRoleConstants.USER_MANAGEMENT_USER_EDIT_OPERATION )
/**
- * @since 1.5
+ * @since 2.0
*/
Boolean lockUser( @PathParam( "username" ) String username )
throws RedbackServiceException;
@Produces( { MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML, MediaType.TEXT_PLAIN } )
@RedbackAuthorization( permissions = RedbackRoleConstants.USER_MANAGEMENT_USER_EDIT_OPERATION )
/**
- * @since 1.5
+ * @since 2.0
*/
Boolean unlockUser( @PathParam( "username" ) String username )
throws RedbackServiceException;
@Produces( { MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML, MediaType.TEXT_PLAIN } )
@RedbackAuthorization( permissions = RedbackRoleConstants.USER_MANAGEMENT_USER_EDIT_OPERATION )
/**
- * @since 1.5
+ * @since 2.0
*/
Boolean passwordChangeRequired( @PathParam( "username" ) String username )
throws RedbackServiceException;
@Produces( { MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML, MediaType.TEXT_PLAIN } )
@RedbackAuthorization( permissions = RedbackRoleConstants.USER_MANAGEMENT_USER_EDIT_OPERATION )
/**
- * @since 1.5
+ * @since 2.0
*/
Boolean passwordChangeNotRequired( @PathParam( "username" ) String username )
throws RedbackServiceException;